User forums > Help
install wxwidgets 2.6.1
Profic:
Seems I understand what is going here.
Make sure gcc.exe is not somewhere else in your %path% except C:\Program Files\CodeBlocks\bin
The only way I can get this error is to copy single gcc.exe to some directory and call it from there.
If there is none try to do the following as last resort:
--- Code: ---echo int main() { return 0; } > dummy.c
gcc --verbose -o dummy dummy.c
--- End code ---
and show full output. But I don't think this will be helpfull, but who knows...
pjk:
I seem to remember that mingw32 should be installed to a directory that does not contain spaces in the path. I always avoid"Program Files" for this reason. I am not sure what symptoms are exhibited by incorrect installation or if this applies to the codeblocks install but try installing to C:\codeblocks or similar.
thomas:
Do you have cygwin on your computer? In that case, it may be that you are actually invoking the wrong make. I once had that, took me three days to find out. This produces the exact same error message.
Apart from that, I always deem it a good idea to have MinGW installed in C:\mingw. Keep everything as simple and clear as possible (it gets complicated on its own).
One installation, and only one. No complicated pathnames, no ambiguous stuff.
Then, before you call make, you should type:
--- Code: ---set path=C:\mingw;C:\mingw\mingw32
--- End code ---
so there are no questions about your path, either. wxWidgets is still a hideous beast, and it can still fail to compile, but it is less likely if you have eliminated all the obvious troublemakers.
tiwag:
--- Quote from: thomas on August 23, 2005, 09:53:24 am ---...Then, before you call make, you should type:
--- Code: ---set path=C:\mingw;C:\mingw\mingw32
--- End code ---
...
--- End quote ---
sorry but i think this isn't correct: if "C:\MinGW" is the install directory, then
it should read more like
--- Code: ---set path=C:\MinGW\bin;%PATH%
--- End code ---
that is what i do with a patchfile called "envgcc.bat" (set environment for gcc)
and works perfectly since years. actually i use MinGW gcc 3.4.4, make 3.8.0
ThomasG:
Hi,
I know it's not exactly the right forum to ask, but since we went so far, what has to be in the path variable to get MinGW32 working?
@tiwag
could you post your "envgcc.bat" file or send it to me via email?
Thanks,
Thomas
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version