添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
迷茫的仙人掌  ·  Huawei EG8010H ONT ...·  1 月前    · 
大方的香烟  ·  error: command ...·  5 月前    · 
纯真的冲锋衣  ·  VBA .SaveAs to ...·  5 月前    · 
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]
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 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.
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!