|
From: Marian B. <mar...@gm...> - 2009-02-05 22:37:16
|
Hi Hedayat, Thank you very much :) . Wiki has been updated [1]. [1] http://simspark.sourceforge.net/wiki/index.php/Installation_on_Linux From: Hedayat Vatankhah [mailto:hed...@ai...] Sent: Thursday, February 05, 2009 7:43 AM To: Marian Buchta Cc: sim...@li... Subject: Re: [simspark-devel] RSGEdit compiling problem Hi Marian, I think you don't have installed wxWidgets OpenGL support. It seems that you should add an option to wxWidget's ./configure command to enable OpenGL support, but I don't remember the option. Please check ./configure --help to find the option. Thanks, Hedayat "Marian Buchta" <mailto:mar...@gm...> <mar...@gm...> wrote on ۰۹/۰۲/۰۵ 04:37:02: Hi all. I have problem with compiling of RSGEdit. My steps are following (I use Ubuntu 8.10): Install GTK2.0: sudo apt-get install libgtk2.0-dev build-essential Download wxWidgets (http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.8.9.zip): unzip wxWidgets-2.8.9.zip cd wxWidgets-2.8.9 mkdir build ../configure --with-gtk make sudo make install sudo ldconfig Then I set to the rsgedit “build” directory and wrote “cmake ..”: cd trunk/rsgedit mkdir build cd build cmake .. Everithing it’s ok, but during compilation it write out this error: [ 86%] Building CXX object src/CMakeFiles/rsgedit.dir/mainframe.cpp.o In file included from /home/dupi/sserver/trunk/rsgedit/src/mainframe.cpp:22: /home/dupi/sserver/trunk/rsgedit/src/sparkglcanvas.h:39: error: expected class-name before '{' token /home/dupi/sserver/trunk/rsgedit/src/mainframe.cpp: In constructor 'mainframe::mainframe(wxWindow*, int, const wxString&, const wxPoint&, const wxSize&, long int)': /home/dupi/sserver/trunk/rsgedit/src/mainframe.cpp:231: error: 'class SparkGLCanvas' has no member named 'SetLabel' /home/dupi/sserver/trunk/rsgedit/src/mainframe.cpp:232: error: no matching function for call to 'wxFlatNotebook::AddPage(SparkGLCanvas*&, const char [7])' /home/dupi/sserver/trunk/rsgedit/wxutil/include/wx/wxflatnotebook/wxflatnotebook.h:131: note: candidates are: bool wxFlatNotebook::AddPage(wxWindow*, const wxString&, bool, int) /home/dupi/sserver/trunk/rsgedit/src/mainframe.cpp: In member function 'void mainframe::OnClose(wxCloseEvent&)': /home/dupi/sserver/trunk/rsgedit/src/mainframe.cpp:424: error: comparison between distinct pointer types 'wxWindow*' and 'SparkGLCanvas*' lacks a cast /home/dupi/sserver/trunk/rsgedit/src/mainframe.cpp: In member function 'void mainframe::SelectCanvasTab()': /home/dupi/sserver/trunk/rsgedit/src/mainframe.cpp:1121: error: no matching function for call to 'wxFlatNotebook::GetPageIndex(SparkGLCanvas*&)' /home/dupi/sserver/trunk/rsgedit/wxutil/include/wx/wxflatnotebook/wxflatnotebook.h:175: note: candidates are: int wxFlatNotebook::GetPageIndex(wxWindow*) const /home/dupi/sserver/trunk/rsgedit/src/mainframe.cpp:1129: error: 'class SparkGLCanvas' has no member named 'SetFocus' /home/dupi/sserver/trunk/rsgedit/src/mainframe.cpp: In member function 'void mainframe::OnTabClosing(wxFlatNotebookEvent&)': /home/dupi/sserver/trunk/rsgedit/src/mainframe.cpp:1337: error: comparison between distinct pointer types 'wxWindow*' and 'SparkGLCanvas*' lacks a cast /home/dupi/sserver/trunk/rsgedit/src/mainframe.cpp: In member function 'void mainframe::OnTabChanged(wxFlatNotebookEvent&)': /home/dupi/sserver/trunk/rsgedit/src/mainframe.cpp:1456: error: comparison between distinct pointer types 'wxWindow*' and 'SparkGLCanvas*' lacks a cast /home/dupi/sserver/trunk/rsgedit/src/mainframe.cpp:1458: error: 'class SparkGLCanvas' has no member named 'SetFocus' make[2]: *** [src/CMakeFiles/rsgedit.dir/mainframe.cpp.o] Error 1 make[1]: *** [src/CMakeFiles/rsgedit.dir/all] Error 2 make: *** [all] Error 2 root@dupi-vm-ubuntu:~/sserver/trunk/rsgedit/build# Please, What I doing wrong :) ? Thanks Best Regards Marian Buchta __________ Information from ESET NOD32 Antivirus, version of virus signature database 3827 (20090204) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com _____ ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _____ _______________________________________________ Simspark Generic Physical MAS Simulator simspark-devel mailing list sim...@li... https://lists.sourceforge.net/lists/listinfo/simspark-devel |