From: Marian B. <mar...@gm...> - 2009-07-28 23:24:52
|
Hi Hedayad, On Mon, Jul 27, 2009 at 10:08 AM, Hedayat Vatankhah <hed...@ai...>wrote: > Hi Marian, > > 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? > > 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). > What's your opinions about it? > 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. > > > >> >> 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). >> > > 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 cmd.exe instead of the old command.com interpreter). > > OK, I renamed .bat extensions to .cmd. Thanks! I didn't know about it :) > > Also could we provide the external libraries as a separate downloadable > .zip? Because creating of libs / dlls takes a lot of time. > > 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). > 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. > 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? > I didn't test PACKAGE project. My mistake. So my questions was pointless :) . > > > 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. > 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. > > Thanks a lot, > Hedayat > Thank you :). Best Regards, Marian Buchta |