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