Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
[Windows] precompiled wxWidgets in next release
Alexis:
--- Quote ---Ok, here are the precompiled versions:
--- End quote ---
Good job !
But I would also have done the following :
* Create a setup.exe
* Add Code::Blocks and MingGW in the setup
* During installation set the path in C::B directly (see in readme.txt, second step of INSTALL)
You would thus have something very straightforward (excellent for beginners!), like what you can see in wxDevCpp.
Regards,
inventore123:
Well, I think there's still a problem:
to make the installation cleaner, it would be better to move the wx folder inside C::B's folder like MinGW.
However, if you move wx folder in a path that contains spaces, like
"C:\Program files\Codeblocks" it no longer works.
It's true that wxWidgets won't compile in a path with spaces, but once compiled should no longer have problems, instead it still doesn't work :(
I made a test with a makefile project and it did work even in a path with spaces, so it seems it's a bug of C::B
Any idea how to solve the bug? If someone can find a solution it would be possible to make a "Codeblocks" folder with all the IDE files and folders, plus two subfolders: "MinGW" and "wxWidgets". Once we have that, it would be easy to pack everything in a Setup.exe, perfect for beginners.
It would even be posible to install it on a USB key 8)
MortenMacFly:
--- Quote from: Alexis on July 10, 2008, 03:06:20 pm ---But I would also have done the following :
--- End quote ---
I would like peace in the world.
I really can't believe you say so... why don't you do what you want yourself? You make me feel like a slave. Anything else you want us to do...?! :?
inventore123:
--- Quote ---I really can't believe you say so...
--- End quote ---
Well, I dont't know who Alexis is, but to me it does not seem to be a noob that wants other to do his homework. It seems another one, like me, that was surprised in finding that the release of C::B included wxSmith, but not wxWidgets, and thinks that a 'plug and play' release will attract more users to this good IDE.
Anyway, can someone explain me why, if I move the wx folder in "C:\Program files\Codeblocks" (a path with one space), I can't compile anything? Here are the errors:
Build messages:
--- Code: ---wx/msw/wx.rc: No such file or directory
can't open icon file `wx/msw/std.ico': Invalid argument
preprocessing failed.
=== Build finished: 3 errors, 0 warnings ===
--- End code ---
Build log:
--- Code: ---Compiling: resource.rc
C:\DOCUME~1\fede\MYDOCU~1\CODEBL~1\dll_test\resource.rc:3:24: wx/msw/wx.rc: No such file or directory
gcc: Files\CodeBlocks\wxWidgets-2.8.8\include: No such file or directory
gcc: Files\CodeBlocks\wxWidgets-2.8.8\lib\gcc_dll\mswu: No such file or directory
windres.exe: can't open icon file `wx/msw/std.ico': Invalid argument
windres.exe: preprocessing failed.
Process terminated with status 1 (0 minutes, 0 seconds)
3 errors, 0 warnings
--- End code ---
It looks like the path "C:\Program Files\CodeBlocks\wxWidgets-2.8.8\include" becomes for some reason
"Files\CodeBlocks\wxWidgets-2.8.8\include". I'm using C::B 8.02 on win XP.
Alexis:
--- Quote ---I would like peace in the world.
--- End quote ---
Peace with you, MortenMacFly.
--- Quote ---I really can't believe you say so... why don't you do what you want yourself ? You make me feel like a slave. Anything else you want us to do...?!
--- End quote ---
I'm afraid you don't get the point. I've been knowing how to setup my wx/CB environment on WinXP and Linux for a while.
What is doing inventore123 is useless for me. But will be very useful for noobs.
I think his project is a very good idea and I'm only giving my suggestions to make it better. I'm busy on other projects and I haven't the time to do it myself.
--- Quote ---Well, I dont't know who Alexis is, but to me it does not seem to be a noob that wants other to do his homework. It seems another one, like me, that was surprised in finding that the release of C::B included wxSmith, but not wxWidgets, and thinks that a 'plug and play' release will attract more users to this good IDE.
--- End quote ---
EXACTLY ! This is exactly my situation.
--- Quote ---Anyway, can someone explain me why, if I move the wx folder in "C:\Program files\Codeblocks" (a path with one space), I can't compile anything? Here are the errors:
--- End quote ---
inventore123, what is your toolchain, and where is it installed ?
I am using C::B 5010 on WinXP SP2. The install directory is C:\Program Files\CodeBlocks.
The toolchain is MinGW-5.1.3. It is installed in C:\MinGW. Everything works well for me.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version