[Dev-C++] wxwindows compile issues...
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: lamont <lam...@ve...> - 2003-02-24 06:47:23
|
I have wxwindows version 2.4.0 and dev cpp 4.9.7.4. I'm able to get wxwindows compiled into a lib from the command line, but when I try to compile an example program it fails with the following error: unrecognised emulation mode: windows Supported emulations: i386pe I have check every option that I know of in dev cpp and the -mwindows directive is not listed. Here are my compiler and linker options: compiler: -fno-rtti -fno-exceptions -fno-pcc-struct-return -fstrict-aliasing -Wall -fvtable-thunks -D__WXMSW__ -D__GNUWIN32__ -DWINVER=0x400 -D__WIN95__ -DSTRICT -D__WXDEBUG__ linker: -lwxmswd -lcomdlg32 -luser32 -lgdi32 -lole32 -lwsock32 -lcomctl32 -l ctl3d32 -lgcc -lstdc++ -lshell32 -loleaut32 -ladvapi32 -luuid -Le:\work_area \programming\wxWindows\lib The project type is set to 'Win32 GUI' and here is the command line that devcpp sends to the compiler: g++.exe -D__DEBUG__ 1stproject.o -o "Project1.exe" -lwinmm -L"D:/program_files/Dev-Cpp/lib" -L"E:/work_area/prog ramming/c++/utilLib" -L"" -mwindows -lwxmswd -lcomdlg32 -luser32 -lgdi32 -lo le32 -lwsock32 -lcomctl32 -lctl3d32 -lgcc -lstdc++ -lshell32 -loleaut32 -lad vapi32 -luuid -Le:/work_area/programming/wxWindows/lib -I"D:/program_files/ Dev-Cpp/include" -I"e:/work_area/programming/wxwindows/include" -I"e:/work _area/programming/wxwindows/lib/mswd" -fexpensive-optimizations -g3 Anyone know how I can get rid of the -mwindows option? Or is there some other problem?? thanks. |