Code::Blocks 8.02
MingW 3.4.5
wxWidgets 2.8
I do not know what exception type is. :?
The standard for is MingW 3.4.5 SJLJ.
If using Windows Vista the exact build of MingW GCC Matters.
What is your windows version? (98, XP, Vista, etc.)
Did you build wxWidgets yourself?
If yes was it built with MingW GCC 3.4.5?
Tim S.
The command below is enough to start with
Batch file to get more info about MinGW GCC works on Windows XP/should work on Vista
create as batch file I use name version-of-gcc.bat in the MinGW Installation folder.
(default folder is normally "C:\MinGW".)
@echo off
REM credit to Peter Ward work in ReactOS Build Environment RosBE.cmd it gave me a starting point that I edited.
::
:: Display the current version of GCC, ld, make and others.
::
REM %CD% works in Windows XP, not sure when it was added to Windows
REM set GCCBASEDIR=C:\MinGW
set GCCBASEDIR=%CD%
ECHO GCCBASEDIR=%GCCBASEDIR%
SET PATH=%GCCBASEDIR%\bin;%SystemRoot%\system32
REM ECHO %PATH%
REM ECHO %GCCBASEDIR%\bin\pic30-gcc.exe
if exist "%GCCBASEDIR%\bin\gcc.exe" (gcc.exe -v 2>&1 | find "gcc version")
if exist "%GCCBASEDIR%\bin\ld.exe" (ld.exe -v)
REM 2>&1 | find "gcc version")
if exist "%GCCBASEDIR%\bin\pic30-gcc.exe" (pic30-gcc.exe -v 2>&1 | find "gcc version")
if exist "%GCCBASEDIR%\bin\pic32-gcc.exe" (pic32-gcc.exe -v 2>&1 | find "gcc version")
if exist "%GCCBASEDIR%\bin\msp430-gcc.exe" (msp430-gcc.exe -v 2>&1 | find "gcc version")
if exist "%GCCBASEDIR%\bin\arm-elf-gcc.exe" (arm-elf-gcc.exe -v 2>&1 | find "gcc version")
REM if exist %GCCBASEDIR%\bin\pic32-gcc.exe pic32-gcc.exe -print-search-dirs
if exist %GCCBASEDIR%\bin\pic32-ld.exe (pic32-ld.exe -melf32pic32mx -v)
if exist %GCCBASEDIR%\bin\windres.exe (windres --version | find "GNU windres")
if exist %GCCBASEDIR%\bin\dlltool.exe (dlltool --version | find "GNU dlltool")
if exist %GCCBASEDIR%\bin\pexports.exe (pexports | find "PExports" )
if exist %GCCBASEDIR%\bin\mingw32-make.exe (mingw32-make -v | find "GNU Make")
if exist %GCCBASEDIR%\bin\make.exe (ECHO It is not recommended to have make.exe in mingw/bin)
REM ECHO "The minGW runtime version is the same as __MINGW32_VERSION"
if exist "%GCCBASEDIR%\include\_mingw.h" (type "%GCCBASEDIR%\include\_mingw.h" | find "__MINGW32_VERSION" | find "#define")
if exist "%GCCBASEDIR%\include\w32api.h" (type "%GCCBASEDIR%\include\w32api.h" | find "__W32API_VERSION")
:_end
PAUSE