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 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!