From: Hedayat V. <hed...@ai...> - 2009-08-25 11:00:18
|
<!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 ۰۹/۰۸/۲۵ 04:50, Marian Buchta wrote: <blockquote cite="mid:4a9...@mx..." type="cite"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="Generator" content="Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size: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;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only;} @page Section1 {size:612.0pt 792.0pt; margin:70.85pt 70.85pt 70.85pt 70.85pt;} div.Section1 {page:Section1;} --> </style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext="edit" spidmax="1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1" /> </o:shapelayout></xml><![endif]--> <div class="Section1"> <p class="MsoNormal"><span lang="EN-US">Hi all.<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">I 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:<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">if(WIN32)<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">find_package(Ruby REQUIRED)<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">endif(WIN32)<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span lang="EN-US">The same case is project Rsgedit. It need freetype, devil and ruby libraries to run. In file rsgedit/CMakeLists.txt after line 13:<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">If(WIN32)<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">find_package(Freetype REQUIRED)<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">find_package(DevIL REQUIRED)<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">find_package(Ruby REQUIRED)<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">endif(WIN32)<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span lang="EN-US">This modification is only for NSIS Installer, which created package from VS2008.<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">I think this is very graceful solution how to include missing dll’s into Windows package of projects.<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">So what do you say?</span></p> </div> </blockquote> 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> <br> <br> Thanks,<br> Hedayat<br> <br> <blockquote cite="mid:4a9...@mx..." type="cite"> <div class="Section1"> <p class="MsoNormal"><span lang="EN-US"><o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span lang="EN-US">[1]</span><span lang="EN-US"> </span><span lang="EN-US"><a moz-do-not-send="true" href="http://sourceforge.net/projects/simspark/files/">http://sourceforge.net/projects/simspark/files/</a> <o:p></o:p></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">http://www.eset.com</a><br> <pre wrap=""><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 class="moz-txt-link-freetext" href="http://p.sf.net/sfu/bobj-july">http://p.sf.net/sfu/bobj-july</a> </pre> <pre wrap=""><hr size="4" width="90%"> _______________________________________________ Simspark Generic Physical MAS Simulator simspark-devel mailing list <a class="moz-txt-link-abbreviated" href="mailto:sim...@li...">sim...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/simspark-devel">https://lists.sourceforge.net/lists/listinfo/simspark-devel</a> </pre> </blockquote> </body> </html> |