chomik Posted July 30, 2010 Report Share Posted July 30, 2010 Hi i try compile 7814 version form svn and i have problemcolourdb.cppcc1plus: error: obj/wxJS_Debug/precompiled.h: Nie ma takiego pliku ani katalogucc1plus: error: one or more PCH files were found, but they were invalidcc1plus: error: use -Winvalid-pch for more informationIn file included from /usr/include/wx-2.6/wx/cursor.h:37, from /usr/include/wx-2.6/wx/event.h:32, from /usr/include/wx-2.6/wx/wx.h:23, from /usr/include/wx-2.6/wx/wxprec.h:54, from ../../../source/tools/atlas/wxJS/precompiled.h:31, from ../../../source/tools/atlas/wxJS/gui/misc/colourdb.cpp:1:/usr/include/wx-2.6/wx/utils.h:82: warning: redundant redeclaration of ‘wxChar* copystring(const wxChar*)’ in same scope/usr/include/wx-2.6/wx/list.h:335: warning: previous declaration of ‘wxChar* copystring(const wxChar*)’In file included from /usr/include/wx-2.6/wx/wx.h:24, from /usr/include/wx-2.6/wx/wxprec.h:54, from ../../../source/tools/atlas/wxJS/precompiled.h:31, from ../../../source/tools/atlas/wxJS/gui/misc/colourdb.cpp:1:/usr/include/wx-2.6/wx/app.h:611: warning: redundant redeclaration of ‘bool wxYield()’ in same scope/usr/include/wx-2.6/wx/utils.h:623: warning: previous declaration of ‘bool wxYield()’make[1]: *** [obj/wxJS_Debug/colourdb.o] error 1make: *** [wxJS] Error 2 Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted July 30, 2010 Report Share Posted July 30, 2010 You probably need to run "make clean" and then "make" again. (It sometimes forgets to recompile changed header files.) Quote Link to comment Share on other sites More sharing options...
chomik Posted July 30, 2010 Author Report Share Posted July 30, 2010 ok thanks compiling go but i have secound error and google not help==== Building AtlasScript ====ScriptInterface.cppIn file included from /usr/include/wx-2.6/wx/cursor.h:37, from /usr/include/wx-2.6/wx/event.h:32, from /usr/include/wx-2.6/wx/wx.h:23, from ../../../source/tools/atlas/AtlasScript/ScriptInterface.cpp:32:/usr/include/wx-2.6/wx/utils.h:82: warning: redundant redeclaration of ‘wxChar* copystring(const wxChar*)’ in same scope/usr/include/wx-2.6/wx/list.h:335: warning: previous declaration of ‘wxChar* copystring(const wxChar*)’In file included from /usr/include/wx-2.6/wx/wx.h:24, from ../../../source/tools/atlas/AtlasScript/ScriptInterface.cpp:32:/usr/include/wx-2.6/wx/app.h:611: warning: redundant redeclaration of ‘bool wxYield()’ in same scope/usr/include/wx-2.6/wx/utils.h:623: warning: previous declaration of ‘bool wxYield()’../../../source/tools/atlas/AtlasScript/ScriptInterface.cpp: In static member function ‘static bool<unnamed>::FromJSVal<wxString>::Convert(JSContext*, jsval, wxString&)’:../../../source/tools/atlas/AtlasScript/ScriptInterface.cpp:183: error: no matching function for call to ‘wxString::wxString(const char*, wxMBConvUTF16, long unsigned int)’/usr/include/wx-2.6/wx/string.h:1160: note: candidates are: wxString::wxString(const void*, const void*)/usr/include/wx-2.6/wx/string.h:1157: note: wxString::wxString(const wxString&, size_t, size_t)/usr/include/wx-2.6/wx/string.h:671: note: wxString::wxString(const wxWCharBuffer&)/usr/include/wx-2.6/wx/string.h:669: note: wxString::wxString(const char*, wxMBConv&, size_t)/usr/include/wx-2.6/wx/string.h:663: note: wxString::wxString(const wxStdString&)/usr/include/wx-2.6/wx/string.h:653: note: wxString::wxString(const wxChar*, wxMBConv&, size_t)/usr/include/wx-2.6/wx/string.h:651: note: wxString::wxString(const wxChar*, size_t)/usr/include/wx-2.6/wx/string.h:649: note: wxString::wxString(const wxChar*)/usr/include/wx-2.6/wx/string.h:645: note: wxString::wxString(size_t, wxChar)/usr/include/wx-2.6/wx/string.h:643: note: wxString::wxString(wxChar, size_t)/usr/include/wx-2.6/wx/string.h:641: note: wxString::wxString(const wxString&)/usr/include/wx-2.6/wx/string.h:640: note: wxString::wxString(const wxStringBase&)/usr/include/wx-2.6/wx/string.h:638: note: wxString::wxString()/usr/include/wx-2.6/wx/string.h:633: note: wxString::wxString(int)make[1]: *** [obj/AtlasScript_Debug/ScriptInterface.o] Błąd 1make: *** [AtlasScript] Błąd 2chomik@debian:~/wildfire/trunk/build/workspaces/gcc$ make==== Building mocks_real ====make[1]: `../../../binaries/system/libmocks_real_dbg.a' jest aktualne.==== Building network ====make[1]: `../../../binaries/system/libnetwork_dbg.a' jest aktualne.==== Building simulation2 ====make[1]: `../../../binaries/system/libsimulation2_dbg.a' jest aktualne.==== Building scriptinterface ====make[1]: `../../../binaries/system/libscriptinterface_dbg.a' jest aktualne.==== Building engine ====make[1]: `../../../binaries/system/libengine_dbg.a' jest aktualne.==== Building graphics ====make[1]: `../../../binaries/system/libgraphics_dbg.a' jest aktualne.==== Building i18n ====make[1]: `../../../binaries/system/libi18n_dbg.a' jest aktualne.==== Building atlas ====make[1]: `../../../binaries/system/libatlas_dbg.a' jest aktualne.==== Building gui ====make[1]: `../../../binaries/system/libgui_dbg.a' jest aktualne.==== Building lowlevel ====make[1]: `../../../binaries/system/liblowlevel_dbg.a' jest aktualne.==== Building pyrogenesis ====make[1]: `../../../binaries/system/pyrogenesis_dbg' jest aktualne.==== Building mocks_test ====make[1]: `../../../binaries/system/libmocks_test_dbg.a' jest aktualne.==== Building AtlasObject ====make[1]: `../../../binaries/system/libAtlasObject_dbg.a' jest aktualne.==== Building AtlasScript ====ScriptInterface.cppIn file included from /usr/include/wx-2.6/wx/cursor.h:37, from /usr/include/wx-2.6/wx/event.h:32, from /usr/include/wx-2.6/wx/wx.h:23, from ../../../source/tools/atlas/AtlasScript/ScriptInterface.cpp:32:/usr/include/wx-2.6/wx/utils.h:82: warning: redundant redeclaration of ‘wxChar* copystring(const wxChar*)’ in same scope/usr/include/wx-2.6/wx/list.h:335: warning: previous declaration of ‘wxChar* copystring(const wxChar*)’In file included from /usr/include/wx-2.6/wx/wx.h:24, from ../../../source/tools/atlas/AtlasScript/ScriptInterface.cpp:32:/usr/include/wx-2.6/wx/app.h:611: warning: redundant redeclaration of ‘bool wxYield()’ in same scope/usr/include/wx-2.6/wx/utils.h:623: warning: previous declaration of ‘bool wxYield()’../../../source/tools/atlas/AtlasScript/ScriptInterface.cpp: In static member function ‘static bool<unnamed>::FromJSVal<wxString>::Convert(JSContext*, jsval, wxString&)’:../../../source/tools/atlas/AtlasScript/ScriptInterface.cpp:183: error: no matching function for call to ‘wxString::wxString(const char*, wxMBConvUTF16, long unsigned int)’/usr/include/wx-2.6/wx/string.h:1160: note: candidates are: wxString::wxString(const void*, const void*)/usr/include/wx-2.6/wx/string.h:1157: note: wxString::wxString(const wxString&, size_t, size_t)/usr/include/wx-2.6/wx/string.h:671: note: wxString::wxString(const wxWCharBuffer&)/usr/include/wx-2.6/wx/string.h:669: note: wxString::wxString(const char*, wxMBConv&, size_t)/usr/include/wx-2.6/wx/string.h:663: note: wxString::wxString(const wxStdString&)/usr/include/wx-2.6/wx/string.h:653: note: wxString::wxString(const wxChar*, wxMBConv&, size_t)/usr/include/wx-2.6/wx/string.h:651: note: wxString::wxString(const wxChar*, size_t)/usr/include/wx-2.6/wx/string.h:649: note: wxString::wxString(const wxChar*)/usr/include/wx-2.6/wx/string.h:645: note: wxString::wxString(size_t, wxChar)/usr/include/wx-2.6/wx/string.h:643: note: wxString::wxString(wxChar, size_t)/usr/include/wx-2.6/wx/string.h:641: note: wxString::wxString(const wxString&)/usr/include/wx-2.6/wx/string.h:640: note: wxString::wxString(const wxStringBase&)/usr/include/wx-2.6/wx/string.h:638: note: wxString::wxString()/usr/include/wx-2.6/wx/string.h:633: note: wxString::wxString(int)make[1]: *** [obj/AtlasScript_Debug/ScriptInterface.o] Błąd 1make: *** [AtlasScript] Błąd 2 Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted July 30, 2010 Report Share Posted July 30, 2010 Looks like you have wxWidgets 2.6, which is very old - you need to upgrade to version 2.8. (There's a lot more compile errors than just that wxString one when using 2.6.) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.