Hi,
I've installed the newest SDK ( 2010.05 ), SDK 4.7.0 on Windows Server 2003. Then I launched Qt Creator to run some existing examples, but the compiler gave me a bunch of building errors:
I did the same thing at home on Windows 7 and it worked. What's wrong? Any idea?C:\Qt\2010.05\qt\examples\opengl\2dpainting-build-desktop/tmp/moc/debug_shared//../../../../2dpainting/window.h:55: undefined reference to `_imp___ZN7QWidgetD2Ev'
c:/qt/2010.05/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../libmingw32.a(main.o):main.c.text+0x104): undefined reference to `WinMain@16'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [debug\2dpainting.exe] Error 1
mingw32-make: *** [debug-all] Error 2
The process "C:/Qt/2010.05/mingw/bin/mingw32-make.exe" exited with code %2.
Error while building project 2dpainting (target: Desktop)
When executing build step 'Make'
Regard,
Chan Nguyen




.text+0x104): undefined reference to `WinMain@16'
Reply With Quote
Bookmarks