User forums > Using Code::Blocks
wxWidgets Setup ... Wizard no longer working.
JSThePatriot:
I had wxWidgets working on one of the nightly builds, (I no longer remember which one) and now since I upgraded a couple of weeks ago I can no longer use wxWidgets.
The Build Log I get while trying to compile the simple wizard files is as follows.
--- Quote ----------------- Build: Release in wxTesting ---------------
Precompiling header: wx_pch.h
cc1plus.exe: C:\wx: No such file or directory
cc1plus.exe: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.mingw.org/bugs.shtml> for instructions.
mingw32-g++.exe: C:\wx: linker input file unused because linking not done
Process terminated with status 1 (0 minutes, 1 seconds)
0 errors, 0 warnings
--- End quote ---
The C:\wx directory does exist. I have compiled the hello world application before the update. I have re-setup all of the proper variables.
In the Directories > Compiler Tab
--- Code: ---$(#WX.include)
$(#WX.lib)\gcc_dll\mswu
$(#WX)\contrib\include
--- End code ---
In the Directories > Linker Tab
--- Code: ---$(#WX.lib)\gcc_dll
--- End code ---
In the Linker > Link Libraries
--- Code: ---$(#WX.lib)\gcc_dll\libwxmsw26u.a
--- End code ---
Please help me with this situation. I need to know what file doesn't need to be overwritten on my next nightly build upgrade.
OS: WinXP Pro SP2
Nighly Build: 3253
If you need any more information please ask. So far I have tried everything I have been able to find.
Thanks in advance,
JS
MortenMacFly:
Enable full command line logging (see my sig) and post the build log again, please.
With regards, Morten.
JSThePatriot:
Thanks for the tip. I didn't know that existed. I will continue to try debugging from here, but any help you can provide would be greatly appreciated.
--- Quote ----------------- Build: Release in wxTesting ---------------
mingw32-g++.exe -Wall -pipe -mthreads -Winvalid-pch -include wx_pch.h -D__GNUWIN32__ -D__WXMSW__ -DWXUSINGDLL -DwxUSE_UNICODE -DUSE_PCH -O2 C:\wx -IC:\wx\include -IC:\wx\lib\gcc_dll\mswu -IC:\wx\contrib\include -IC:\wx\include -IC:\wx\lib\gcc_dll\mswu -IC:\wx\contrib\include -IC:\MinGW\include -c wx_pch.h -o wx_pch.h.gch\Release_wx_pch.h.gch
cc1plus.exe: C:\wx: No such file or directory
cc1plus.exe: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.mingw.org/bugs.shtml> for instructions.
mingw32-g++.exe: C:\wx: linker input file unused because linking not done
Process terminated with status 1 (0 minutes, 3 seconds)
0 errors, 0 warnings
--- End quote ---
Let me know what you come up with because that isn't getting me very far.
Edit: The only thing that I have noticed about that extra string is the extra space after C:\wx and before -IC:\wx\include
Thanks again,
JS
MortenMacFly:
--- Quote from: JSThePatriot on November 23, 2006, 08:52:22 pm ---[...] -O2 C:\wx [...]
--- End quote ---
In fact you are trying to compile a file called "wx" in the C:\ folder. Maybe it's best if you zip the project you are talking about and post it here (please remove any object and executable files) first. Or don't you use a project? If yo than that's the culprit I'd say...
On the other hand: Do you have "illegal" (non-ansi) characters in the filename of the file you are trying to compile?
With regards, Morten.
JSThePatriot:
Ah okay, that is very interesting. Here is the project folder/file. I removed the wxWidgets dll file.
That is interesting. I even had a working project stop working when I upgraded so I don't understand what went wrong.
JS
[attachment deleted by admin]
Navigation
[0] Message Index
[#] Next page
Go to full version