User forums > Help
Compiling Problem
(1/1)
Knx:
--- Quote ---First, make sure C:\MingGW\bin is in your path, during the build some programs will be called that reside in the the MinGW\bin directory. Also, Make has to be version 3.80 or above. [...]
--- End quote ---
--- Code: ---cd <wxDir>\build\msw
--- End code ---
OK
--- Code: ---mingw32-make -f makefile.gcc SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 clean
--- End code ---
OK
--- Code: ---mingw32-make -f makefile.gcc SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1
--- End code ---
ERROR
--- Code: ---gcc: installation problem, cannot exec `cc1': No such file or directory
mingw32-make: *** [gcc_mswudll\wxregex_regcomp.o] Error 1
--- End code ---
I'm having this problem when I try to compile wxWidgets 2.6.3-1...
What's wrong? I've set %PATH% to hold MingW\bin ...
make version = 5.2
stahta01:
--- Quote from: Knx on March 17, 2007, 07:27:18 pm ---
--- Quote ---First, make sure C:\MingGW\bin is in your path, during the build some programs will be called that reside in the the MinGW\bin directory. Also, Make has to be version 3.80 or above. [...]
--- End quote ---
I'm having this problem when I try to compile wxWidgets 2.6.3-1...
What's wrong? I've set %PATH% to hold MingW\bin ...
make version = 5.2
--- End quote ---
Make version being 5.2 is wrong, make for minGW is normally 3.79, 3.79.1, 3.80, 3.81 any other values mean you don't know how to get the value or your make is not a recent minGW make (as in last few years.)
The best way to check minGW make version
--- Code: ---mingw32-make.exe --version
--- End code ---
--- Code: ---GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
--- End code ---
The common way to check minGW make version, in my case it uses my MSys make which is 3.79.1
Note: Having MSys or Cygwin installed can cause issues building wxWidgets using makefiles.
--- Code: ---make --version
--- End code ---
--- Code: ---GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i686-pc-msys
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
--- End code ---
--- Quote from: Knx on March 17, 2007, 07:27:18 pm ---
--- Code: ---cd <wxDir>\build\msw
--- End code ---
OK
--- End quote ---
After cd command and before mingw32-make.exe command Add
--- Code: ---SET PATH=C:\MingGW\bin;C:\MingGW\mingw32\bin
--- End code ---
Note: I am assigning a new short value to PATH to avoid issues with others software you have installed, this is the best way to build wxWidgets as per the C::B wiki as of the last time I read/updated it.
I am creating a wiki page to build 2.6.3
http://wiki.codeblocks.org/index.php?title=Compiling_wxWidgets_2.6.3_to_develop_Code::Blocks_%28MSW%29#Checking_make_version
If you want I can use you to help verify it.
Tim S
Knx:
I don't know why I wrote 5.2...
--- Code: ---GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
--- End code ---
I don't know why... It just worked now.
Well... Thanks! :D
Navigation
[0] Message Index
Go to full version