添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
淡定的跑步鞋  ·  Linux From Scratch ...·  3 周前    · 
冷冷的洋葱  ·  GCC compile error on ...·  2 周前    · 
文雅的开水瓶  ·  warning: relocation ...·  2 周前    · 
成熟的充电器  ·  上海科普网·  1 月前    · 
知识渊博的感冒药  ·  冰雪奇缘 Frozen ...·  3 月前    · 
发呆的生姜  ·  OpenIM Official·  8 月前    · 
Hi together,
I think I have a similar problem like this but the solution didn't help me because I could not find a msys in the PATH.
Ok but one thing after the other:
My first try was downloading the Code::Blocks installer with included MinGW (Computer is a WinXP SP2).
I installed Code::Blocks and compiled a litte porgram with succes!
Then I downloaded the "wxMSW-2.8.9-Setup.exe" and extracted it on the disk and followed
this * instructions.
But when I'm at the point to clean up the source I get lots of errors like this (this is only a part of it...)

Code: Select all

process_begin: CreateProcess(NULL, -c "if exist gcc_mswudll\*.o del gcc_mswudll\*.o", ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.
mingw32-make: [clean] Error 2 (ignored)
process_begin: CreateProcess(NULL, -c "if exist gcc_mswudll\*.d del gcc_mswudll\*.d", ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.
mingw32-make: [clean] Error 2 (ignored)
process_begin: CreateProcess(NULL, -c "if exist ..\..\lib\gcc_dll\libwxregexu.a del ..\..\lib\gcc_dll\libwxregexu.a", ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.
mingw32-make: [clean] Error 2 (ignored)
process_begin: CreateProcess(NULL, -c "if exist ..\..\lib\gcc_dll\libwxzlib.a del ..\..\lib\gcc_dll\libwxzlib.a", ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.
mingw32-make: [clean] Error 2 (ignored)
process_begin: CreateProcess(NULL, -c "if exist ..\..\lib\gcc_dll\libwxpng.a del ..\..\lib\gcc_dll\libwxpng.a", ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.
So I thought "ok you can't find the files as they are not there" - so next step.
But there I get nearly the same errors:

Code: Select all

process_begin: CreateProcess(NULL, -c "if not exist gcc_mswudll mkdir gcc_mswudll", ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.
mingw32-make: [gcc_mswudll] Error 2 (ignored)
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
I also tried lots of other tutorials for compiling the source but its always the same.
Then I thought perhaps there is something wrong with MinGW and deinstalled everything and installed MinGW and C::B sperately (this time C::B without MinGW).
To test if everything is ok I compiled again a litte program with success.
But when I'm trying to compile wxWidgets I get the same thing as before - and I don't know what else I can do (it couldn't be so hard to follow the HowTo?!).
What am I doing wrong?
Sorry for the link - I don't know why the system did not get it?!
I had similar messages which disappeared after I added the
parameter 'SHELL=%COMSPEC%' to the commandline.
Hope this helps and with regards
I had the OP's problem, and that's got me one step further on the way:
I'm using the command line:
C:\wxWidgets-2.8.9\build\msw> mingw32-make.exe -f makefile.gcc clean USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 PATH=%COMSPEC%
which I got from the WxWidgets wiki.
Now I'm getting it run through cleaning up directories until:
'mingw32-make.exe' is not recognized as an internal or external command, operable program or batch file.
mingw32-make.exe: *** [clean] Error 1
The first entry in my path is c:\codeblocks\MinGW\bin, and mingw32-make executes from the command line. It looks as though the path is not seen from within make.
Any help much appreciated!

Code: Select all

C:\wxWidgets-2.8.9\build\msw> PATH = C:\MinGW\bin
(location of MinGW)
then (in the same command prompt of course)

Code: Select all

C:\wxWidgets-2.8.9\build\msw> mingw32-make.exe -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0
Compilation works normally.
  • ↳   Compiler / Linking / IDE Related
  • ↳   Platform Related Issues
  • wxWidgets Specialized Forums
  • ↳   wxDev-C++
  • ↳   wx.NET
  • ↳   The Code Dump
  • ↳   wxCode
  • General Forums
  • ↳   General Development
  • ↳   Announcements and Discoveries
  • ↳   Open Discussion
  • ↳   Database Related
  • International Forums
  • ↳   wxWidgets Development (French)
  • ↳   wxWidgets Development (Chinese)
  • ↳   wxWidgets Development (Russian)
  •