From: Marian B. <mar...@gm...> - 2009-07-24 19:31:00
|
Hi all. In trunk\rcssserver3d\cmake\ are useless (I think) files: FindBoost.cmake FindDevIL.cmake FindFreetype.cmake FindODE.cmake UseLATEX.cmake The same files are in trunk\spark\cmake . To get this files just modify trunk\rcssserver3d\CMakeLists.txt line 12: from: set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/) to: set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/ ${CMAKE_SOURCE_DIR}/../spark/cmake/) OR we need this files because spark and rcssserver3d are two "independent" projects? Thank for response. Best Regards Marian Buchta |
From: Hedayat V. <hed...@ai...> - 2009-07-25 11:16:12
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> <title></title> </head> <body text="#000000" bgcolor="#ffffff"> Hi Marian,<br> Thank you for the answer. I think some MacOSX compatibility changes has made it mandatory. OK!<br> <br> I'm going to fix these problems in Windows build:<br> 1. Detecting the correct ODE flags from its library name<br> 2. Copying required dlls (and maybe some extra dlls) to the bin/ directory automatically<br> 3. Add a .bat file for executable files to set correct PATH so that they can find required simspark/rcssserver3d dlls. (or maybe setting system environment variables in the installer).<br> <br> And something I forgot last night: If you build the PACKAGE project in VS, it'll create both a .zip package and also an .exe installer package for the project. (You'll end up with 2 installers, one for simspark and another for rcssserver3d).<br> <br> Good luck and thank you Marian and Yuan for your interest!<br> Hedayat<br> <br> On ۰۹/۰۷/۲۵ 10:39, Marian Buchta wrote: <blockquote cite="mid:4a6...@mx..." type="cite"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="Generator" content="Microsoft Word 12 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--> <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;} pre {mso-style-priority:99; mso-style-link:"Predformátované HTML Char"; margin:0cm; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Courier New"; color:black;} span.EmailStyle17 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:windowtext;} span.PredformtovanHTMLChar {mso-style-name:"Predformátované HTML Char"; mso-style-priority:99; mso-style-link:"Predformátované HTML"; font-family:"Consolas","serif"; color:black;} 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:72.0pt 72.0pt 72.0pt 72.0pt;} 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);"><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;">Od:</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>Odoslané:</b> 25. júla 2009 0:29<br> <b>Komu:</b> Marian Buchta<br> <b>Predmet:</b> Re: [simspark-devel] Delete some cmake files?<o:p></o:p></span></p> </div> </div> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">Hi Marian,<br> <br> On <span style="font-family: "Arial","sans-serif";">۰۹</span>/<span style="font-family: "Arial","sans-serif";">۰۷</span>/<span style="font-family: "Arial","sans-serif";">۲۵</span> 12:00, Marian Buchta wrote: <o:p></o:p></p> <p class="MsoNormal"><span lang="EN-US">Hi all.</span><o:p></o:p></p> <p class="MsoNormal"><span lang="EN-US">In trunk\rcssserver3d\cmake\ are useless (I think) files:</span><o:p></o:p></p> <p class="MsoNormal"><a moz-do-not-send="true" name="FindBoost.cmake">FindBoost.cmake</a><o:p></o:p></p> <p class="MsoNormal"><a moz-do-not-send="true" name="FindDevIL.cmake">FindDevIL.cmake</a><o:p></o:p></p> <p class="MsoNormal"><a moz-do-not-send="true" name="FindFreetype.cmake">FindFreetype.cmake</a><o:p></o:p></p> <p class="MsoNormal"><a moz-do-not-send="true" name="FindODE.cmake">FindODE.cmake</a><o:p></o:p></p> <p class="MsoNormal"><a moz-do-not-send="true" name="UseLATEX.cmake">UseLATEX.cmake</a><o:p></o:p></p> <p class="MsoNormal"> <o:p></o:p></p> <p class="MsoNormal">The same files are in trunk\spark\cmake . To get this files just modify trunk\rcssserver3d\CMakeLists.txt line 12: <o:p></o:p></p> <p class="MsoNormal">from: <o:p></o:p></p> <p class="MsoNormal">set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/)<o:p></o:p></p> <p class="MsoNormal">to: <o:p></o:p></p> <p class="MsoNormal">set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/ ${CMAKE_SOURCE_DIR}/../spark/cmake/)<o:p></o:p></p> <p class="MsoNormal"> <o:p></o:p></p> <p class="MsoNormal">OR we need this files because spark and rcssserver3d are two „independent“ projects<span lang="EN-US">?</span><o:p></o:p></p> <p class="MsoNormal"><span style="font-size: 12pt; font-family: "Times New Roman","serif";">Yes. Such change will force the user to have the sources of both rcssserver3d and spark, and in the same directory. And this change will remove the current independent nature of these codes. I think those duplicated files do not hurt and their presence will make the codes much cleaner! Specially as they hopefully will be removed in future (for example, FindBoost should be removed soon). <br> <br> </span><span style="font-size: 12pt; font-family: "Times New Roman","serif"; color: rgb(31, 73, 125);"><o:p></o:p></span></p> <p class="MsoNormal"><span style="font-size: 12pt; font-family: "Times New Roman","serif";">And a question, was FindBoost and FindFreetype really needed in rcssserver3d? Since I remember that I have built rcssserver3d on windows without including them in rcssserver3d.<br> <br> </span><span style="font-size: 12pt; font-family: "Times New Roman","serif"; color: rgb(31, 73, 125);"><o:p></o:p></span></p> <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Without this two files, I get this error:<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" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);">C:\simspark\trunk\rcssserver3d\build> path=%path%;C:\cmake-2.6.4-win32-x86\bin\<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);">C:\simspark\trunk\rcssserver3d\build>cmake -DCMAKE_BUILD_TYPE="Release" -G "Visu<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);">al Studio 9 2008" "C:\simspark\trunk\rcssserver3d"<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);">-- Check for working CXX compiler: cl<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);">-- Check for working CXX compiler: cl -- works<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);">-- Detecting CXX compiler ABI info<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);">-- Detecting CXX compiler ABI info - done<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);">-- Check for working C compiler: cl<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);">-- Check for working C compiler: cl -- works<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);">-- Detecting C compiler ABI info<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);">-- Detecting C compiler ABI info - done<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);">-- Looking for sys/socket.h<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);">-- Looking for sys/socket.h - not found<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);">-- Looking for netinet/in.h<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);">-- Looking for netinet/in.h - not found<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);">-- Looking for arpa/inet.h<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);">-- Looking for arpa/inet.h - not found<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);">-- Found SPARK: C:/Program Files/simspark/lib/simspark/spark.lib<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);">-- Found SALT: C:/Program Files/simspark/lib/simspark/salt.lib<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);">-- Found ZEITGEIST: C:/Program Files/simspark/lib/simspark/zeitgeist.lib<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);">-- Found OXYGEN: C:/Program Files/simspark/lib/simspark/oxygen.lib<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);">-- Found KEROSIN: C:/Program Files/simspark/lib/simspark/kerosin.lib<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);">-- Found RCSSNET3D: C:/Program Files/simspark/lib/simspark/rcssnet3D.lib<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);">CMake Error at C:/cmake-2.6.4-win32-x86/share/cmake-2.6/Modules/FindPackageHandl<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);">eStandardArgs.cmake:57 (MESSAGE):<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);"> Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS)<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);">Call Stack (most recent call first):<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);"> C:/cmake-2.6.4-win32-x86/share/cmake-2.6/Modules/FindFreetype.cmake:79 (FIND_P<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);">ACKAGE_HANDLE_STANDARD_ARGS)<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);"> CMakeLists.txt:16 (find_package)<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);">-- Configuring incomplete, errors occurred!<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 5.25pt;"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p> <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">C:\simspark\trunk\rcssserver3d\build><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="font-size: 12pt; font-family: "Times New Roman","serif"; color: rgb(31, 73, 125);">I use zip file of Boost and CMake (so no installation). I follow instructions on simspark wiki [1].<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-size: 12pt; font-family: "Times New Roman","serif";"><br> Thanks<br> Hedayat<br> <br> <br> <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p> <p class="MsoNormal"><span lang="EN-US">Thank for response.</span><o:p></o:p></p> <p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p> <p class="MsoNormal"><span lang="EN-US">Best Regards</span><o:p></o:p></p> <p class="MsoNormal"><span lang="EN-US">Marian Buchta</span><o:p></o:p></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 4275 (20090724) __________<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> <br> <o:p></o:p></span></p> <pre style="text-align: center;"> <hr size="4" width="90%" align="center"> </pre> <pre><o:p> </o:p></pre> <pre>------------------------------------------------------------------------------<o:p></o:p></pre> <pre> <o:p></o:p></pre> <pre style="text-align: center;"> <hr size="4" width="90%" align="center"> </pre> <pre><o:p> </o:p></pre> <pre>_______________________________________________<o:p></o:p></pre> <pre>Simspark Generic Physical MAS Simulator<o:p></o:p></pre> <pre>simspark-devel mailing list<o:p></o:p></pre> <pre><a moz-do-not-send="true" href="mailto:sim...@li...">sim...@li...</a><o:p></o:p></pre> <pre><a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/simspark-devel">https://lists.sourceforge.net/lists/listinfo/simspark-devel</a><o:p></o:p></pre> <pre> <o:p></o:p></pre> <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 4275 (20090724) __________<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> <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);">[1] <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 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 Buchta<o:p></o:p></span></p> </div> </div> <br> <br> __________ Information from ESET NOD32 Antivirus, version of virus signature database 4275 (20090724) __________<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> </blockquote> </body> </html> |
From: Marian B. <mar...@gm...> - 2009-07-26 20:36:35
|
Hi Hedayad. On Sat, Jul 25, 2009 at 1:12 PM, Hedayat Vatankhah <hed...@ai...>wrote: > Hi Marian, > Thank you for the answer. I think some MacOSX compatibility changes has > made it mandatory. OK! > > I'm going to fix these problems in Windows build: > 1. Detecting the correct ODE flags from its library name > 2. Copying required dlls (and maybe some extra dlls) to the bin/ directory > automatically > Thank for that. Working really good :) . From my experience on different operating systems (XP, Vista and 7), rcssserver3d sometimes needs also msvcrt-ruby18.dll (or msvcrt-ruby191.dll). Also I have question about directory bin. Actually all this external libraries are copying into bin/ directory. I think this directory is primary for executable files. Maybe it would be better copy this files to the directory lib/ (etc. lib/others , lib/external or else). What do you think? > > 3. Add a .bat file for executable files to set correct PATH so that they > can find required simspark/rcssserver3d dlls. (or maybe setting system > environment variables in the installer). > Good idea. Last year (16.9.08) I wrote email to Markus (Rollman) about to create a script, who copy all project files (old rcssserver3d v0.6 in CVS). Markus prefer *.cmd file instead of *.bat file (this associeates the script with cmd.exe instead of the old command.com interpreter). Also could we provide the external libraries as a separate downloadable .zip? Because creating of libs / dlls takes a lot of time. > > > And something I forgot last night: If you build the PACKAGE project in VS, > it'll create both a .zip package and also an .exe installer package for the > project. (You'll end up with 2 installers, one for simspark and another for > rcssserver3d). > > Good luck and thank you Marian and Yuan for your interest! > Hedayat > > > On ۰۹/۰۷/۲۵ 10:39, Marian Buchta wrote: > > Hi Hedayat. > > > > *Od:* Hedayat Vatankhah [mailto:hed...@ai... <hed...@ai...>] > *Odoslané:* 25. júla 2009 0:29 > *Komu:* Marian Buchta > *Predmet:* Re: [simspark-devel] Delete some cmake files? > > > > Hi Marian, > > On ۰۹/۰۷/۲۵ 12:00, Marian Buchta wrote: > > Hi all. > > In trunk\rcssserver3d\cmake\ are useless (I think) files: > > FindBoost.cmake > > FindDevIL.cmake > > FindFreetype.cmake > > FindODE.cmake > > UseLATEX.cmake > > > > The same files are in trunk\spark\cmake . To get this files just modify > trunk\rcssserver3d\CMakeLists.txt line 12: > > from: > > set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/) > > to: > > set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/ > ${CMAKE_SOURCE_DIR}/../spark/cmake/) > > > > OR we need this files because spark and rcssserver3d are two „independent“ > projects? > > Yes. Such change will force the user to have the sources of both > rcssserver3d and spark, and in the same directory. And this change will > remove the current independent nature of these codes. I think those > duplicated files do not hurt and their presence will make the codes much > cleaner! Specially as they hopefully will be removed in future (for example, > FindBoost should be removed soon). > > And a question, was FindBoost and FindFreetype really needed in > rcssserver3d? Since I remember that I have built rcssserver3d on windows > without including them in rcssserver3d. > > Without this two files, I get this error: > > > > C:\simspark\trunk\rcssserver3d\build> > path=%path%;C:\cmake-2.6.4-win32-x86\bin\ > > > > C:\simspark\trunk\rcssserver3d\build>cmake -DCMAKE_BUILD_TYPE="Release" -G > "Visu > > al Studio 9 2008" "C:\simspark\trunk\rcssserver3d" > > -- Check for working CXX compiler: cl > > -- Check for working CXX compiler: cl -- works > > -- Detecting CXX compiler ABI info > > -- Detecting CXX compiler ABI info - done > > -- Check for working C compiler: cl > > -- Check for working C compiler: cl -- works > > -- Detecting C compiler ABI info > > -- Detecting C compiler ABI info - done > > -- Looking for sys/socket.h > > -- Looking for sys/socket.h - not found > > -- Looking for netinet/in.h > > -- Looking for netinet/in.h - not found > > -- Looking for arpa/inet.h > > -- Looking for arpa/inet.h - not found > > -- Found SPARK: C:/Program Files/simspark/lib/simspark/spark.lib > > -- Found SALT: C:/Program Files/simspark/lib/simspark/salt.lib > > -- Found ZEITGEIST: C:/Program Files/simspark/lib/simspark/zeitgeist.lib > > -- Found OXYGEN: C:/Program Files/simspark/lib/simspark/oxygen.lib > > -- Found KEROSIN: C:/Program Files/simspark/lib/simspark/kerosin.lib > > -- Found RCSSNET3D: C:/Program Files/simspark/lib/simspark/rcssnet3D.lib > > CMake Error at > C:/cmake-2.6.4-win32-x86/share/cmake-2.6/Modules/FindPackageHandl > > eStandardArgs.cmake:57 (MESSAGE): > > Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS) > > Call Stack (most recent call first): > > C:/cmake-2.6.4-win32-x86/share/cmake-2.6/Modules/FindFreetype.cmake:79 > (FIND_P > > ACKAGE_HANDLE_STANDARD_ARGS) > > CMakeLists.txt:16 (find_package) > > > > > > -- Configuring incomplete, errors occurred! > > > > C:\simspark\trunk\rcssserver3d\build> > > > > I use zip file of Boost and CMake (so no installation). I follow > instructions on simspark wiki [1]. > > > Thanks > Hedayat > > > > > Thank for response. > > > > Best Regards > > Marian Buchta > > > > __________ Information from ESET NOD32 Antivirus, version of virus > signature database 4275 (20090724) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > ------------------------------ > > > > > ------------------------------------------------------------------------------ > > > > ------------------------------ > > > > > _______________________________________________ > > Simspark Generic Physical MAS Simulator > > simspark-devel mailing list > > sim...@li... > > https://lists.sourceforge.net/lists/listinfo/simspark-devel > > > > > > __________ Information from ESET NOD32 Antivirus, version of virus > signature database 4275 (20090724) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > > > [1] http://simspark.sourceforge.net/wiki/index.php/Installation_on_Windows > > > > Best Regards, > > Marian Buchta > > > __________ Information from ESET NOD32 Antivirus, version of virus > signature database 4275 (20090724) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > |
From: Marian B. <mar...@gm...> - 2009-07-26 20:40:42
|
Hi. I forget... I updated simspark wiki for Simspark (Windows part) revision 75. Best Regards, Marian Buchta On Sun, Jul 26, 2009 at 10:36 PM, Marian Buchta <mar...@gm...>wrote: > Hi Hedayad. > > On Sat, Jul 25, 2009 at 1:12 PM, Hedayat Vatankhah <hed...@ai...>wrote: > >> Hi Marian, >> Thank you for the answer. I think some MacOSX compatibility changes has >> made it mandatory. OK! >> >> I'm going to fix these problems in Windows build: >> 1. Detecting the correct ODE flags from its library name >> > 2. Copying required dlls (and maybe some extra dlls) to the bin/ directory >> automatically >> > > Thank for that. Working really good :) . From my experience on different > operating systems (XP, Vista and 7), rcssserver3d sometimes needs also > msvcrt-ruby18.dll (or msvcrt-ruby191.dll). > Also I have question about directory bin. Actually all this external > libraries are copying into bin/ directory. I think this directory is primary > for executable files. Maybe it would be better copy this files to the > directory lib/ (etc. lib/others , lib/external or else). What do you think? > > >> >> 3. Add a .bat file for executable files to set correct PATH so that they >> can find required simspark/rcssserver3d dlls. (or maybe setting system >> environment variables in the installer). >> > > Good idea. Last year (16.9.08) I wrote email to Markus (Rollman) about to > create a script, who copy all project files (old rcssserver3d v0.6 in CVS). > Markus prefer *.cmd file instead of *.bat file (this associeates the script > with cmd.exe instead of the old command.com interpreter). > Also could we provide the external libraries as a separate downloadable > .zip? Because creating of libs / dlls takes a lot of time. > > >> >> >> And something I forgot last night: If you build the PACKAGE project in VS, >> it'll create both a .zip package and also an .exe installer package for the >> project. (You'll end up with 2 installers, one for simspark and another for >> rcssserver3d). >> >> Good luck and thank you Marian and Yuan for your interest! >> Hedayat >> >> >> On ۰۹/۰۷/۲۵ 10:39, Marian Buchta wrote: >> >> Hi Hedayat. >> >> >> >> *Od:* Hedayat Vatankhah [mailto:hed...@ai... <hed...@ai...>] >> *Odoslané:* 25. júla 2009 0:29 >> *Komu:* Marian Buchta >> *Predmet:* Re: [simspark-devel] Delete some cmake files? >> >> >> >> Hi Marian, >> >> On ۰۹/۰۷/۲۵ 12:00, Marian Buchta wrote: >> >> Hi all. >> >> In trunk\rcssserver3d\cmake\ are useless (I think) files: >> >> FindBoost.cmake >> >> FindDevIL.cmake >> >> FindFreetype.cmake >> >> FindODE.cmake >> >> UseLATEX.cmake >> >> >> >> The same files are in trunk\spark\cmake . To get this files just modify >> trunk\rcssserver3d\CMakeLists.txt line 12: >> >> from: >> >> set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/) >> >> to: >> >> set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/ >> ${CMAKE_SOURCE_DIR}/../spark/cmake/) >> >> >> >> OR we need this files because spark and rcssserver3d are two „independent“ >> projects? >> >> Yes. Such change will force the user to have the sources of both >> rcssserver3d and spark, and in the same directory. And this change will >> remove the current independent nature of these codes. I think those >> duplicated files do not hurt and their presence will make the codes much >> cleaner! Specially as they hopefully will be removed in future (for example, >> FindBoost should be removed soon). >> >> And a question, was FindBoost and FindFreetype really needed in >> rcssserver3d? Since I remember that I have built rcssserver3d on windows >> without including them in rcssserver3d. >> >> Without this two files, I get this error: >> >> >> >> C:\simspark\trunk\rcssserver3d\build> >> path=%path%;C:\cmake-2.6.4-win32-x86\bin\ >> >> >> >> C:\simspark\trunk\rcssserver3d\build>cmake -DCMAKE_BUILD_TYPE="Release" -G >> "Visu >> >> al Studio 9 2008" "C:\simspark\trunk\rcssserver3d" >> >> -- Check for working CXX compiler: cl >> >> -- Check for working CXX compiler: cl -- works >> >> -- Detecting CXX compiler ABI info >> >> -- Detecting CXX compiler ABI info - done >> >> -- Check for working C compiler: cl >> >> -- Check for working C compiler: cl -- works >> >> -- Detecting C compiler ABI info >> >> -- Detecting C compiler ABI info - done >> >> -- Looking for sys/socket.h >> >> -- Looking for sys/socket.h - not found >> >> -- Looking for netinet/in.h >> >> -- Looking for netinet/in.h - not found >> >> -- Looking for arpa/inet.h >> >> -- Looking for arpa/inet.h - not found >> >> -- Found SPARK: C:/Program Files/simspark/lib/simspark/spark.lib >> >> -- Found SALT: C:/Program Files/simspark/lib/simspark/salt.lib >> >> -- Found ZEITGEIST: C:/Program Files/simspark/lib/simspark/zeitgeist.lib >> >> -- Found OXYGEN: C:/Program Files/simspark/lib/simspark/oxygen.lib >> >> -- Found KEROSIN: C:/Program Files/simspark/lib/simspark/kerosin.lib >> >> -- Found RCSSNET3D: C:/Program Files/simspark/lib/simspark/rcssnet3D.lib >> >> CMake Error at >> C:/cmake-2.6.4-win32-x86/share/cmake-2.6/Modules/FindPackageHandl >> >> eStandardArgs.cmake:57 (MESSAGE): >> >> Could NOT find Freetype (missing: FREETYPE_LIBRARY >> FREETYPE_INCLUDE_DIRS) >> >> Call Stack (most recent call first): >> >> C:/cmake-2.6.4-win32-x86/share/cmake-2.6/Modules/FindFreetype.cmake:79 >> (FIND_P >> >> ACKAGE_HANDLE_STANDARD_ARGS) >> >> CMakeLists.txt:16 (find_package) >> >> >> >> >> >> -- Configuring incomplete, errors occurred! >> >> >> >> C:\simspark\trunk\rcssserver3d\build> >> >> >> >> I use zip file of Boost and CMake (so no installation). I follow >> instructions on simspark wiki [1]. >> >> >> Thanks >> Hedayat >> >> >> >> >> Thank for response. >> >> >> >> Best Regards >> >> Marian Buchta >> >> >> >> __________ Information from ESET NOD32 Antivirus, version of virus >> signature database 4275 (20090724) __________ >> >> The message was checked by ESET NOD32 Antivirus. >> >> http://www.eset.com >> >> ------------------------------ >> >> >> >> >> ------------------------------------------------------------------------------ >> >> >> >> ------------------------------ >> >> >> >> >> _______________________________________________ >> >> Simspark Generic Physical MAS Simulator >> >> simspark-devel mailing list >> >> sim...@li... >> >> https://lists.sourceforge.net/lists/listinfo/simspark-devel >> >> >> >> >> >> __________ Information from ESET NOD32 Antivirus, version of virus >> signature database 4275 (20090724) __________ >> >> The message was checked by ESET NOD32 Antivirus. >> >> http://www.eset.com >> >> >> >> [1] >> http://simspark.sourceforge.net/wiki/index.php/Installation_on_Windows >> >> >> >> Best Regards, >> >> Marian Buchta >> >> >> __________ Information from ESET NOD32 Antivirus, version of virus >> signature database 4275 (20090724) __________ >> >> The message was checked by ESET NOD32 Antivirus. >> >> http://www.eset.com >> >> > |
From: Hedayat V. <hed...@ai...> - 2009-07-27 09:45:28
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> <title></title> </head> <body text="#000000" bgcolor="#ffffff"> Hi Marian,<br> <br> On ۰۹/۰۷/۲۷ 01:06, Marian Buchta wrote: <blockquote cite="mid:598...@ma..." type="cite">Hi Hedayad.<br> <br> <div class="gmail_quote">On Sat, Jul 25, 2009 at 1:12 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>Hi Marian,<br> Thank you for the answer. I think some MacOSX compatibility changes has made it mandatory. OK!<br> <br> I'm going to fix these problems in Windows build:<br> 1. Detecting the correct ODE flags from its library name</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>2. Copying required dlls (and maybe some extra dlls) to the bin/ directory automatically</div> </blockquote> <div><br> Thank for that. Working really good :) . From my experience on different operating systems (XP, Vista and 7), rcssserver3d sometimes needs also msvcrt-ruby18.dll (or msvcrt-ruby191.dll). <br> </div> </div> </blockquote> OK, I'll try to include it too.<br> <br> <blockquote cite="mid:598...@ma..." type="cite"> <div class="gmail_quote"> <div>Also I have question about directory bin. Actually all this external libraries are copying into bin/ directory. I think this directory is primary for executable files. Maybe it would be better copy this files to the directory lib/ (etc. lib/others , lib/external or else). What do you think?<br> </div> </div> </blockquote> Yes, that would be cleaner. But, a new directory means one more directory to add to path :(, or maybe we might use the lib/ directory itself... (IMHO, all of them has a 'dirty' part, and so they are almost identical solutions for me).<br> What's your opinions about it? <br> <br> <blockquote cite="mid:598...@ma..." type="cite"> <div class="gmail_quote"> <div> </div> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div><br> 3. Add a .bat file for executable files to set correct PATH so that they can find required simspark/rcssserver3d dlls. (or maybe setting system environment variables in the installer). <br> </div> </blockquote> <div><br> Good idea. Last year (16.9.08) I wrote email to Markus (Rollman) about to create a script, who copy all project files (old rcssserver3d v0.6 in CVS). Markus prefer *.cmd file instead of *.bat file (this associeates the script with <span class="il">cmd</span>.exe instead of the old <a moz-do-not-send="true" href="http://command.com">command.com</a> interpreter).<br> </div> </div> </blockquote> OK, I renamed .bat extensions to .cmd. Thanks! I didn't know about it :)<br> <br> <blockquote cite="mid:598...@ma..." type="cite"> <div class="gmail_quote"> <div>Also could we provide the external libraries as a separate downloadable .zip? Because creating of libs / dlls takes a lot of time. <br> </div> </div> </blockquote> Now, we can create working binary installers for simspark and rcssserver3d (the only missing part is that rcssserver3d does not check to see if simspark is installed, which can be done by checking simspark registry key in the installer.). So, I'm going to release these binary packages officially alongside other packages. And I think most users are expected to use those binary packages instead of compiling from source, and therefore releasing external libraries separately won't be that important. (notice that rcssserver3d installer includes required external .dll files). <br> Also, if someone wants to compile simspark and rcssserver3d on Windows himself, he'll need header files of those libraries too and either we should release those header files in addition to libraries or he should make sure that the libraries match the header files and use the same settings. <br> So in my opinion, with the availability of windows binary installers there won't be much need for releasing those external libraries as a separate package. What do you think?<br> <br> <br> A bit off-topic: as of now, you should be able to install simspark and rcssserver3d in any location you like when using the installer in Windows. <br> <br> Thanks a lot,<br> Hedayat<br> <br> <blockquote cite="mid:598...@ma..." type="cite"> <div class="gmail_quote"> <div> </div> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div text="#000000" bgcolor="#ffffff"><br> <br> And something I forgot last night: If you build the PACKAGE project in VS, it'll create both a .zip package and also an .exe installer package for the project. (You'll end up with 2 installers, one for simspark and another for rcssserver3d).<br> <br> Good luck and thank you Marian and Yuan for your interest!<br> <font color="#888888">Hedayat</font><br> </div> </blockquote> </div> <br> </blockquote> <br> <br> </body> </html> |
From: Marian B. <mar...@gm...> - 2009-07-28 23:24:52
|
Hi Hedayad, On Mon, Jul 27, 2009 at 10:08 AM, Hedayat Vatankhah <hed...@ai...>wrote: > Hi Marian, > > Also I have question about directory bin. Actually all this external > libraries are copying into bin/ directory. I think this directory is primary > for executable files. Maybe it would be better copy this files to the > directory lib/ (etc. lib/others , lib/external or else). What do you think? > > Yes, that would be cleaner. But, a new directory means one more directory > to add to path :(, or maybe we might use the lib/ directory itself... (IMHO, > all of them has a 'dirty' part, and so they are almost identical solutions > for me). > What's your opinions about it? > It is also solution :), all dll's into one directory. If you do this for rcssserver3d project ( \rcssserver3d\lib\rcssserver3d ---> rcssserver3d\lib\ ) I think it would be good do this also for simspark ( \simspark\lib\simspark\ ---> \simspark\lib ) because of symmetry :). Problem solved with the same number of paths. > > > >> >> 3. Add a .bat file for executable files to set correct PATH so that they >> can find required simspark/rcssserver3d dlls. (or maybe setting system >> environment variables in the installer). >> > > Good idea. Last year (16.9.08) I wrote email to Markus (Rollman) about to > create a script, who copy all project files (old rcssserver3d v0.6 in CVS). > Markus prefer *.cmd file instead of *.bat file (this associeates the script > with cmd.exe instead of the old command.com interpreter). > > OK, I renamed .bat extensions to .cmd. Thanks! I didn't know about it :) > > Also could we provide the external libraries as a separate downloadable > .zip? Because creating of libs / dlls takes a lot of time. > > Now, we can create working binary installers for simspark and rcssserver3d > (the only missing part is that rcssserver3d does not check to see if > simspark is installed, which can be done by checking simspark registry key > in the installer.). So, I'm going to release these binary packages > officially alongside other packages. And I think most users are expected to > use those binary packages instead of compiling from source, and therefore > releasing external libraries separately won't be that important. (notice > that rcssserver3d installer includes required external .dll files). > Also, if someone wants to compile simspark and rcssserver3d on Windows > himself, he'll need header files of those libraries too and either we should > release those header files in addition to libraries or he should make sure > that the libraries match the header files and use the same settings. > So in my opinion, with the availability of windows binary installers there > won't be much need for releasing those external libraries as a separate > package. What do you think? > I didn't test PACKAGE project. My mistake. So my questions was pointless :) . > > > A bit off-topic: as of now, you should be able to install simspark and > rcssserver3d in any location you like when using the installer in Windows. > Because installer create (without user choice) uninstall shortcut into Start menu, maybe it would be great to create shortcut from script files (e.g. rcssserver3d.cmd) to this menu. > > Thanks a lot, > Hedayat > Thank you :). Best Regards, Marian Buchta |
From: Hedayat V. <hed...@ai...> - 2009-07-29 12:11:29
|
<!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 text="#000000" bgcolor="#ffffff"> <br> <br> On ۰۹/۰۷/۲۹ 03:54, Marian Buchta wrote: <blockquote cite="mid:598...@ma..." type="cite">Hi Hedayad,<br> <br> <div class="gmail_quote">On Mon, Jul 27, 2009 at 10:08 AM, 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 text="#000000" bgcolor="#ffffff">Hi Marian, <div class="im"><br> </div> <div class="im"><br> <blockquote type="cite"> <div class="gmail_quote"> <div>Also I have question about directory bin. Actually all this external libraries are copying into bin/ directory. I think this directory is primary for executable files. Maybe it would be better copy this files to the directory lib/ (etc. lib/others , lib/external or else). What do you think?<br> </div> </div> </blockquote> </div> Yes, that would be cleaner. But, a new directory means one more directory to add to path :(, or maybe we might use the lib/ directory itself... (IMHO, all of them has a 'dirty' part, and so they are almost identical solutions for me).<br> What's your opinions about it? <br> </div> </blockquote> <div><br> It is also solution :), all dll's into one directory. If you do this for rcssserver3d project ( \rcssserver3d\lib\rcssserver3d ---> rcssserver3d\lib\ ) I think it would be good do this also for simspark ( \simspark\lib\simspark\ ---> \simspark\lib ) because of symmetry :). Problem solved with the same number of paths.<br> </div> </div> </blockquote> Ooops! Sorry, I wanted to say lib/rcssserver3d, not lib/ :P So, these are my suggestions:<br> 1. Leaving the external .dll files in bin/ directory. While the directory name is bin/, this is not a weird thing in Windows!<br> 2. Moving those .dll files into lib/, lib/external or ... and add that directory to PATH<br> 3. Moving .dlls into lib/rcssserver3d<br> <br> <blockquote cite="mid:598...@ma..." type="cite"> <div class="gmail_quote"> <div> </div> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div text="#000000" bgcolor="#ffffff"><br> <br> A bit off-topic: as of now, you should be able to install simspark and rcssserver3d in any location you like when using the installer in Windows.� <br> </div> </blockquote> <div><br> Because installer create (without user choice) uninstall shortcut into Start menu, maybe it would be great to create shortcut from script files (e.g. rcssserver3d.cmd) to this menu.<br> </div> </div> </blockquote> But the user has the choice! During installation there is a page which asks about the start menu entry name. At the bottom, there is an option like this: Do not create shortcuts. If you check this option, no Start menu entry will be added.<br> Anyway, I wanted to add those .cmd files to start menu, but I faced 2 problems: <br> 1. The default CMake command for this purpose(CPACK_PACKAGE_EXECUTABLES) adds .exe extension to the Start menu shortcut! (I tried to add simspark.bat to start menu, and I found that CPack has added it as simspark.bat.exe!!)<br> 2. Current .cmd files must be run from the bin/ directory, and do not work outside it. But that's easy to solve. <br> <br> I've not investigated to see if it is possible to solve the first problem using cmake commands. If not, it is possible to do that by adding NSIS commands to CPACK_NSIS_EXTRA_INSTALL_COMMANDS and CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS. But it needs some time that I'm not currently going to put on this issue. It would be nice if someone do it. :)<br> <br> <blockquote cite="mid:598...@ma..." type="cite"> <div class="gmail_quote"> <div>�</div> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div text="#000000" bgcolor="#ffffff"><br> Thanks a lot,<br> <font color="#888888">Hedayat</font></div> </blockquote> <div><br> Thank you :).<br> Best Regards,<br> Marian Buchta <br> </div> </div> </blockquote> <br> Thanks,<br> Hedayat<br> </body> </html> |