|
From: Hedayat V. <hed...@ai...> - 2009-08-26 15:16:59
|
<!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">
<span>Hi Marian,<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 سهشنبه ۲۵ اوت
۰۹، ۱۸:۰۱:۴۷:</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">Hi Hedayat,<br>
<br>
<div class="gmail_quote">On Tue, Aug 25, 2009 at 12:22 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>
<br>
On ۰۹/۰۸/۲۵ 04:50, Marian Buchta wrote:
<blockquote type="cite">
<div>
<p><span lang="EN-US">Hi all.</span></p>
<p><span lang="EN-US">I installed Simspark and
Rcssserver3d from
[1] (for Windows). If I run rcssserver3d.cmd, I see error about missing
ruby
(etc. msvcrt-ruby18.dll) because package doesn’t include it.
Rcssserver3d
doesn’t need ruby library for compilation. But it need to run. In Linux
or Mac OS X is no problem with library. But Windows package
(rcssserver3d.exe)
should be include this library. I suggest insert this line into file
rcssserver3d/CMakeLists.txt
after line 22:</span></p>
<p><span lang="EN-US">if(WIN32)</span></p>
<p><span lang="EN-US">find_package(Ruby REQUIRED)</span></p>
<p><span lang="EN-US">endif(WIN32)</span></p>
<p><span lang="EN-US"> </span></p>
<p><span lang="EN-US">The same case is project
Rsgedit. It need
freetype, devil and ruby libraries to run. In file
rsgedit/CMakeLists.txt after
line 13:</span></p>
<p><span lang="EN-US">If(WIN32)</span></p>
<p><span lang="EN-US">find_package(Freetype
REQUIRED)</span></p>
<p><span lang="EN-US">find_package(DevIL REQUIRED)</span></p>
<p><span lang="EN-US">find_package(Ruby REQUIRED)</span></p>
<p><span lang="EN-US">endif(WIN32)</span></p>
<p><span lang="EN-US"> </span></p>
<p><span lang="EN-US">This modification is only for
NSIS
Installer, which created package from VS2008.</span></p>
<p><span lang="EN-US">I think this is very graceful
solution how to
include missing dll’s into Windows package of projects.</span></p>
<p><span lang="EN-US">So what do you say?</span></p>
</div>
</blockquote>
</div>
Yes, you are right. I thought that I'm using a statically linked Ruby
since there were no .dll files in ruby's lib/ directory. But
surprisingly after release someone complained about missing ruby .dll
to me and I discovered that it is located in ruby's bin/ directory. :P<br>
<br>
Adding these requirements is not enough, and we should add commands to
find and copy the .dll file(s) in appropriate directories. <br>
We can add the find_package() command and other needed commands in
rcssserver3d and others... but now I'm suspect that this is the best
way. TBH, these are all simspark dependencies and not applications'
(e.g. rcssserver3d). So, I am thinking about it, and it seems that
(IMHO) adding such required .dll files in a simspark installation's
directory (e.g. simspark/lib/thirdparty) (which you suggested before)
is a good solution. We'll need to add this new directory to the .cmd
files, but at least the .dll files and commands to include them in the
installer is only needed in simspark.<br>
<br>
What do you think about it?<br>
</div>
</blockquote>
<div><br>
Yes, very good idea. As you said, mainly required dlls are simspark
dependencies and should be in simspark installation's directory.
Simspark installer will be bigger, but rcssserver3d and rsgedit
installers will be smaller, because some dlls are the same in both
installers.<br>
</div>
</div>
</blockquote>
OK, I'll go for it soon. <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">
<div><br>
Also a updated Simspark Wiki (part Windows) [1]. I modified Rsgedit
chapters. But I have one problem. During compilation project wxutils
created only DLL and not LIB file. But rsgedit project need this LIB.
Temporary solution is to create not dynamic but static library (delete
word SHARED in trunk\rsgedit\wxutil\CMakeLists.txt:138). I think the
problem is the same as [2]. I have question. Need rsgedit pthread
library (\rsgedit\src\CMakeLists.txt:53)? <br>
</div>
</div>
</blockquote>
For the first problem: I should look at it, but it might be the problem
you mentioned. You can see how it is solved for simspark libraries in
their header files (it is the same solution as noted in [1]). Probably
I have not done the same thing to wxutil files. <br>
About pthread library, I'm not sure! I don't remember if I've added it
myself for some reason or it is copied from the originam Makefile.am
file. :P<br>
<br>
Thanks,<br>
Hedayat<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">
<div><br>
[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><br>
[2] <a moz-do-not-send="true" href="http://www.mail-archive.com/cm...@cm.../msg02904.html">http://www.mail-archive.com/cm...@cm.../msg02904.html</a>
<br>
<br>
</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>
Thanks,<br>
Hedayat<br>
<br>
<blockquote type="cite">
<div class="im">
<div>
<p><span lang="EN-US"></span></p>
<p><span lang="EN-US"> </span></p>
<p><span lang="EN-US">[1]</span><span lang="EN-US"> </span><span lang="EN-US"><a moz-do-not-send="true" href="http://sourceforge.net/projects/simspark/files/" target="_blank">http://sourceforge.net/projects/simspark/files/</a>
</span></p>
</div>
<br>
<br>
__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4364 (20090824) __________<br>
<br>
The message was checked by ESET NOD32 Antivirus.<br>
<br>
<a moz-do-not-send="true" href="http://www.eset.com" target="_blank">http://www.eset.com</a><br>
</div>
<pre><hr size="4" width="90%">
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. <a moz-do-not-send="true" href="http://p.sf.net/sfu/bobj-july" target="_blank">http://p.sf.net/sfu/bobj-july</a>
</pre>
<pre><hr size="4" width="90%">
_______________________________________________
Simspark Generic Physical MAS Simulator
simspark-devel mailing list
<a moz-do-not-send="true" href="mailto:sim...@li..." target="_blank">sim...@li...</a>
<a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/simspark-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/simspark-devel</a>
</pre>
</blockquote>
</div>
</blockquote>
<div><br>
Best Regards, <br>
Marian Buchta<br>
</div>
</div>
<br>
</blockquote>
</body>
</html>
|