User forums > Help
install wxwidgets 2.6.1
sheph:
I have a problem trying to compile wxWidgets 2.6.1 with Code::Blocks/MinGW integrated package.
I always get an error telling "gcc: installation problem, cannot exec 'cc1'
What's wrong with my setup as I only installed C::B and MinGW together ?
Thanks
Error message i get:
D:\Programmer\wx\build\msw>make -f makefile.gcc BUILD=release
if not exist gcc_msw mkdir gcc_msw
if not exist ..\..\lib\gcc_lib\msw mkdir ..\..\lib\gcc_lib\msw
if not exist ..\..\lib\gcc_lib\msw\wx mkdir ..\..\lib\gcc_lib\msw\wx
if not exist ..\..\lib\gcc_lib\msw\wx\setup.h copy ..\..\include\wx\msw\setup.h
..\..\lib\gcc_lib\msw\wx\setup.h
1 fil(er) kopieret.
gcc -c -o gcc_msw\wxregex_regcomp.o -O2 -mthreads -DHAVE_W32API_H -I..\..\incl
ude -I..\..\lib\gcc_lib\msw -D__WXMSW__ ../../src/regex/regcomp.c
gcc: installation problem, cannot exec `cc1': No such file or directory
d:\programmer\codeblocks\bin\make.exe: *** [gcc_msw\wxregex_regcomp.o] Error 1
EDIT:
have the same problem with mingw32-make
ThomasG:
Hi,
I have the same problem. Googled a lot, but couldn't find a thing.
Is there a way to find out where make is looking for cc1.exe? I guess it's simply looking in the wrong directory, because i found the cc1.exe file in C:\Program Files\CodeBlocks\libexec\gcc\mingw32\3.4.4.
Regards,
Thomas
David Perfors:
then you should add the directory to the path. than it should work
ThomasG:
I added the path to my PATH variable. But still the same issue.
I call the cc1.exe file from my home directory, and it gives the following:
--- Code: ---C:\Documents and Settings\Thomas>cc1.exe -v
ignoring nonexistent directory "/mingw/include"
ignoring nonexistent directory "/mingw/include"
ignoring nonexistent directory "/mingw/lib/gcc/mingw32/3.4.4/include"
ignoring nonexistent directory "/mingw/mingw32/include"
ignoring nonexistent directory "/mingw/include"
#include "..." search starts here:
#include <...> search starts here:
End of search list.
--- End code ---
That tells me the path is setup correctly to cc1.exe but I'm missing something else. What is in these directories? How come they are not intalled?
Thanks,
Thomas
David Perfors:
In those directories you will find header files.. could you find it on you're harddisk? if not, I think you should install mingw by yourself...
Navigation
[0] Message Index
[#] Next page
Go to full version