From: Georg Z. <geo...@un...> - 2012-09-07 01:16:05
|
Hi! I confirm this warning, but the real error is this: ... [ 47%] Building CXX object src/CMakeFiles/stelMain.dir/core/StelUtils.cpp.obj cd C:\Stellarium_DEV\BZR\glexperiment\builds\qt\src && C:\Qt\MinGW\bin\g++.exe -DstelMain_EXPORTS -DPACKAGE_VERSION=\"0.12.0\" -DSTELLARIUM_SPLASH=\"Development\" -DENABLE_NLS -DENABLE_SCRIPT_CONSOLE -DDEFAULT_GRAPHICS_SYSTEM=\"native\" -DQT_DLL -DQT_OPENGL_LIB -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_TEST_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DINSTALL_DATADIR=\".\" -DINSTALL_LOCALEDIR=\"./locale\" -DUSE_STATIC_PLUGIN_OBSERVABILITY -DUSE_STATIC_PLUGIN_ANGLEMEASURE -DUSE_STATIC_PLUGIN_COMPASSMARKS -DUSE_STATIC_PLUGIN_SATELLITES -DUSE_STATIC_PLUGIN_TELESCOPECONTROL -DUSE_STATIC_PLUGIN_OCULARS -DUSE_STATIC_PLUGIN_TEXTUSERINTERFACE -DUSE_STATIC_PLUGIN_SOLARSYSTEMEDITOR -DUSE_STATIC_PLUGIN_TIMEZONECONFIGURATION -DUSE_STATIC_PLUGIN_SUPERNOVAE -DUSE_STATIC_PLUGIN_QUASARS -DUSE_STATIC_PLUGIN_PULSARS -DUSE_STATIC_PLUGIN_EXOPLANETS -DUSE_STATIC_PLUGIN_RENDERERSTATISTICS -DQT_DEBUG -Wall -Wsign-promo -fexceptions -fident -mthreads -g -IC:\Qt\4.8.2\include -IC:\Qt\4.8.2\include\QtOpenGL -IC:\Qt\4.8.2\include\QtScript -IC:\Qt\4.8.2\include\QtGui -IC:\Qt\4.8.2\include\QtTest -IC:\Qt\4.8.2\include\QtNetwork -IC:\Qt\4.8.2\include\QtCore -IC:\Stellarium_DEV\BZR\glexperiment\builds\qt -IC:\Stellarium_DEV\BZR\glexperiment\src -IC:\Stellarium_DEV\BZR\glexperiment\src\core -IC:\Stellarium_DEV\BZR\glexperiment\src\core\renderer -IC:\Stellarium_DEV\BZR\glexperiment\src\core\modules -IC:\Stellarium_DEV\BZR\glexperiment\src\core\planetsephems -IC:\Stellarium_DEV\BZR\glexperiment\src\core\external -IC:\Stellarium_DEV\BZR\glexperiment\src\core\external\kfilter -IC:\Stellarium_DEV\BZR\glexperiment\src\core\external\glues_stel\source -IC:\Stellarium_DEV\BZR\glexperiment\src\core\external\glues_stel\source\libtess -IC:\Stellarium_DEV\BZR\glexperiment\src\gui -IC:\Stellarium_DEV\BZR\glexperiment\src\scripting -IC:\Qt\MinGW\include -IC:\Stellarium_DEV\BZR\glexperiment\builds\qt\src -o CMakeFiles\stelMain.dir\core\StelUtils.cpp.obj -c C:\Stellarium_DEV\BZR\glexperiment\src\core\StelUtils.cpp mingw32-make[2]: Leaving directory `C:/Stellarium_DEV/BZR/glexperiment/builds/qt' mingw32-make[1]: Leaving directory `C:/Stellarium_DEV/BZR/glexperiment/builds/qt' In file included from C:\Stellarium_DEV\BZR\glexperiment\src\core\StelUtils.cpp:1067:0: c:\qt\mingw\bin\../lib/gcc/mingw32/4.6.2/include/c++/ctime:62:11: error: '::clock_t' has not been declared c:\qt\mingw\bin\../lib/gcc/mingw32/4.6.2/include/c++/ctime:66:11: error: '::clock' has not been declared c:\qt\mingw\bin\../lib/gcc/mingw32/4.6.2/include/c++/ctime:67:11: error: '::difftime' has not been declared c:\qt\mingw\bin\../lib/gcc/mingw32/4.6.2/include/c++/ctime:68:11: error: '::mktime' has not been declared c:\qt\mingw\bin\../lib/gcc/mingw32/4.6.2/include/c++/ctime:69:11: error: '::time' has not been declared c:\qt\mingw\bin\../lib/gcc/mingw32/4.6.2/include/c++/ctime:70:11: error: '::asctime' has not been declared c:\qt\mingw\bin\../lib/gcc/mingw32/4.6.2/include/c++/ctime:71:11: error: '::ctime' has not been declared c:\qt\mingw\bin\../lib/gcc/mingw32/4.6.2/include/c++/ctime:72:11: error: '::gmtime' has not been declared c:\qt\mingw\bin\../lib/gcc/mingw32/4.6.2/include/c++/ctime:73:11: error: '::localtime' has not been declared c:\qt\mingw\bin\../lib/gcc/mingw32/4.6.2/include/c++/ctime:74:11: error: '::strftime' has not been declared C:\Stellarium_DEV\BZR\glexperiment\src\core\StelUtils.cpp: In function 'long double StelUtils::getTime()': C:\Stellarium_DEV\BZR\glexperiment\src\core\StelUtils.cpp:1086:2: error: 'clock_t' is not a member of 'StelUtils::std' C:\Stellarium_DEV\BZR\glexperiment\src\core\StelUtils.cpp:1086:2: note: suggested alternative: c:\qt\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/time.h:71:14: note: 'StelUtils::clock_t' C:\Stellarium_DEV\BZR\glexperiment\src\core\StelUtils.cpp:1086:15: error: expected ';' before 'cpuTime' C:\Stellarium_DEV\BZR\glexperiment\src\core\StelUtils.cpp:1087:34: error: 'cpuTime' was not declared in this scope C:\Stellarium_DEV\BZR\glexperiment\src\core\StelUtils.cpp:1089:1: warning: control reaches end of non-void function [-Wreturn-type] mingw32-make[2]: *** [src/CMakeFiles/stelMain.dir/core/StelUtils.cpp.obj] Error 1 mingw32-make[1]: *** [src/CMakeFiles/stelMain.dir/all] Error 2 mingw32-make: *** [all] Error 2 03:07:16: Der Prozess "C:\Qt\MinGW\bin\mingw32-make.exe" wurde mit dem Rückgabewert 2 beendet. Fehler beim Erstellen/Deployment des Projekts Stellarium(Ziel: Desktop) Bei der Ausführung von Schritt 'Make' Maybe some other include to use? HTH, G. On Fr, 7.09.2012, 02:25, Barry Gerdes wrote: > > I have now tried to compile 5594 in windows on three other computers > without success. > I keep getting this warning at every step of the compile > "this machine does not have delayed action branches [enabled by > default]"s.cpp > the problem seems to be in StelUtils.cpp around lines 1086-1089 > may even be just a syntax error missing ' > > compile on linux works without any problem > > Barry Gerdes > Beaumont Hills Observatory > S 33' 41' 44" E 150' 56' 32" > > From: bar...@ho... > To: ste...@li... > Date: Fri, 7 Sep 2012 08:20:39 +1000 > Subject: Re: [Stellarium-pubdevel] OpenGL2: speed OK, but deteriorated > quality! > |