Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: ollydbg on December 26, 2008, 08:10:05 am
-
I'm in windows xp.
hi, I download the svn version of codeblocks source file. and open the CBP file. I have already set the wx variable to the place I have install the wxWidgets 2.8.9.
when I press the build button, there are some errors when compiling.
see the screen shot below.
Any suggestions?
Another question is if I want to only build the "codecompletion" part, how do I configure? Thanks :D
[attachment deleted by admin]
-
I have solve the problem, I rebuild the release unicode libraray of wxWidgets.
By the way, I add many pictures of the screen shot in this wiki
http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows
If you have interests, please try to enrich this wiki. Thanks.
-
Hi ollydgb,
does that mean I need a 'complete' mingw installation
and that the version delivered with C::B isn't sufficient?
I think my installation ..\CodeBlocks\MinGW\bin\ lacks something (mkdir)?
D:\wxWidgets-2.8.9\build\msw>mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1
UNICODE=1 BUILD=release
if not exist gcc_mswudll mkdir gcc_mswudll
process_begin: CreateProcess(NULL, -c "if not exist gcc_mswudll mkdir gcc_mswudl
l", ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.
mingw32-make: [gcc_mswudll] Error 2 (ignored)
if not exist ..\..\lib\gcc_dll mkdir ..\..\lib\gcc_dll
process_begin: CreateProcess(NULL, -c "if not exist ..\..\lib\gcc_dll mkdir ..\.
.\lib\gcc_dll", ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.
mingw32-make: *** [..\..\lib\gcc_dll] Error 2
-
Sorry, I can't understand your question...Could you give a more detail? Thanks.
-
Hi ollydgb,
does that mean I need a 'complete' mingw installation
and that the version delivered with C::B isn't sufficient?
I think my installation ..\CodeBlocks\MinGW\bin\ lacks something (mkdir)?
D:\wxWidgets-2.8.9\build\msw>mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1
UNICODE=1 BUILD=release
if not exist gcc_mswudll mkdir gcc_mswudll
process_begin: CreateProcess(NULL, -c "if not exist gcc_mswudll mkdir gcc_mswudl
l", ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.
mingw32-make: [gcc_mswudll] Error 2 (ignored)
if not exist ..\..\lib\gcc_dll mkdir ..\..\lib\gcc_dll
process_begin: CreateProcess(NULL, -c "if not exist ..\..\lib\gcc_dll mkdir ..\.
.\lib\gcc_dll", ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.
mingw32-make: *** [..\..\lib\gcc_dll] Error 2
If I remember right, this error is caused by an errornous version of MinGW's binutils.
I do not remember which one it was, but you can try it with a more recent one.
-
Hi ollydgb,
does that mean I need a 'complete' mingw installation
and that the version delivered with C::B isn't sufficient?
I think my installation ..\CodeBlocks\MinGW\bin\ lacks something (mkdir)?
D:\wxWidgets-2.8.9\build\msw>mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1
UNICODE=1 BUILD=release
if not exist gcc_mswudll mkdir gcc_mswudll
process_begin: CreateProcess(NULL, -c "if not exist gcc_mswudll mkdir gcc_mswudl
l", ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.
mingw32-make: [gcc_mswudll] Error 2 (ignored)
if not exist ..\..\lib\gcc_dll mkdir ..\..\lib\gcc_dll
process_begin: CreateProcess(NULL, -c "if not exist ..\..\lib\gcc_dll mkdir ..\.
.\lib\gcc_dll", ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.
mingw32-make: *** [..\..\lib\gcc_dll] Error 2
Hi,
I have come across this situation.
I guess you have a yagarto (or other toolchain) and set global environment variables for it.
you need clear the global environment variables in the winxp and be sure one(MinGW) in your system.
Or you can find dependency between toolchains without clear environment variables.
Best regards.
-
I guess you have a yagarto (or other toolchain) and set global environment variables for it
Yep!
Though I thought the tools know whom they belong to,
and when I invoke with make-mingw32.exe it takes the right gcc.
Anyway, will try without Yagarto in the path.
-
Hi ollydgb,
does that mean I need a 'complete' mingw installation
and that the version delivered with C::B isn't sufficient?
I think my installation ..\CodeBlocks\MinGW\bin\ lacks something (mkdir)?
D:\wxWidgets-2.8.9\build\msw>mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1
UNICODE=1 BUILD=release
if not exist gcc_mswudll mkdir gcc_mswudll
process_begin: CreateProcess(NULL, -c "if not exist gcc_mswudll mkdir gcc_mswudl
l", ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.
mingw32-make: [gcc_mswudll] Error 2 (ignored)
if not exist ..\..\lib\gcc_dll mkdir ..\..\lib\gcc_dll
process_begin: CreateProcess(NULL, -c "if not exist ..\..\lib\gcc_dll mkdir ..\.
.\lib\gcc_dll", ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.
mingw32-make: *** [..\..\lib\gcc_dll] Error 2
Hi,
I have come across this situation.
I guess you have a yagarto (or other toolchain) and set global environment variables for it.
you need clear the global environment variables in the winxp and be sure one(MinGW) in your system.
Or you can find dependency between toolchains without clear environment variables.
Best regards.
THX,
I just got stuck for this reason.
as what you've said about,I deleted the environment variables for winavr,which includes the avr-gcc.
then it works!