From: Hedayat V. <hed...@ai...> - 2009-02-05 06:43:42
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html style="direction: ltr;"> <head> <meta content="text/html;charset=UTF-8" http-equiv="Content-Type"> </head> <body style="direction: ltr;" bgcolor="#ffffff" text="#000000"> Hi Marian,<br> 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.<br> <br> Thanks,<br> Hedayat<br> <span><br> <style type="text/css">blockquote {color: navy !important; background-color: RGB(245,245,245) !important; padding: 0 15 10 15 !important; margin: 15 0 0 0; border-left: #1010ff 2px solid;} blockquote blockquote {color: maroon !important; background-color: RGB(235,235,235) !important; border-left-color:maroon !important} blockquote blockquote blockquote {color: green !important; background-color: RGB(225,225,225) !important; border-left-color:teal !important} blockquote blockquote blockquote blockquote {color: purple !important; background-color: RGB(215,215,215) !important; border-left-color: purple !important} blockquote blockquote blockquote blockquote blockquote {color: teal !important; background-color: RGB(205,205,205) !important; border-left-color: green !important}</style><i><b>"Marian Buchta" <a class="moz-txt-link-rfc2396E" href="mailto:mar...@gm..."><mar...@gm...></a></b></i> wrote on ۰۹/۰۲/۰۵ 04:37:02:</span><br> <blockquote style="border-left: 2px solid rgb(16, 16, 255); color: navy; background-color: rgb(245, 245, 245); padding-left: 15px;" cite="mid:498...@mx..." type="cite"> <meta http-equiv="Content-Type" content="text/html; "> <meta name="Generator" content="Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman","serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only;} @page Section1 {size:612.0pt 792.0pt; margin:70.85pt 70.85pt 70.85pt 70.85pt;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext="edit" spidmax="1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1" /> </o:shapelayout></xml><![endif]--> <div class="Section1"> <p class="MsoNormal"><span lang="EN-US">Hi all.<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">I have problem with compiling of RSGEdit. My steps are following (I use Ubuntu 8.10):<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span lang="EN-US">Install GTK2.0:<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">sudo apt-get install libgtk2.0-dev build-essential<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span lang="EN-US">Download wxWidgets (<a moz-do-not-send="true" href="http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.8.9.zip">http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.8.9.zip</a>):<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">unzip wxWidgets-2.8.9.zip<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">cd wxWidgets-2.8.9<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">mkdir build<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">../configure --with-gtk<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">make<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">sudo make install<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">sudo ldconfig<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span lang="EN-US">Then I set to the rsgedit “build” directory and wrote “cmake ..”:<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">cd trunk/rsgedit<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">mkdir build<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">cd build<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">cmake ..<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span lang="EN-US">Everithing it’s ok, but during compilation it write out this error:<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal">[ 86%] Building CXX object src/CMakeFiles/rsgedit.dir/mainframe.cpp.o<br> In file included from /home/dupi/sserver/trunk/rsgedit/src/mainframe.cpp:22:<br> /home/dupi/sserver/trunk/rsgedit/src/sparkglcanvas.h:39: error: expected class-name before '{' token<br> /home/dupi/sserver/trunk/rsgedit/src/mainframe.cpp: In constructor 'mainframe::mainframe(wxWindow*, int, const wxString&, const wxPoint&, const wxSize&, long int)':<br> /home/dupi/sserver/trunk/rsgedit/src/mainframe.cpp:231: error: 'class SparkGLCanvas' has no member named 'SetLabel'<br> /home/dupi/sserver/trunk/rsgedit/src/mainframe.cpp:232: error: no matching function for call to 'wxFlatNotebook::AddPage(SparkGLCanvas*&, const char [7])'<br> /home/dupi/sserver/trunk/rsgedit/wxutil/include/wx/wxflatnotebook/wxflatnotebook.h:131: note: candidates are: bool wxFlatNotebook::AddPage(wxWindow*, const wxString&, bool, int)<br> /home/dupi/sserver/trunk/rsgedit/src/mainframe.cpp: In member function 'void mainframe::OnClose(wxCloseEvent&)':<br> /home/dupi/sserver/trunk/rsgedit/src/mainframe.cpp:424: error: comparison between distinct pointer types 'wxWindow*' and 'SparkGLCanvas*' lacks a cast<br> /home/dupi/sserver/trunk/rsgedit/src/mainframe.cpp: In member function 'void mainframe::SelectCanvasTab()':<br> /home/dupi/sserver/trunk/rsgedit/src/mainframe.cpp:1121: error: no matching function for call to 'wxFlatNotebook::GetPageIndex(SparkGLCanvas*&)'<br> /home/dupi/sserver/trunk/rsgedit/wxutil/include/wx/wxflatnotebook/wxflatnotebook.h:175: note: candidates are: int wxFlatNotebook::GetPageIndex(wxWindow*) const<br> /home/dupi/sserver/trunk/rsgedit/src/mainframe.cpp:1129: error: 'class SparkGLCanvas' has no member named 'SetFocus'<br> /home/dupi/sserver/trunk/rsgedit/src/mainframe.cpp: In member function 'void mainframe::OnTabClosing(wxFlatNotebookEvent&)':<br> /home/dupi/sserver/trunk/rsgedit/src/mainframe.cpp:1337: error: comparison between distinct pointer types 'wxWindow*' and 'SparkGLCanvas*' lacks a cast<br> /home/dupi/sserver/trunk/rsgedit/src/mainframe.cpp: In member function 'void mainframe::OnTabChanged(wxFlatNotebookEvent&)':<br> /home/dupi/sserver/trunk/rsgedit/src/mainframe.cpp:1456: error: comparison between distinct pointer types 'wxWindow*' and 'SparkGLCanvas*' lacks a cast<br> /home/dupi/sserver/trunk/rsgedit/src/mainframe.cpp:1458: error: 'class SparkGLCanvas' has no member named 'SetFocus'<br> make[2]: *** [src/CMakeFiles/rsgedit.dir/mainframe.cpp.o] Error 1<br> make[1]: *** [src/CMakeFiles/rsgedit.dir/all] Error 2<br> make: *** [all] Error 2<br> root@dupi-vm-ubuntu:~/sserver/trunk/rsgedit/build#<o:p></o:p></p> <p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif";" lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif";" lang="EN-US">Please, What I doing wrong :) ?<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif";" lang="EN-US">Thanks<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif";" lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif";" lang="EN-US">Best Regards<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif";" lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif";" lang="EN-US">Marian Buchta<o:p></o:p></span></p> </div> <br> <br> __________ Information from ESET NOD32 Antivirus, version of virus signature database 3827 (20090204) __________<br> <br> The message was checked by ESET NOD32 Antivirus.<br> <br> <a moz-do-not-send="true" href="http://www.eset.com">http://www.eset.com</a><br> <pre wrap=""> <hr size="4" width="90%"> ------------------------------------------------------------------------------ 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 </pre> <pre wrap=""> <hr size="4" width="90%"> _______________________________________________ Simspark Generic Physical MAS Simulator simspark-devel mailing list <a class="moz-txt-link-abbreviated" href="mailto:sim...@li...">sim...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/simspark-devel">https://lists.sourceforge.net/lists/listinfo/simspark-devel</a> </pre> </blockquote> </body> </html> |