-------------- 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
$(#WX.include)
$(#WX.lib)\gcc_dll\mswu
$(#WX)\contrib\include
$(#WX.lib)\gcc_dll
$(#WX.lib)\gcc_dll\libwxmsw26u.a
-------------- 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
[...] -O2 C:\wx [...]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...
<Compiler>I really hope this helps some how. I would really like to get to learning this instead of setting it up! =/
<Add option="-pipe" />
<Add option="-mthreads" />
<Add option="-D__GNUWIN32__" />
<Add option="-D__WXMSW__" />
<Add option="-DWXUSINGDLL" />
<Add option="-DwxUSE_UNICODE" />
<Add option="-Winvalid-pch" />
<Add option="-include wx_pch.h" />
<Add option="-DUSE_PCH" />
<Add option="-Wall" />
<Add directory="$(#WX)\include" />
<Add directory="$(#WX)\lib\gcc_dll\mswu" />
<Add directory="$(#WX)\contrib\include" />
</Compiler>
<Linker>
<Add library="libwxmsw26u.a" />
<Add library="comctl32" />
<Add library="gdi32" />
<Add library="ole32" />
<Add library="oleaut32" />
<Add library="uuid" />
<Add directory="$(#WX)\lib\gcc_dll" />
</Linker>
1.) Did you install (actually it's an extract only) wxWidgets 2.6.x? Yes
2.) Did you compile wxWidgets to get the required libraries? Yes, I had wxWidgets working before one of my nightly build upgrades.
3.) Do you use a recent nightly? Yes, I just downloaded the NB for the 24th.
4.) (If answer to 3. is "yes") - did you setup the global variable "wx" correctly - to what? Yes, I set variable "wx" to "C:\wx"
5.) Did you then just use the wizard to create a wxWidgets application (which wizard)? I used the wizard in the bottom right corner which is for creating a wxWidgets project.
Let me know how to reset Code::Blocks settings, and I will see if I can retry all the above steps to see if there is a setting off somewhere.The settings are stored under "[WIN_DRIVE]\Documents and Settings\[YOUR_LOGIN]\Application Data\codeblocks". The default configuration file is "default.conf". IT usually should be enough if you delete just this, of course you can also delete the whole directory.
Okay my problem has been fixed... It was a setting in that section you just pointed out to me. I deleted the file re-opened C::B, and whala it worked. (after resetting wx variable)Nice! Glad you sorted it out. :D