Menu

#27 Error while compiling the code for windows.

closed-works-for-me
nobody
None
5
2011-05-23
2011-04-19
Anonymous
No

I Downloaded the source code and was trying to build it on windows, but each time I'm getting this compilation error without much information on the error itself. Kindly check this is and help me how to resolve this. // ERROR g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -mthreads -Wl -Wl,-subsystem,windows -o release\umplayer.exe object_script.umplayer.Release -L"c:\Qt\2010.05\qt\lib" -lmingw32 -lqtmain release\umplayer_res.o -lz -Lc:\development\zlib-1.2.3 -lole32 -lQtXml4 -lQtGui4 -lQtNetwork4 -lQtCore4 mingw32-make[1]: Leaving directory `C:/NokiaQtSDK/MobileApps/umplayer/umplayer/trunk/umplayer-build-desktop' mingw32-make: Leaving directory `C:/NokiaQtSDK/MobileApps/umplayer/umplayer/trunk/umplayer-build-desktop' c:/qt/2010.05/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lz collect2: ld returned 1 exit status mingw32-make[1]: *** [release\umplayer.exe] Error 1 mingw32-make: *** [release] Error 2 The process "C:/Qt/2010.05/mingw/bin/mingw32-make.exe" exited with code %2. Error while building project umplayer (target: Desktop) When executing build step 'Make' Regards, Vijay.

Discussion

  • Ori Rejwan

    Ori Rejwan - 2011-05-23

    make sure you have the proper Qt SDK and make sure that qmake is properly set on your pc

     
  • Ori Rejwan

    Ori Rejwan - 2011-05-23
    • status: open --> closed-works-for-me
     

Log in to post a comment.