|
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>
|