From: Marian B. <mar...@gm...> - 2009-01-23 01:00:21
|
Hi all. Sorry for my long delay, but I have a lot of work. So I have not much time for Simspark. As I have read (in rcssserver3d in simspark SVN, what's next?[1]) Windows binaries are out of date. In past, I created binary of rcssserver3D (from last source code from CVS from 29.10.08) and also created Instalation guide for build rcssserver3D for Windows[2]. Instalation guide is out of date because I cannot login to the Wiki (reason is set the permission only for Mr. Oliver Obst). So, Windows build already exists but only from source code of CVS. Ofcourse after migration of Simspark to the SVN (btw, great work Hedayat), Visual Studio 2008 project not work. I modified this project and Simspark successfuly build and tested (simspark, agentspark (new rcssagent3d), monitorspark)[3]. The name of agentspark is old and I change this later. In the near term I upload Visual Studio 2008 project to the SVN. Before upload I post here structure of directories of project. I think, best directory for this project is simspark\trunk\spark\windows\. @Hedayat: If I compare file simspark\trunk\spark\windows\sparkconfig.h from CVS and from SVN, I see different. New file hasn't this define: #define HAVE_IL_IL_H 1 It's necessary for Windows build. Cheers, Marian [1] https://sourceforge.net/mailarchive/message.php?msg_name=fcadf6b00811281425l 23618931maeb8e7a83e206b3%40mail.gmail.com [2] http://simspark.sourceforge.net/wiki/index.php/Installation_on_Windows [3] http://img517.imageshack.us/my.php?image=simsparksvnsj8.jpg |
From: Joschka B. <jos...@am...> - 2009-01-23 06:56:00
|
Hey Marian, On Fri, Jan 23, 2009 at 11:59 AM, Marian Buchta <mar...@gm...> wrote: > As I have read (in rcssserver3d in simspark SVN, what's next?[1]) Windows > binaries are out of date. In past, I created binary of rcssserver3D (from > last source code from CVS from 29.10.08) and also created Instalation guide > for build rcssserver3D for Windows[2]. Instalation guide is out of date > because I cannot login to the Wiki (reason is set the permission only for > Mr. Oliver Obst). Please try the Wiki again. I think I have fixed it (after nudging Oliver to set the permissions; good thing I'm here in Sydney right now, just next to Oliver ;-) ). Note that you have to check "Remember me" when you log in. It seems that the images that were uploaded got lost during the transition to the new SF data center. I guess it only affects the pages Getting Started and Installation on Windows. It seems we have to re-upload those images and maybe correct the links. > Ofcourse after migration of Simspark to the SVN (btw, great work Hedayat), > Visual Studio 2008 project not work. I modified this project and Simspark > successfuly build and tested (simspark, agentspark (new rcssagent3d), > monitorspark)[3]. The name of agentspark is old and I change this later. Great, thanks a lot for this :-) Cheers, Joschka |
From: Marian B. <mar...@gm...> - 2009-01-23 08:46:48
|
Hellou Joschka > Please try the Wiki again. I think I have fixed it (after nudging > Oliver to set the permissions; good thing I'm here in Sydney right > now, just next to Oliver ;-) ). Note that you have to check "Remember > me" when you log in. > > It seems that the images that were uploaded got lost during the > transition to the new SF data center. I guess it only affects the > pages Getting Started and Installation on Windows. It seems we have to > re-upload those images and maybe correct the links. YESSS :))), at last it work. I modified section Installation on Windows and Installation on Linux part "Linux (Ubuntu)". So users can install (download, compile, install) rcssserver3D from the old CVS without any problem (I think :)). As you mentioned, images got lost in section Windows. I don't have images for Rsgedit (later I will create some, if I complile this in Win :) ), but Simspark I have it. Very thanks for nudging :))). Best Regards, Marian __________ Information from ESET NOD32 Antivirus, version of virus signature database 3791 (20090122) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com |
From: Hedayat V. <hed...@ai...> - 2009-01-23 08:25:20
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=UTF-8" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <span>Hi Marian,<br> Thanks a lot for working on this. Yes, after migration Windows and Mac OSX support were expected to break since I don't use them :(.<br> But can I ask you something? A good thing about CMake is that it can generate Visual Studio project files. It would be nice if we can generate VS project files using CMake, then we won't need to maintain VS files which will break from time to time when introducing new features. <br> So, it would be much better if you can try to generate VS project files using cmake and fix the problems in cmake so that the generated files work without any problems. In this case, there is no need to put VS project files in SVN. Also, in this case sparkconfig.h will be generated by CMake. Would you please try it? Thanks in advance! ;) <br> <br> Anyway, please fix windows\sparkconfig.h as required. I don't know why the mentioned line is absent, maybe I've used sparkconfig.h from the old simspark CVS instead of rcssserver3d CVS. :) I've just copied these windows and MacOSX related files blindly. Sorry for that :(<br> <br> Good luck,<br> Hedayat<br> <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 01/23/2009 04:29:58 AM:</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:497...@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;} @font-face {font-family:Consolas; panose-1:2 11 6 9 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-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;} p.MsoPlainText, li.MsoPlainText, div.MsoPlainText {mso-style-priority:99; mso-style-link:"Oby\010Dajn\00FD text Char"; margin:0cm; margin-bottom:.0001pt; font-size:10.5pt; font-family:Consolas;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} span.ObyajntextChar {mso-style-name:"Oby\010Dajn\00FD text Char"; mso-style-priority:99; mso-style-link:"Oby\010Dajn\00FD text"; font-family:Consolas;} .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">Sorry for my long delay, but I have a lot of work. So I have not much time for Simspark. <o:p></o:p></span></p> <p class="MsoNormal">As I have read (in rcssserver3d in simspark SVN, what's next?[1]) Windows binaries are out of date. In past, I created binary of rcssserver3D (from last source code from CVS from 29.10.08) and also created Instalation guide for build rcssserver3D for Windows[2]. Instalation guide is out of date because I cannot login to the Wiki (reason is set the permission only for Mr. Oliver Obst). So, Windows build already exists but only from source code of CVS.<o:p></o:p></p> <p class="MsoNormal">Ofcourse after migration of Simspark to the SVN (btw, great work Hedayat), Visual Studio 2008 project not work. I modified this project and Simspark successfuly build and tested (simspark, agentspark (new rcssagent3d), monitorspark)[3]. The name of agentspark is old and I change this later. <o:p></o:p></p> <p class="MsoNormal">In the near term I upload Visual Studio 2008 project to the SVN. Before upload I post here structure of directories of project. I think, best directory for this project is simspark\trunk\spark\windows\.<o:p></o:p></p> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">@Hedayat: If I compare file simspark\trunk\spark\windows\sparkconfig.h from CVS and from SVN, I see different. New file hasn’t this define: <o:p></o:p></p> <p class="MsoNormal">#define HAVE_IL_IL_H 1<o:p></o:p></p> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">It’s necessary for Windows build.<o:p></o:p></p> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoPlainText">Cheers,<o:p></o:p></p> <p class="MsoNormal">Marian<o:p></o:p></p> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal"><span lang="EN-US">[1] <a moz-do-not-send="true" href="https://sourceforge.net/mailarchive/message.php?msg_name=fcadf6b00811281425l23618931maeb8e7a83e206b3%40mail.gmail.com">https://sourceforge.net/mailarchive/message.php?msg_name=fcadf6b00811281425l23618931maeb8e7a83e206b3%40mail.gmail.com</a> <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">[2] <a moz-do-not-send="true" href="http://simspark.sourceforge.net/wiki/index.php/Installation_on_Windows">http://simspark.sourceforge.net/wiki/index.php/Installation_on_Windows</a> <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">[3] <a moz-do-not-send="true" href="http://img517.imageshack.us/my.php?image=simsparksvnsj8.jpg">http://img517.imageshack.us/my.php?image=simsparksvnsj8.jpg</a> <o:p></o:p></span></p> </div> <br> <br> </blockquote> </body> </html> |
From: Marian B. <mar...@gm...> - 2009-01-23 09:16:28
|
Hi Hedayat, Ok, no problem. I will try it. But first, I must read the Wiki about CMake to know „what going on :)“. Best Regards Marian From: Hedayat Vatankhah [mailto:hed...@ai...] Sent: Friday, January 23, 2009 9:24 AM To: Marian Buchta Cc: sim...@li... Subject: Re: [simspark-devel] Windows build of Simspark Hi Marian, Thanks a lot for working on this. Yes, after migration Windows and Mac OSX support were expected to break since I don't use them :(. But can I ask you something? A good thing about CMake is that it can generate Visual Studio project files. It would be nice if we can generate VS project files using CMake, then we won't need to maintain VS files which will break from time to time when introducing new features. So, it would be much better if you can try to generate VS project files using cmake and fix the problems in cmake so that the generated files work without any problems. In this case, there is no need to put VS project files in SVN. Also, in this case sparkconfig.h will be generated by CMake. Would you please try it? Thanks in advance! ;) Anyway, please fix windows\sparkconfig.h as required. I don't know why the mentioned line is absent, maybe I've used sparkconfig.h from the old simspark CVS instead of rcssserver3d CVS. :) I've just copied these windows and MacOSX related files blindly. Sorry for that :( Good luck, Hedayat "Marian Buchta" <mailto:mar...@gm...> <mar...@gm...> wrote on 01/23/2009 04:29:58 AM: Hi all. Sorry for my long delay, but I have a lot of work. So I have not much time for Simspark. As I have read (in rcssserver3d in simspark SVN, what's next?[1]) Windows binaries are out of date. In past, I created binary of rcssserver3D (from last source code from CVS from 29.10.08) and also created Instalation guide for build rcssserver3D for Windows[2]. Instalation guide is out of date because I cannot login to the Wiki (reason is set the permission only for Mr. Oliver Obst). So, Windows build already exists but only from source code of CVS. Ofcourse after migration of Simspark to the SVN (btw, great work Hedayat), Visual Studio 2008 project not work. I modified this project and Simspark successfuly build and tested (simspark, agentspark (new rcssagent3d), monitorspark)[3]. The name of agentspark is old and I change this later. In the near term I upload Visual Studio 2008 project to the SVN. Before upload I post here structure of directories of project. I think, best directory for this project is simspark\trunk\spark\windows\. @Hedayat: If I compare file simspark\trunk\spark\windows\sparkconfig.h from CVS and from SVN, I see different. New file hasn’t this define: #define HAVE_IL_IL_H 1 It’s necessary for Windows build. Cheers, Marian [1] https://sourceforge.net/mailarchive/message.php?msg_name=fcadf6b00811281425l23618931maeb8e7a83e206b3%40mail.gmail.com [2] http://simspark.sourceforge.net/wiki/index.php/Installation_on_Windows [3] http://img517.imageshack.us/my.php?image=simsparksvnsj8.jpg __________ Information from ESET NOD32 Antivirus, version of virus signature database 3791 (20090122) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com |
From: Hedayat V. <hed...@ai...> - 2009-01-25 14:42:46
|
<!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"> Thanks a lot :) Sorry for lack of information about cmake from my side :) <br> <br> Good luck,<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 ۰۹/۰۱/۲۳ 12:46:19:</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:497...@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;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face {font-family:Consolas; panose-1:2 11 6 9 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif"; color:black;} 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;} p.MsoPlainText, li.MsoPlainText, div.MsoPlainText {mso-style-priority:99; mso-style-link:"Obyčajný text Char"; margin:0cm; margin-bottom:.0001pt; font-size:10.5pt; font-family:Consolas; color:black;} span.ObyajntextChar {mso-style-name:"Obyčajný text Char"; mso-style-priority:99; mso-style-link:"Obyčajný text"; font-family:Consolas;} span.EmailStyle19 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:windowtext;} span.EmailStyle20 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @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 style="color: rgb(31, 73, 125);">Hi Hedayat,<o:p></o:p></span></p> <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Ok, no problem. I will try it. But first, I must read the Wiki about CMake to know „what going on :)“. <o:p></o:p></span></p> <p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p> <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Best Regards<o:p></o:p></span></p> <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Marian<o:p></o:p></span></p> <p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p> <div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0cm 0cm 0cm 4pt;"> <div> <div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;"> <p class="MsoNormal"><b><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">From:</span></b><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"> Hedayat Vatankhah [<a class="moz-txt-link-freetext" href="mailto:hed...@ai...">mailto:hed...@ai...</a>] <br> <b>Sent:</b> Friday, January 23, 2009 9:24 AM<br> <b>To:</b> Marian Buchta<br> <b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:sim...@li...">sim...@li...</a><br> <b>Subject:</b> Re: [simspark-devel] Windows build of Simspark<o:p></o:p></span></p> </div> </div> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">Hi Marian,<br> Thanks a lot for working on this. Yes, after migration Windows and Mac OSX support were expected to break since I don't use them :(.<br> But can I ask you something? A good thing about CMake is that it can generate Visual Studio project files. It would be nice if we can generate VS project files using CMake, then we won't need to maintain VS files which will break from time to time when introducing new features. <br> So, it would be much better if you can try to generate VS project files using cmake and fix the problems in cmake so that the generated files work without any problems. In this case, there is no need to put VS project files in SVN. Also, in this case sparkconfig.h will be generated by CMake. Would you please try it? Thanks in advance! ;) <br> <br> Anyway, please fix windows\sparkconfig.h as required. I don't know why the mentioned line is absent, maybe I've used sparkconfig.h from the old simspark CVS instead of rcssserver3d CVS. :) I've just copied these windows and MacOSX related files blindly. Sorry for that :(<br> <br> Good luck,<br> Hedayat<br> <br> <b><i>"Marian Buchta" <a moz-do-not-send="true" href="mailto:mar...@gm..."><mar...@gm...></a></i></b> wrote on 01/23/2009 04:29:58 AM:<br> <br> <o:p></o:p></p> <p class="MsoNormal" style="background: whitesmoke none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span lang="EN-US">Hi all.</span><o:p></o:p></p> <p class="MsoNormal" style="background: whitesmoke none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span lang="EN-US">Sorry for my long delay, but I have a lot of work. So I have not much time for Simspark. </span><o:p></o:p></p> <p class="MsoNormal" style="background: whitesmoke none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">As I have read (in rcssserver3d in simspark SVN, what's next?[1]) Windows binaries are out of date. In past, I created binary of rcssserver3D (from last source code from CVS from 29.10.08) and also created Instalation guide for build rcssserver3D for Windows[2]. Instalation guide is out of date because I cannot login to the Wiki (reason is set the permission only for Mr. Oliver Obst). So, Windows build already exists but only from source code of CVS.<o:p></o:p></p> <p class="MsoNormal" style="background: whitesmoke none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">Ofcourse after migration of Simspark to the SVN (btw, great work Hedayat), Visual Studio 2008 project not work. I modified this project and Simspark successfuly build and tested (simspark, agentspark (new rcssagent3d), monitorspark)[3]. The name of agentspark is old and I change this later. <o:p></o:p></p> <p class="MsoNormal" style="background: whitesmoke none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">In the near term I upload Visual Studio 2008 project to the SVN. Before upload I post here structure of directories of project. I think, best directory for this project is simspark\trunk\spark\windows\.<o:p></o:p></p> <p class="MsoNormal" style="background: whitesmoke none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"> <o:p></o:p></p> <p class="MsoNormal" style="background: whitesmoke none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">@Hedayat: If I compare file simspark\trunk\spark\windows\sparkconfig.h from CVS and from SVN, I see different. New file hasn’t this define: <o:p></o:p></p> <p class="MsoNormal" style="background: whitesmoke none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">#define HAVE_IL_IL_H 1<o:p></o:p></p> <p class="MsoNormal" style="background: whitesmoke none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"> <o:p></o:p></p> <p class="MsoNormal" style="background: whitesmoke none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">It’s necessary for Windows build.<o:p></o:p></p> <p class="MsoNormal" style="background: whitesmoke none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"> <o:p></o:p></p> <p class="MsoPlainText" style="background: whitesmoke none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="color: navy;">Cheers,<o:p></o:p></span></p> <p class="MsoNormal" style="background: whitesmoke none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">Marian<o:p></o:p></p> <p class="MsoNormal" style="background: whitesmoke none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"> <o:p></o:p></p> <p class="MsoNormal" style="background: whitesmoke none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span lang="EN-US">[1] <a moz-do-not-send="true" href="https://sourceforge.net/mailarchive/message.php?msg_name=fcadf6b00811281425l23618931maeb8e7a83e206b3%40mail.gmail.com">https://sourceforge.net/mailarchive/message.php?msg_name=fcadf6b00811281425l23618931maeb8e7a83e206b3%40mail.gmail.com</a> </span><o:p></o:p></p> <p class="MsoNormal" style="background: whitesmoke none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span lang="EN-US">[2] <a moz-do-not-send="true" href="http://simspark.sourceforge.net/wiki/index.php/Installation_on_Windows">http://simspark.sourceforge.net/wiki/index.php/Installation_on_Windows</a> </span><o:p></o:p></p> <p class="MsoNormal" style="background: whitesmoke none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span lang="EN-US">[3] <a moz-do-not-send="true" href="http://img517.imageshack.us/my.php?image=simsparksvnsj8.jpg">http://img517.imageshack.us/my.php?image=simsparksvnsj8.jpg</a> </span><o:p></o:p></p> <p class="MsoNormal" style="background: whitesmoke none repeat scroll 0%; margin-bottom: 12pt; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><span style="font-size: 12pt; font-family: "Times New Roman","serif"; color: navy;"><o:p> </o:p></span></p> <p class="MsoNormal"><span style="font-size: 12pt; font-family: "Times New Roman","serif";"><br> <br> __________ Information from ESET NOD32 Antivirus, version of virus signature database 3791 (20090122) __________<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><o:p></o:p></span></p> </div> </div> </blockquote> </body> </html> |
From: Marian B. <mar...@gm...> - 2009-02-15 20:13:19
|
Hi Hedayat and all developers. I successfully compiled Spark package in Windows Platform (Vista), but I have a couple questions about it: 1. Following projects need OpenGL extension header files[1]: glext.h – kerosin and imageperceptor glxext.h, wglext.h – kerosin I think it is a good idea to add this header files into Spark in spark/windows/include/GL (e.g. because of #include <GL/wglext.h>) 2. I must add many of “include_directories()” into different projects in Spark. My question is: Variable ${Boost_INCLUDE_DIRS} is required in many cmakelists.txt but not in all. It is better to add this variable to the each project, that are need? Or add this variable in global cmakelists.txt in spark directory? Or following variable is the same as previous: add_definitions(-D_CRT_SECURE_NO_WARNINGS). Not all project need this. 3. So, my major problem. Projects create executable and library files. All libraries are set to dynamic library (SHARED) except libobject and sexp. CMake generate Visual studio (I use 2008) projects. But some projects need STATIC version of other libraries. E.g. Sparkagent is dependent from oxygen, salt and zeitgeist libraries. So, this three libraries must be set to the STATIC (.lib) library. If not, Visual studio write out thousands of linking error. Maybe I found a solution[3] (please read all discusion), but it need many changes in (or redesign) CMmakeLists.txt files. If you have any proposal how to fix it, your wellcome :) . At last some notes: - In some projects I must add add_dependencies(), because I have a example, where one project compiled earlier then other at which first project need library of second project, so I have link error of missing library.. - I replaced old FindBoost.cmake with new one, because of error with finding library path (in ${Boost_LIBRARIES} variable). Old script found both libraries (boost thread and boost regex) but in variable ${Boost_LIBRARIES} was only second found path library. This new script is from new cmake 2.7 from this[2] site (file cmake-2.7.20090210-win32-x86.zip). Some changes (only for Windows compatibility) I uploaded to the SVN. Please, see changelog. Best Regards Marian [1] http://www.opengl.org/registry/ [2] http://www.cmake.org/files/vCVS/ [3] http://www.cmake.org/pipermail/cmake/2009-February/026964.html From: Hedayat Vatankhah [mailto:hed...@ai...] Sent: Sunday, January 25, 2009 3:42 PM To: Marian Buchta Cc: sim...@li... Subject: Re: [simspark-devel] Windows build of Simspark Thanks a lot :) Sorry for lack of information about cmake from my side :) Good luck, Hedayat "Marian Buchta" <mailto:mar...@gm...> <mar...@gm...> wrote on ۰۹/۰۱/۲۳ 12:46:19: Hi Hedayat, Ok, no problem. I will try it. But first, I must read the Wiki about CMake to know „what going on :)“. Best Regards Marian From: Hedayat Vatankhah [mailto:hed...@ai...] Sent: Friday, January 23, 2009 9:24 AM To: Marian Buchta Cc: sim...@li... Subject: Re: [simspark-devel] Windows build of Simspark Hi Marian, Thanks a lot for working on this. Yes, after migration Windows and Mac OSX support were expected to break since I don't use them :(. But can I ask you something? A good thing about CMake is that it can generate Visual Studio project files. It would be nice if we can generate VS project files using CMake, then we won't need to maintain VS files which will break from time to time when introducing new features. So, it would be much better if you can try to generate VS project files using cmake and fix the problems in cmake so that the generated files work without any problems. In this case, there is no need to put VS project files in SVN. Also, in this case sparkconfig.h will be generated by CMake. Would you please try it? Thanks in advance! ;) Anyway, please fix windows\sparkconfig.h as required. I don't know why the mentioned line is absent, maybe I've used sparkconfig.h from the old simspark CVS instead of rcssserver3d CVS. :) I've just copied these windows and MacOSX related files blindly. Sorry for that :( Good luck, Hedayat "Marian Buchta" <mailto:mar...@gm...> <mar...@gm...> wrote on 01/23/2009 04:29:58 AM: Hi all. Sorry for my long delay, but I have a lot of work. So I have not much time for Simspark. As I have read (in rcssserver3d in simspark SVN, what's next?[1]) Windows binaries are out of date. In past, I created binary of rcssserver3D (from last source code from CVS from 29.10.08) and also created Instalation guide for build rcssserver3D for Windows[2]. Instalation guide is out of date because I cannot login to the Wiki (reason is set the permission only for Mr. Oliver Obst). So, Windows build already exists but only from source code of CVS. Ofcourse after migration of Simspark to the SVN (btw, great work Hedayat), Visual Studio 2008 project not work. I modified this project and Simspark successfuly build and tested (simspark, agentspark (new rcssagent3d), monitorspark)[3]. The name of agentspark is old and I change this later. In the near term I upload Visual Studio 2008 project to the SVN. Before upload I post here structure of directories of project. I think, best directory for this project is simspark\trunk\spark\windows\. @Hedayat: If I compare file simspark\trunk\spark\windows\sparkconfig.h from CVS and from SVN, I see different. New file hasn’t this define: #define HAVE_IL_IL_H 1 It’s necessary for Windows build. Cheers, Marian [1] https://sourceforge.net/mailarchive/message.php?msg_name=fcadf6b00811281425l23618931maeb8e7a83e206b3%40mail.gmail.com [2] http://simspark.sourceforge.net/wiki/index.php/Installation_on_Windows [3] http://img517.imageshack.us/my.php?image=simsparksvnsj8.jpg __________ Information from ESET NOD32 Antivirus, version of virus signature database 3791 (20090122) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com |
From: Hedayat V. <hed...@ai...> - 2009-02-16 12:58:31
|
<!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"> <span></span> <p style="margin-bottom: 0cm; margin-top: 0pt;">Hi Marian,</p> <p style="margin-bottom: 0cm; margin-top: 0pt;">Thank you for your efforts :)<br> </p> <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 ۰۹/۰۲/۱۵ 11:42:48:</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:499...@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;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face {font-family:Consolas; panose-1:2 11 6 9 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif"; color:black;} 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;} p.MsoPlainText, li.MsoPlainText, div.MsoPlainText {mso-style-priority:99; mso-style-link:"Obyčajný text Char"; margin:0cm; margin-bottom:.0001pt; font-size:10.5pt; font-family:Consolas; color:black;} span.ObyajntextChar {mso-style-name:"Obyčajný text Char"; mso-style-priority:99; mso-style-link:"Obyčajný text"; font-family:Consolas;} span.EmailStyle19 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:windowtext;} span.EmailStyle20 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:#1F497D;} span.EmailStyle21 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @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" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">Hi Hedayat and all developers.<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">I successfully compiled Spark package in Windows Platform (Vista), but I have a couple questions about it:<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">1. Following projects need OpenGL extension header files[1]:<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">glext.h – kerosin and imageperceptor<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">glxext.h, wglext.h – kerosin<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">I think it is a good idea to add this header files into Spark in spark/windows/include/GL (e.g. because of #include <GL/wglext.h>)</span></p> </div> </blockquote> <p style="margin-bottom: 0cm; margin-top: 0pt;">Sorry, I don't understand why you want to add these header files to the project while they are available in Windows?! What's wrong with the current situation that you've just included these files when compiling in Windows?<br> </p> <p style="margin-bottom: 0cm; margin-top: 0pt;"><br> </p> <blockquote style="border-left: 2px solid rgb(16, 16, 255); color: navy; background-color: rgb(245, 245, 245); padding-left: 15px;" cite="mid:499...@mx..." type="cite"> <div class="Section1"> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">2. I must add many of “include_directories()” into different projects in Spark. My question is: Variable ${Boost_INCLUDE_DIRS} is required in many cmakelists.txt but not in all. It is better to add this variable to the each project, that are need? Or add this variable in global cmakelists.txt in spark directory? Or following variable is the same as previous: add_definitions(-D_CRT_SECURE_NO_WARNINGS). Not all project need this.</span></p> </div> </blockquote> <p style="margin-bottom: 0cm; margin-top: 0pt;">I think such flags should be added globally. <br> </p> <p style="margin-bottom: 0cm; margin-top: 0pt;"><br> </p> <blockquote style="border-left: 2px solid rgb(16, 16, 255); color: navy; background-color: rgb(245, 245, 245); padding-left: 15px;" cite="mid:499...@mx..." type="cite"> <div class="Section1"> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">3. So, my major problem. Projects create executable and library files. All libraries are set to dynamic library (SHARED) except libobject and sexp. CMake generate Visual studio (I use 2008) projects. But some projects need STATIC version of other libraries. E.g. Sparkagent is dependent from oxygen, salt and zeitgeist libraries. So, this three libraries must be set to the STATIC (.lib) library. If not, Visual studio write out thousands of linking error. Maybe I found a solution[3] (please read all discusion), but it need many changes in (or redesign) CMmakeLists.txt files. If you have any proposal how to fix it, your wellcome :) .</span></p> </div> </blockquote> <p style="margin-bottom: 0cm; margin-top: 0pt;">Sorry :( Why some libraries should be static?! Can't we link sparkagent with oxygen, salt and zeitgeist dynamic libraries just as what we do in Linux? Isn't it possible to add those libraries to target_link_libraries(sparkagent)?! IMHO its not reasonable to link sparkagent with static oxygen, salt and zeitgeist libraries. It will waste space.</p> <p style="margin-bottom: 0cm; margin-top: 0pt;"><br> </p> <p style="margin-bottom: 0cm; margin-top: 0pt;"><br> </p> <blockquote style="border-left: 2px solid rgb(16, 16, 255); color: navy; background-color: rgb(245, 245, 245); padding-left: 15px;" cite="mid:499...@mx..." type="cite"> <div class="Section1"> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"> <o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">At last some notes:<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">- In some projects I must add add_dependencies(), because I have a example, where one project compiled earlier then other at which first project need library of second project, so I have link error of missing library..</span></p> </div> </blockquote> <p style="margin-bottom: 0cm; margin-top: 0pt;">I don't remember right now, but maybe its enough to add those libraries to target_link_libraries command?!<br> </p> <p style="margin-bottom: 0cm; margin-top: 0pt;"><br> </p> <blockquote style="border-left: 2px solid rgb(16, 16, 255); color: navy; background-color: rgb(245, 245, 245); padding-left: 15px;" cite="mid:499...@mx..." type="cite"> <div class="Section1"> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">- I replaced old FindBoost.cmake with new one, because of error with finding library path (in ${Boost_LIBRARIES} variable). Old script found both libraries (boost thread and boost regex) but in variable ${Boost_LIBRARIES} was only second found path library. This new script is from new cmake 2.7 from this[2] site (file cmake-2.7.20090210-win32-x86.zip).<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">Some changes (only for Windows compatibility) I uploaded to the SVN. Please, see changelog.</span></p> </div> </blockquote> <p style="margin-bottom: 0cm; margin-top: 0pt;"><br> </p> <p style="margin-bottom: 0cm; margin-top: 0pt;">Thanks again,</p> <p style="margin-bottom: 0cm; margin-top: 0pt;">Hedayat<br> </p> <blockquote style="border-left: 2px solid rgb(16, 16, 255); color: navy; background-color: rgb(245, 245, 245); padding-left: 15px;" cite="mid:499...@mx..." type="cite"> <div class="Section1"> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">Best Regards<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">Marian<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">[1] <a moz-do-not-send="true" href="http://www.opengl.org/registry/">http://www.opengl.org/registry/</a> <o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">[2] <a moz-do-not-send="true" href="http://www.cmake.org/files/vCVS/">http://www.cmake.org/files/vCVS/</a> <o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">[3] <a moz-do-not-send="true" href="http://www.cmake.org/pipermail/cmake/2009-February/026964.html">http://www.cmake.org/pipermail/cmake/2009-February/026964.html</a> <o:p></o:p></span></p> <p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p> </div> </blockquote> <br> <br> </body> </html> |
From: Marian B. <mar...@gm...> - 2009-02-16 14:47:56
|
Hi. On Mon, Feb 16, 2009 at 1:56 PM, Hedayat Vatankhah <hed...@ai...>wrote: > Hi Marian, > > Thank you for your efforts :) > > *"Marian Buchta" <mar...@gm...> <mar...@gm...>*wrote on ۰۹/۰۲/۱۵ 11:42:48: > > Hi Hedayat and all developers. > > I successfully compiled Spark package in Windows Platform (Vista), but I > have a couple questions about it: > > 1. Following projects need OpenGL extension header files[1]: > > glext.h – kerosin and imageperceptor > > glxext.h, wglext.h – kerosin > > I think it is a good idea to add this header files into Spark in > spark/windows/include/GL (e.g. because of #include <GL/wglext.h>) > > Sorry, I don't understand why you want to add these header files to the > project while they are available in Windows?! What's wrong with the current > situation that you've just included these files when compiling in Windows? > Files, that I mention above (glext.h, glxext.h, wglext.h) are not available in Windows (XP or Vista) by default. Also they are not available after installed Visual Studio or Microsoft Vistual C++ 2008 Redistributable Package. VS 2008 include only files gl.h and glu.h. For that reason this files must be downloaded from this[1] site. I think, we have two possibilities: - add this files into project spark - user will download this files from[1] site, copy them to the e.g. C:\library\OpenGL\GL, add path to them and compile project. What do you think? > > > > 2. I must add many of "include_directories()" into different projects in > Spark. My question is: Variable ${Boost_INCLUDE_DIRS} is required in many > cmakelists.txt but not in all. It is better to add this variable to the each > project, that are need? Or add this variable in global cmakelists.txt in > spark directory? Or following variable is the same as previous: > add_definitions(-D_CRT_SECURE_NO_WARNINGS). Not all project need this. > > I think such flags should be added globally. > Ok , thanks. > > > > > 3. So, my major problem. Projects create executable and library files. All > libraries are set to dynamic library (SHARED) except libobject and sexp. > CMake generate Visual studio (I use 2008) projects. But some projects need > STATIC version of other libraries. E.g. Sparkagent is dependent from oxygen, > salt and zeitgeist libraries. So, this three libraries must be set to the > STATIC (.lib) library. If not, Visual studio write out thousands of linking > error. Maybe I found a solution[3] (please read all discusion), but it need > many changes in (or redesign) CMmakeLists.txt files. If you have any > proposal how to fix it, your wellcome :) . > > Sorry :( Why some libraries should be static?! Can't we link sparkagent > with oxygen, salt and zeitgeist dynamic libraries just as what we do in > Linux? Isn't it possible to add those libraries to > target_link_libraries(sparkagent)?! IMHO its not reasonable to link > sparkagent with static oxygen, salt and zeitgeist libraries. It will waste > space. > You have right. I tried figure out how to resolve this problem. Thank you for idea. > > > > > At last some notes: > > - In some projects I must add add_dependencies(), because I have a example, > where one project compiled earlier then other at which first project need > library of second project, so I have link error of missing library.. > > I don't remember right now, but maybe its enough to add those libraries to > target_link_libraries command?! > > > - I replaced old FindBoost.cmake with new one, because of error with > finding library path (in ${Boost_LIBRARIES} variable). Old script found both > libraries (boost thread and boost regex) but in variable ${Boost_LIBRARIES} > was only second found path library. This new script is from new cmake 2.7 > from this[2] site (file cmake-2.7.20090210-win32-x86.zip). > > > > Some changes (only for Windows compatibility) I uploaded to the SVN. > Please, see changelog. > > > Thanks again, > > Hedayat > > > > Best Regards > > Marian > > > > [1] http://www.opengl.org/registry/ > > [2] http://www.cmake.org/files/vCVS/ > > [3] http://www.cmake.org/pipermail/cmake/2009-February/026964.html > > > > Thank you, Marian |
From: Hedayat V. <hed...@ai...> - 2009-02-16 17:16:54
|
<!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,<span><br> <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 ۰۹/۰۲/۱۶ 06:17:50:</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:598...@ma..." type="cite">Hi.<br> <br> <div class="gmail_quote">On Mon, Feb 16, 2009 at 1:56 PM, Hedayat Vatankhah <span dir="ltr"><<a moz-do-not-send="true" href="mailto:hed...@ai...">hed...@ai...</a>></span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div style="direction: ltr;" bgcolor="#ffffff" text="#000000"><span></span> <p style="margin-bottom: 0cm; margin-top: 0pt;">Hi Marian,</p> <p style="margin-bottom: 0cm; margin-top: 0pt;">Thank you for your efforts :)<br> </p> <span><br> <i><b>"Marian Buchta" <a moz-do-not-send="true" href="mailto:mar...@gm..." target="_blank"><mar...@gm...></a></b></i> wrote on ۰۹/۰۲/۱۵ 11:42:48:</span> <div class="Ih2E3d"><br> <blockquote style="border-left: 2px solid rgb(16, 16, 255); color: navy; background-color: rgb(245, 245, 245); padding-left: 15px;" type="cite"> <div> <p style="margin-left: 5.25pt;"><span style="font-size: 10pt; color: windowtext;">Hi Hedayat and all developers.</span></p> <p style="margin-left: 5.25pt;"><span style="font-size: 10pt; color: windowtext;">I successfully compiled Spark package in Windows Platform (Vista), but I have a couple questions about it:</span></p> <p style="margin-left: 5.25pt;"><span style="font-size: 10pt; color: windowtext;">1. Following projects need OpenGL extension header files[1]:</span></p> <p style="margin-left: 5.25pt;"><span style="font-size: 10pt; color: windowtext;">glext.h – kerosin and imageperceptor</span></p> <p style="margin-left: 5.25pt;"><span style="font-size: 10pt; color: windowtext;">glxext.h, wglext.h – kerosin</span></p> <p style="margin-left: 5.25pt;"><span style="font-size: 10pt; color: windowtext;">I think it is a good idea to add this header files into Spark in spark/windows/include/GL (e.g. because of #include <GL/wglext.h>)</span></p> </div> </blockquote> </div> <p style="margin-bottom: 0cm; margin-top: 0pt;">Sorry, I don't understand why you want to add these header files to the project while they are available in Windows?! What's wrong with the current situation that you've just included these files when compiling in Windows?</p> </div> </blockquote> <div><br> Files, that I mention above (glext.h, glxext.h, wglext.h) are not available in Windows (XP or Vista) by default. Also they are not available after installed Visual Studio or Microsoft Vistual C++ 2008 Redistributable Package. VS 2008 include only files gl.h and glu.h. For that reason this files must be downloaded from this[1] site. I think, we have two possibilities:<br> - add this files into project spark<br> - user will download this files from[1] site, copy them to the e.g. C:\library\OpenGL\GL, add path to them and compile project.<br> What do you think?<br> </div> </div> </blockquote> Thanks for the explanation :). So, I agree with you about putting those files in the mentioned path inside spark.<br> <br> <br> <blockquote style="border-left: 2px solid rgb(16, 16, 255); color: navy; background-color: rgb(245, 245, 245); padding-left: 15px;" cite="mid:598...@ma..." type="cite"> <div class="gmail_quote"> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div style="direction: ltr;" bgcolor="#ffffff" text="#000000"> <div class="Ih2E3d"> <blockquote style="border-left: 2px solid rgb(16, 16, 255); color: navy; background-color: rgb(245, 245, 245); padding-left: 15px;" type="cite"> <div> <p style="margin-left: 5.25pt;"><span style="font-size: 10pt; color: windowtext;"></span></p> ...</div> </blockquote> </div> </div> </blockquote> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div style="direction: ltr;" bgcolor="#ffffff" text="#000000"> <div class="Ih2E3d"> <blockquote style="border-left: 2px solid rgb(16, 16, 255); color: navy; background-color: rgb(245, 245, 245); padding-left: 15px;" type="cite"> <div> <p style="margin-left: 5.25pt;"><span style="font-size: 10pt; color: windowtext;"></span></p> <p style="margin-left: 5.25pt;"><span style="font-size: 10pt; color: windowtext;"> </span></p> <p style="margin-left: 5.25pt;"><span style="font-size: 10pt; color: windowtext;">3. So, my major problem. Projects create executable and library files. All libraries are set to dynamic library (SHARED) except libobject and sexp. CMake generate Visual studio (I use 2008) projects. But some projects need STATIC version of other libraries. E.g. Sparkagent is dependent from oxygen, salt and zeitgeist libraries. So, this three libraries must be set to the STATIC (.lib) library. If not, Visual studio write out thousands of linking error. Maybe I found a solution[3] (please read all discusion), but it need many changes in (or redesign) CMmakeLists.txt files. If you have any proposal how to fix it, your wellcome :) .</span></p> </div> </blockquote> </div> <p style="margin-bottom: 0cm; margin-top: 0pt;">Sorry :( Why some libraries should be static?! Can't we link sparkagent with oxygen, salt and zeitgeist dynamic libraries just as what we do in Linux? Isn't it possible to add those libraries to target_link_libraries(sparkagent)?! IMHO its not reasonable to link sparkagent with static oxygen, salt and zeitgeist libraries. It will waste space.</p> </div> </blockquote> <div><br> You have right. I tried figure out how to resolve this problem. Thank you for idea.<br> </div> </div> </blockquote> :) Great!<br> <span style="font-size: 10pt; color: windowtext;"> </span> <blockquote style="border-left: 2px solid rgb(16, 16, 255); color: navy; background-color: rgb(245, 245, 245); padding-left: 15px;" cite="mid:598...@ma..." type="cite"> <div class="gmail_quote"> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div style="direction: ltr;" bgcolor="#ffffff" text="#000000"> <div class="Ih2E3d"> <blockquote style="border-left: 2px solid rgb(16, 16, 255); color: navy; background-color: rgb(245, 245, 245); padding-left: 15px;" type="cite"> <div> <p style="margin-left: 5.25pt;"><span style="font-size: 10pt; color: windowtext;"> </span></p> ...</div> </blockquote> </div> </div> </blockquote> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div style="direction: ltr;" bgcolor="#ffffff" text="#000000"> <div class="Ih2E3d"> <blockquote style="border-left: 2px solid rgb(16, 16, 255); color: navy; background-color: rgb(245, 245, 245); padding-left: 15px;" type="cite"> <div> <p><span style="color: rgb(31, 73, 125);"> </span></p> </div> </blockquote> </div> </div> </blockquote> <div>Thank you,<br> Marian <br> </div> </div> <br> </blockquote> <br> Good luck,<br> Hedayat<br> </body> </html> |