Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: ollydbg on December 26, 2008, 08:10:05 am

Title: build codeblocks error when using SVN version and wxWidgets 2.8.9
Post 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]
Title: Re: build codeblocks error when using SVN version and wxWidgets 2.8.9
Post by: ollydbg on December 26, 2008, 02:35:33 pm
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.
Title: Re: build codeblocks error when using SVN version and wxWidgets 2.8.9
Post by: Joerg on January 20, 2009, 02:50:45 pm
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
Title: Re: build codeblocks error when using SVN version and wxWidgets 2.8.9
Post by: ollydbg on January 20, 2009, 03:20:29 pm
Sorry, I can't understand your question...Could you give a more detail? Thanks.
Title: Re: build codeblocks error when using SVN version and wxWidgets 2.8.9
Post by: Jenna on January 20, 2009, 04:04:07 pm
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.
Title: Re: build codeblocks error when using SVN version and wxWidgets 2.8.9
Post by: mmkider on January 20, 2009, 04:27:53 pm
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.
Title: Re: build codeblocks error when using SVN version and wxWidgets 2.8.9
Post by: Joerg on January 20, 2009, 05:11:47 pm
Quote
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.
Title: Re: build codeblocks error when using SVN version and wxWidgets 2.8.9
Post by: pingf on March 14, 2009, 03:00:30 pm
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!