#115: Two methods to compile qutecom were failed, please help me, many thanks! -------------------------------------------------------------------------------------------------------------------------------+ Reporter: ouhncom | Owner: laurent Type: defect | Status: new Priority: major | Milestone: QuteCom 2.2-RC2 Component: Build System | Version: 2.2-RC3 Keywords: NMAKE : fatal error U1073 U1077 msvc_recommended_pragmas.h: No such file or directory unrecognized option `-FI' | -------------------------------------------------------------------------------------------------------------------------------+ Dear developers,
According to http://trac.qutecom.org/wiki/HowToBuildFromSource , i tried use Visual Stdio 2005(nmake) and mingw to compile qutecom , but at last all failed . and i google it many , utill now , the problem is not solve. i have installed the requirements programs, and set some environment variables. first, i try to use Common requirements compile like this: ------------------------------------------------------------------------------------------------------------------------------------------------------------------- d:\VS2005\VC>f: // (i first ran the cmd.exe in vs2005 command prompt, my vs2005 was installed in d:\VS2005) F:\>cd qutecom\build F:\qutecom\build>set include=F:\ProgramFiles\Microsoft DirectX SDK (August 2007)\Include;%include% F:\qutecom\build>set lib=F:\ProgramFiles\Microsoft Platform SDK for Windows Server 2003 R2\Lib;%lib% F:\qutecom\build>cmake -DCMAKE_BUILD_TYPE=release -G "NMake Makefiles" .. F:\qutecom\build>nmake >log.txt 2>&1 // (the log.txt was renamed log_nmake.txt in the attached file) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ i have fixed some errors , but the nmake was stopped near compile to 100%, the last error message was like this: [100%] Building CXX object wengophone/src/presentation/qt/CMakeFiles/QuteCom.dir/WinApp.obj WinApp.cpp ........................................ NMAKE : fatal error U1073: Stop. NMAKE : fatal error U1077: Stop. NMAKE : fatal error U1077: Stop. i did not know why to like this ? the whole nmake log message was in the attached file named log_nmake.txt. after this, i tried use mingw to compile like this: ------------------------------------------------------------------------------------------------------------------------------------------------------------------- C:\Documents and Settings\Administrator>f: F:\>cd F:\qutecom_mingw\build F:\qutecom_mingw\build>set QTDIR=F:\ProgramFiles\Qt\qt F:\qutecom_mingw\build>set INCLUDE=F:\Boost\include;%INCLUDE% F:\qutecom_mingw\build>set LIB=F:\Boost\lib;%LIB% F:\qutecom_mingw\build>set PATH=F:\ProgramFiles\MinGW\bin;%PATH% F:\qutecom_mingw\build>cmake -DCMAKE_BUILD_TYPE=release -G "MinGW Makefiles" .. F:\qutecom_mingw\build>make >log.txt 2>&1 // (the log.txt was renamed log_mingw.txt in the attached file) -------------------------------------------------------------------------------------------------------------------------------------------------------------------- the error message was like this: [ 14%] Building C object libs/3rdparty/glib/glib-2.18.1/glib/CMakeFiles/glib.dir/gnulib/asnprintf.obj gcc.exe: msvc_recommended_pragmas.h: No such file or directory gcc.exe: unrecognized option `-FI' make[2]: *** [libs/3rdparty/glib/glib-2.18.1/glib/CMakeFiles/glib.dir/gnulib/asnprintf.obj] Error 1 make[1]: *** [libs/3rdparty/glib/glib-2.18.1/glib/CMakeFiles/glib.dir/all] Error 2 make: *** [all] Error 2 if i copy the file msvc_recommended_pragmas.h from F:\qutecom_mingw\libs\3rdparty\glib\glib-2.18.1\msvc_recommended_pragmas.h to F:\qutecom_mingw\build\libs\3rdparty\glib\glib-2.18.1\glib\msvc_recommended_pragmas.h the error gcc.exe: msvc_recommended_pragmas.h: No such file or directory was not seen any more, but the error gcc.exe: unrecognized option `-FI' is still exists. i don't know how to solve it ? i need compile qutecom success soon, no matter use any way(by vc 2005 or mingw) , please help me!!! many thanks! at last , the attached file i suggest use editplus to open . Best regards, ouhncom -- Ticket URL: <http://trac.qutecom.com/ticket/115> QuteCom <http://trac.qutecom.com> _______________________________________________ QuteCom-dev mailing list QuteCom-dev@lists.qutecom.org http://lists.qutecom.org/mailman/listinfo/qutecom-dev