From: Marian B. <mar...@gm...> - 2009-07-26 20:36:35
|
Hi Hedayad. On Sat, Jul 25, 2009 at 1:12 PM, Hedayat Vatankhah <hed...@ai...>wrote: > Hi Marian, > Thank you for the answer. I think some MacOSX compatibility changes has > made it mandatory. OK! > > I'm going to fix these problems in Windows build: > 1. Detecting the correct ODE flags from its library name > 2. Copying required dlls (and maybe some extra dlls) to the bin/ directory > automatically > 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). 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? > > 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). Also could we provide the external libraries as a separate downloadable .zip? Because creating of libs / dlls takes a lot of time. > > > 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). > > Good luck and thank you Marian and Yuan for your interest! > Hedayat > > > On ۰۹/۰۷/۲۵ 10:39, Marian Buchta wrote: > > Hi Hedayat. > > > > *Od:* Hedayat Vatankhah [mailto:hed...@ai... <hed...@ai...>] > *Odoslané:* 25. júla 2009 0:29 > *Komu:* Marian Buchta > *Predmet:* Re: [simspark-devel] Delete some cmake files? > > > > Hi Marian, > > On ۰۹/۰۷/۲۵ 12:00, Marian Buchta wrote: > > Hi all. > > In trunk\rcssserver3d\cmake\ are useless (I think) files: > > FindBoost.cmake > > FindDevIL.cmake > > FindFreetype.cmake > > FindODE.cmake > > UseLATEX.cmake > > > > The same files are in trunk\spark\cmake . To get this files just modify > trunk\rcssserver3d\CMakeLists.txt line 12: > > from: > > set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/) > > to: > > set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/ > ${CMAKE_SOURCE_DIR}/../spark/cmake/) > > > > OR we need this files because spark and rcssserver3d are two „independent“ > projects? > > Yes. Such change will force the user to have the sources of both > rcssserver3d and spark, and in the same directory. And this change will > remove the current independent nature of these codes. I think those > duplicated files do not hurt and their presence will make the codes much > cleaner! Specially as they hopefully will be removed in future (for example, > FindBoost should be removed soon). > > And a question, was FindBoost and FindFreetype really needed in > rcssserver3d? Since I remember that I have built rcssserver3d on windows > without including them in rcssserver3d. > > Without this two files, I get this error: > > > > C:\simspark\trunk\rcssserver3d\build> > path=%path%;C:\cmake-2.6.4-win32-x86\bin\ > > > > C:\simspark\trunk\rcssserver3d\build>cmake -DCMAKE_BUILD_TYPE="Release" -G > "Visu > > al Studio 9 2008" "C:\simspark\trunk\rcssserver3d" > > -- Check for working CXX compiler: cl > > -- Check for working CXX compiler: cl -- works > > -- Detecting CXX compiler ABI info > > -- Detecting CXX compiler ABI info - done > > -- Check for working C compiler: cl > > -- Check for working C compiler: cl -- works > > -- Detecting C compiler ABI info > > -- Detecting C compiler ABI info - done > > -- Looking for sys/socket.h > > -- Looking for sys/socket.h - not found > > -- Looking for netinet/in.h > > -- Looking for netinet/in.h - not found > > -- Looking for arpa/inet.h > > -- Looking for arpa/inet.h - not found > > -- Found SPARK: C:/Program Files/simspark/lib/simspark/spark.lib > > -- Found SALT: C:/Program Files/simspark/lib/simspark/salt.lib > > -- Found ZEITGEIST: C:/Program Files/simspark/lib/simspark/zeitgeist.lib > > -- Found OXYGEN: C:/Program Files/simspark/lib/simspark/oxygen.lib > > -- Found KEROSIN: C:/Program Files/simspark/lib/simspark/kerosin.lib > > -- Found RCSSNET3D: C:/Program Files/simspark/lib/simspark/rcssnet3D.lib > > CMake Error at > C:/cmake-2.6.4-win32-x86/share/cmake-2.6/Modules/FindPackageHandl > > eStandardArgs.cmake:57 (MESSAGE): > > Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS) > > Call Stack (most recent call first): > > C:/cmake-2.6.4-win32-x86/share/cmake-2.6/Modules/FindFreetype.cmake:79 > (FIND_P > > ACKAGE_HANDLE_STANDARD_ARGS) > > CMakeLists.txt:16 (find_package) > > > > > > -- Configuring incomplete, errors occurred! > > > > C:\simspark\trunk\rcssserver3d\build> > > > > I use zip file of Boost and CMake (so no installation). I follow > instructions on simspark wiki [1]. > > > Thanks > Hedayat > > > > > Thank for response. > > > > Best Regards > > Marian Buchta > > > > __________ Information from ESET NOD32 Antivirus, version of virus > signature database 4275 (20090724) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > ------------------------------ > > > > > ------------------------------------------------------------------------------ > > > > ------------------------------ > > > > > _______________________________________________ > > Simspark Generic Physical MAS Simulator > > simspark-devel mailing list > > sim...@li... > > https://lists.sourceforge.net/lists/listinfo/simspark-devel > > > > > > __________ Information from ESET NOD32 Antivirus, version of virus > signature database 4275 (20090724) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > > > [1] http://simspark.sourceforge.net/wiki/index.php/Installation_on_Windows > > > > Best Regards, > > Marian Buchta > > > __________ Information from ESET NOD32 Antivirus, version of virus > signature database 4275 (20090724) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > |