I then compiled a very basic wxWidgets app and received the following compile log:
======================================================== Compiler: Default compiler Building Makefile: "C:\SoftDev\CppAndC\Projects\test\Makefile.win" Executing make clean rm -f base.o test.exe g++.exe -c base.cpp -o base.o -I"C:/Dev-Cpp/include/c++/3.3.1" -I"C:/Dev-Cpp/include/c++/3.3.1/mingw32" -I"C:/Dev-Cpp/include/c++/3.3.1/backward" -I"C:/Dev-Cpp/lib/gcc-lib/mingw32/3.3.1/include" -I"C:/Dev-Cpp/include" -I"C:/wx/include" -I"C:/wx/build-release/lib/wx/include/msw-ansi-release-static-2.5" -I"C:/Dev-Cpp/include" -D__WXMSW__ -DNO_GCC_PRAGMA -fno-exceptions In file included from C:/wx/include/wx/wxchar.h:143, from C:/wx/include/wx/debug.h:22, from C:/wx/include/wx/defs.h:456, from C:/wx/include/wx/wxprec.h:13, from base.cpp:1: C:/Dev-Cpp/include/tchar.h:272:1: warning: "_puttchar" redefined In file included from C:/wx/include/wx/platform.h:469, from C:/wx/include/wx/defs.h:25, from C:/wx/include/wx/wxprec.h:13, from base.cpp:1: C:/wx/include/wx/msw/gccpriv.h:108:1: warning: this is the location of the previous definition g++.exe base.o -o "test.exe" -L"C:/Dev-Cpp/lib" -L"C:/wx/build-release/lib" -L"C:/Dev-Cpp/lib" -mwindows -s -mwindows -lwx_msw_core-2.5 -lwx_base-2.5 -lwxjpeg-2.5 -lwxpng-2.5 -lwxzlib-2.5 -lwxregex-2.5 -lwxexpat-2.5 -lrpcrt4 -loleaut32 -lole32 -luuid -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32 -ltiff -s Execution terminated Compilation successful ========================================================
The last two lines of the log are bizarre because execution was terminated with a successful compile and the program runs fine. What does this mean?? I have been trying to fix this for hours and it’s driving me nuts! Any help would be appreciated, thanks.