From: 喻超 <cha...@gm...> - 2010-05-08 08:13:57
|
Thank you very much for your help. But it does not seem to be my problem. I have put all the necessary paths to my system path.And I have check the CMakeCache.txt,all the missing lines you have mentioned is not missing in my CMackCache.txt. what should I do? 2010/5/8 Barry Gerdes <bar...@ho...> > Hi > > Have you also got C:\Qt\2010.02.1\mingw\bin; in your path > Your path should also have > C:\Qt\2010.02.1; > C:\Qt\2010.02.1\qt\bin; > C:\CMake 2.8\bin; > > Check you cmakecache.txt file and make sure it has these line. I have had a > few computers miss these > > //Path to a program. > GETTEXT_MSGFMT_EXECUTABLE:FILEPATH=C:/Qt/2010.02.1/mingw/bin/msgfmt.exe > //Path to a program. > GETTEXT_MSGMERGE_EXECUTABLE:FILEPATH=C:/Qt/2010.02.1/mingw/bin/msgmerge.exe > //Path to a file. > ICONV_INCLUDE_DIR:PATH=C:Qt/2010.02.1/mingw/include > //Path to a library. > ICONV_LIBRARIES:FILEPATH=C:/Qt/2010.02./minGW/lib/libiconv.dll.a > //Path to a file. > INTL_INCLUDE_DIR:PATH=C:/Qt/2010.02.1/mingw/include > //Path to a library. > INTL_LIBRARIES:FILEPATH=C:/Qt/2010.02.1/mingw/lib/libintl.dll.a > > > Barry Gerdes > Beaumont Hills Observatory > S 33' 41' 44" E 150' 56' 32" > > > > > ------------------------------ > Date: Sat, 8 May 2010 15:39:55 +0800 > From: cha...@gm... > To: ste...@li... > Subject: [Stellarium-pubdevel] I met a problem when compiling > > > Hello Everyone: > when I was using Qt to compile stellarium in Windows,it gave me a lot > of errors as follows: > > CMakeFiles\stelMain.dir\core\external\kdewin32\inet.c.obj:inet.c::-1: > error: undefined reference to `inet_addr@4' > ..\plugins\TelescopeControl\src\.\libTelescopeControl.a(Server.cpp.obj):Server.cpp::-1: > error: undefined reference to `select@20' > ..\plugins\TelescopeControl\src\.\libTelescopeControl.a(Socket.cpp.obj):Socket.cpp::-1: > error: undefined reference to `closesocket@4' > ..\plugins\TelescopeControl\src\.\libTelescopeControl.a(Connection.cpp.obj):Connection.cpp::-1: > error: undefined reference to `WSAGetLastError@0' > ..\plugins\TelescopeControl\src\.\libTelescopeControl.a(Connection.cpp.obj):Connection.cpp::-1: > error: undefined reference to `WSAGetLastError@0' > ..\plugins\TelescopeControl\src\.\libTelescopeControl.a(Connection.cpp.obj):Connection.cpp::-1: > error: undefined reference to `WSAGetLastError@0' > ..\plugins\TelescopeControl\src\.\libTelescopeControl.a(Connection.cpp.obj):Connection.cpp::-1: > error: undefined reference to `WSAGetLastError@0' > ..\plugins\TelescopeControl\src\.\libTelescopeControl.a(Connection.cpp.obj):Connection.cpp::-1: > error: undefined reference to `WSAGetLastError@0' > ..\plugins\TelescopeControl\src\.\libTelescopeControl.a(Connection.cpp.obj):Connection.cpp::-1: > error: more undefined references to `WSAGetLastError@0' follow > ..\plugins\TelescopeControl\src\.\libTelescopeControl.a(Connection.cpp.obj):Connection.cpp::-1: > error: undefined reference to `__WSAFDIsSet@8' > ..\plugins\TelescopeControl\src\.\libTelescopeControl.a(Connection.cpp.obj):Connection.cpp::-1: > error: undefined reference to `__WSAFDIsSet@8' > > I have already put C:\Qt\2010.02.1\mingw\lib and > C:\Qt\2010.02.1\mingw\include in my system path, and the libwsock32.a is > right there under C:\Qt\2010.02.1\mingw\lib.Need your help! > > -- > =================================================== > > 敬 > 礼! > > > > ------------------------------ > Meet local singles online. Browse profiles for FREE!<http://clk.atdmt.com/NMN/go/150855801/direct/01/> > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Stellarium-pubdevel mailing list > Ste...@li... > https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel > > -- =================================================== 敬 礼! |