From: Marian B. <mar...@gm...> - 2009-02-06 12:04:35
|
Hi Hedayat, Ubuntu: Thank you for advice about wxwidgets packages. Before I can’t find this package. Installation is now a little bit easier :). Also I update users manual soon. Windows: In Windows platform is situation much complicated. At first at all I must add paths for required libraries (done in Revision 41) for generate VS projects (2008). Then I tried compile of project Simspark. First problem is in missing header files. Temporary I manualy set path to the all header directories of required libraries. After that VS wrote me out around 3800 unresolved errors :D . Problem is in missing library files in projects including system libraries (specially for Windows OS) like wsock32.lib. So my following work is to resolution of this problem by fixing cmake files. Btw, before I commit modify files to the SVN, I always tested this in both OS (Linux-Ubuntu and Windows-Vista). Best Regards Marian From: Hedayat Vatankhah [mailto:hed...@ai...] Sent: Friday, February 06, 2009 9:14 AM To: Marian Buchta Cc: sim...@li... Subject: Re: [simspark-devel] RSGEdit compiling problem Well, apparently you did some work on building simspark under Windows. How is it going?! :) Good luck, Hedayat Hedayat Vatankhah <mailto:hed...@ai...> <hed...@ai...> wrote on ۰۹/۰۲/۰۶ 11:25:46: Hi Marian, :) Thanks a lot! It would be nice if you can update users manual (in rcssserver3d/docs) too. But there is a question in my mind, why you don't use Ubuntu's wxwidgets packages instead of compiling wxWidgets yourself? Specially for instructions for users that would be easier for them. And CMake files should be fixed so that they can detect and report these kinds of problems with wxWidgets :( I'll try to fix them, but if anybody can help that would be great! Can I ask something? Have you tried using cmake on Windows? :) Thanks again, Hedayat "Marian Buchta" <mailto:mar...@gm...> <mar...@gm...> wrote on ۰۹/۰۲/۰۶ 02:06:46: 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 _____ ------------------------------------------------------------------------------ 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 |