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