[Edyuk-devel] Compiling Windows GUI Project
Brought to you by:
fullmetalcoder
From: rittwik c. <rri...@re...> - 2008-05-23 12:25:33
|
Hi, I am trying to compile the default Qt GUI application code that is auto generated by Edyuk 1.0.0-rc2. I am using Qt 4.4.0 with MinGW_v4.2.1-dw2.2 on Windows XP. The compilation produce following errors: c:\Qt\4.4.0\lib/libqtmain.a(qtmain_win.o):qtmain_win.cpp:(.text+0x26): undefined reference to `__gxx_personality_sj0' c:\Qt\4.4.0\lib/libqtmain.a(qtmain_win.o):qtmain_win.cpp:(.text+0x39): undefined reference to `_Unwind_SjLj_Register' c:\Qt\4.4.0\lib/libqtmain.a(qtmain_win.o):qtmain_win.cpp:(.text+0x1b4): undefined reference to `_Unwind_SjLj_Unregister' c:\Qt\4.4.0\lib/libqtmain.a(qtmain_win.o):qtmain_win.cpp:(.text+0x3f5): undefined reference to `_Unwind_SjLj_Resume' While compiling, Edyuk execute the following command: g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -mthreads -Wl -Wl,-subsystem,windows -o release\test.exe .build/main.o -L"c:\Qt\4.4.0\lib" -lmingw32 -lqtmain -lQtGui4 -lQtCore4 I think (may be I am wrong, but still...), it should execute: g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -mthreads -Wl -Wl,-subsystem console, windows -o release\test.exe .build/main.o -L"c:\Qt\4.4.0\lib" -lmingw32 -lqtmain -lQtGui4 -lQtCore4 (please note the "console" option after "-subsystem") How to add this LFLAGS in Edyuk... Thanks rittwik |