From: Yuan Xu <xuy...@gm...> - 2009-07-22 15:45:54
|
Hi all, I tried to build Simspark from source in Windows today, I followed the steps in [1] basically, but used CMake to generate solution files for Visual Studio 2008 Express Edition. The project was build successfully after a lot manually configuration and copying. But when I run the simspark, I got assertion from ODE: "ODE Message 2: mass must be > 0 (h:\nao\ode-0.11.1\ode\src\mass.cpp:49)" It seems that it caused by ball, since this error disappears after committing the ball out in soccer.rsg, but in this case what I got is only a black screen(with text in the top of screen). Does anybody have idea about this or have build the simspark in windows successfully? Thanks! [1] http://simspark.sourceforge.net/wiki/index.php/Installation_on_Windows#Creating_Windows_distribution_of_Simspark_from_source_.28from_2008-10-29.29 -- King Regards, Xu, Yuan |
From: Hedayat V. <hed...@ai...> - 2009-07-22 16:07:24
|
<!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 bgcolor="#ffffff" text="#000000"> Hi Yuan,<br> Yes, I built simspark on Windows successfully. Unfortunately, it is not documented at all. The only needed manual configuration should be setting some environment variables in Windows so that CMake can find all required stuff. And there was only one thing that I don't remember if I fixed that or not: detecting that you are linking with a double precision build of ODE or single precision and setting appropriate compiler flag for it. I don't remember what is the current state. You can try with the other kind of library (if you are linking with a single precision library, try linking with the double precision library or vice versa) to see if it solves the problem. I will have a look at it ASAP. <br> But, except the mentioned problem, if I remember correctly you can build both simspark and rcssserver3d by setting required environment variables and then running cmake. No tuning in Visual Studio must be required. I've built and ran simspark successfully in Windows (with ode-0.11). So, it should work.<br> <br> Also, I will try to send a brief how-to for it here. Sorry for inconvenience. :(<br> <br> Good luck,<br> Hedayat<br> <br> On 07/22/2009 08:15 PM, Yuan Xu wrote: <blockquote cite="mid:18a...@ma..." type="cite"> <pre wrap="">Hi all, I tried to build Simspark from source in Windows today, I followed the steps in [1] basically, but used CMake to generate solution files for Visual Studio 2008 Express Edition. The project was build successfully after a lot manually configuration and copying. But when I run the simspark, I got assertion from ODE: "ODE Message 2: mass must be > 0 (h:\nao\ode-0.11.1\ode\src\mass.cpp:49)" It seems that it caused by ball, since this error disappears after committing the ball out in soccer.rsg, but in this case what I got is only a black screen(with text in the top of screen). Does anybody have idea about this or have build the simspark in windows successfully? Thanks! [1] <a class="moz-txt-link-freetext" href="http://simspark.sourceforge.net/wiki/index.php/Installation_on_Windows#Creating_Windows_distribution_of_Simspark_from_source_.28from_2008-10-29.29">http://simspark.sourceforge.net/wiki/index.php/Installation_on_Windows#Creating_Windows_distribution_of_Simspark_from_source_.28from_2008-10-29.29</a> </pre> </blockquote> </body> </html> |
From: Yuan Xu <xuy...@gm...> - 2009-07-23 17:08:02
|
Hi Hedayat, Thanks very much. 2009/7/22 Hedayat Vatankhah <hed...@ai...>: > Hi Yuan, > Yes, I built simspark on Windows successfully. Unfortunately, it is not > documented at all. The only needed manual configuration should be setting > some environment variables in Windows so that CMake can find all required > stuff. And there was only one thing that I don't remember if I fixed that or > not: detecting that you are linking with a double precision build of ODE or > single precision and setting appropriate compiler flag for it. I don't > remember what is the current state. You can try with the other kind of > library (if you are linking with a single precision library, try linking > with the double precision library or vice versa) to see if it solves the > problem. I will have a look at it ASAP. Yes, you are right, it works after switching to single precision library. If I want to use double precision ODE, how to configure it? > But, except the mentioned problem, if I remember correctly you can build > both simspark and rcssserver3d by setting required environment variables and > then running cmake. No tuning in Visual Studio must be required. I've built > and ran simspark successfully in Windows (with ode-0.11). So, it should > work. Of course, it is not necessary to turning in VS, but the configuration in cmake or environment variables is time consuming. And also, I do a lot of copying manually, in order to put all the data files (rsg, rb...) and .dll files in correct relative path. Is there any way to do it automatically? > > Also, I will try to send a brief how-to for it here. Sorry for > inconvenience. :( I think the information in wiki[1] is good, but some updates should be added for the cmake. > > Good luck, > Hedayat > > On 07/22/2009 08:15 PM, Yuan Xu wrote: > > Hi all, > > I tried to build Simspark from source in Windows today, I followed the > steps in [1] basically, but used CMake to generate solution files for > Visual Studio 2008 Express Edition. > The project was build successfully after a lot manually configuration > and copying. > But when I run the simspark, I got assertion from ODE: > > "ODE Message 2: mass must be > 0 (h:\nao\ode-0.11.1\ode\src\mass.cpp:49)" > > It seems that it caused by ball, since this error disappears after > committing the ball out in soccer.rsg, > but in this case what I got is only a black screen(with text in the > top of screen). > > Does anybody have idea about this or have build the simspark in > windows successfully? > Thanks! > > [1] > http://simspark.sourceforge.net/wiki/index.php/Installation_on_Windows#Creating_Windows_distribution_of_Simspark_from_source_.28from_2008-10-29.29 > > -- King Regards, Xu, Yuan |
From: Marian B. <mar...@gm...> - 2009-07-23 23:48:55
|
Hi Yuan. I also ran simspark successfully in Windows (with ode-0.11.1) with single precision library. I prepeare update Simspark Wiki in part Windows soon. Now, I testing various version of requirement libraries. As you wrote, you did many manually copying. I think it's not necessary. After success build (simspark or rcssserver3D), cmake create CPackConfig.cmake. CMake pack include also file cpack.exe. With parameter >>>>> cpack -G ZIP --config "<path_to_simspark>\CPackConfig.cmake" <<<<< and >>>>> cpack -G ZIP --config "<path_to_rcssserver3D>\CPackConfig.cmake" <<<<< it create two zip files: rcssserver3d-0.6.2-win32.zip and simspark-0.1.1-win32.zip in directory, where is cpack.exe. Create directory C:\Program Files\simspark and unzip this two zip files to the simspark directory. It looks like: c:\Program Files\simspark\bin\ c:\Program Files\simspark\lib\rcssserver3d\ c:\Program Files\simspark\lib\simspark\ etc. Also as you wrote, some enviroment variables are missing, but not many. I added only path to the "c:\Program Files\simspark\lib\rcssserver3d\" and "c:\Program Files\simspark\lib\simspark\" . Ofcourse all requirement libraries (ODE, Ruby, DevIL etc.) I copied manually. But in the past (simspark version 0.6 in CVS) I created script (make.cmd), who copied all files (rsg, rb, simspark DLLs) into a one package. But after split to a simspark and rcssserver3D, this script is useless. I can update this script to copy all requirement DLLs (ODE, Ruby ect.) into C:\Program Files\simspark\bin. But I think it is not flexible solution, because DLLs must by copy from specify directory (in simspark wiki is main directory - C:\library) to specify directory (e.g. C:\Program Files\simspark). So, we have this problems: 1. In linux (Ubuntu) is installation easy. After success build (simspark and rcssserver3D), we type "make install" and files copying into right directories. Is any way to do this in Windows? (except my "hack" - pack into zip file and then upack) 2. Can CMake write into enviroment variables? 3. How and where can we copy requirement DLLs files into project? How- script (cmd, cmake, post-build in visual studio), manually? Where- simspark\bin\ or create new directory simspark\lib\others\ . (If copy into new directory, we need add path into enviroment variables). Best Regards Marian Buchta -----Pôvodná správa----- Od: Yuan Xu [mailto:xuy...@gm...] Odoslané: 23. júla 2009 19:08 Komu: Hedayat Vatankhah Kópia: Simspark Devel ML Predmet: Re: [simspark-devel] building Simspark from source in Windows Hi Hedayat, Thanks very much. 2009/7/22 Hedayat Vatankhah <hed...@ai...>: > Hi Yuan, > Yes, I built simspark on Windows successfully. Unfortunately, it is not > documented at all. The only needed manual configuration should be setting > some environment variables in Windows so that CMake can find all required > stuff. And there was only one thing that I don't remember if I fixed that or > not: detecting that you are linking with a double precision build of ODE or > single precision and setting appropriate compiler flag for it. I don't > remember what is the current state. You can try with the other kind of > library (if you are linking with a single precision library, try linking > with the double precision library or vice versa) to see if it solves the > problem. I will have a look at it ASAP. Yes, you are right, it works after switching to single precision library. If I want to use double precision ODE, how to configure it? > But, except the mentioned problem, if I remember correctly you can build > both simspark and rcssserver3d by setting required environment variables and > then running cmake. No tuning in Visual Studio must be required. I've built > and ran simspark successfully in Windows (with ode-0.11). So, it should > work. Of course, it is not necessary to turning in VS, but the configuration in cmake or environment variables is time consuming. And also, I do a lot of copying manually, in order to put all the data files (rsg, rb...) and .dll files in correct relative path. Is there any way to do it automatically? > > Also, I will try to send a brief how-to for it here. Sorry for > inconvenience. :( I think the information in wiki[1] is good, but some updates should be added for the cmake. > > Good luck, > Hedayat > > On 07/22/2009 08:15 PM, Yuan Xu wrote: > > Hi all, > > I tried to build Simspark from source in Windows today, I followed the > steps in [1] basically, but used CMake to generate solution files for > Visual Studio 2008 Express Edition. > The project was build successfully after a lot manually configuration > and copying. > But when I run the simspark, I got assertion from ODE: > > "ODE Message 2: mass must be > 0 (h:\nao\ode-0.11.1\ode\src\mass.cpp:49)" > > It seems that it caused by ball, since this error disappears after > committing the ball out in soccer.rsg, > but in this case what I got is only a black screen(with text in the > top of screen). > > Does anybody have idea about this or have build the simspark in > windows successfully? > Thanks! > > [1] > http://simspark.sourceforge.net/wiki/index.php/Installation_on_Windows#Creating_Windows_distribution_of_Simspark_from_source_.28from_2008-10-29.29 > > -- King Regards, Xu, Yuan ------------------------------------------------------------------------------ _______________________________________________ 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 4270 (20090723) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 4271 (20090723) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 4271 (20090723) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com |
From: Yuan Xu <xuy...@gm...> - 2009-07-24 09:58:30
|
Hey Marian, Thanks! The CPack helps, but as you said not a lot. 2009/7/24 Marian Buchta <mar...@gm...>: > Hi Yuan. > I also ran simspark successfully in Windows (with ode-0.11.1) with single precision library. I prepeare update Simspark Wiki in part Windows soon. Now, I testing various version of requirement libraries. > > As you wrote, you did many manually copying. I think it's not necessary. After success build (simspark or rcssserver3D), cmake create CPackConfig.cmake. CMake pack include also file cpack.exe. With parameter >>>>> cpack -G ZIP --config "<path_to_simspark>\CPackConfig.cmake" <<<<< and >>>>> cpack -G ZIP --config "<path_to_rcssserver3D>\CPackConfig.cmake" <<<<< it create two zip files: rcssserver3d-0.6.2-win32.zip and simspark-0.1.1-win32.zip in directory, where is cpack.exe. Create directory C:\Program Files\simspark and unzip this two zip files to the simspark directory. It looks like: > c:\Program Files\simspark\bin\ > c:\Program Files\simspark\lib\rcssserver3d\ > c:\Program Files\simspark\lib\simspark\ > etc. > > Also as you wrote, some enviroment variables are missing, but not many. I added only path to the "c:\Program Files\simspark\lib\rcssserver3d\" and "c:\Program Files\simspark\lib\simspark\" . Ofcourse all requirement libraries (ODE, Ruby, DevIL etc.) I copied manually. But in the past (simspark version 0.6 in CVS) I created script (make.cmd), who copied all files (rsg, rb, simspark DLLs) into a one package. But after split to a simspark and rcssserver3D, this script is useless. I can update this script to copy all requirement DLLs (ODE, Ruby ect.) into C:\Program Files\simspark\bin. But I think it is not flexible solution, because DLLs must by copy from specify directory (in simspark wiki is main directory - C:\library) to specify directory (e.g. C:\Program Files\simspark). > > So, we have this problems: > 1. In linux (Ubuntu) is installation easy. After success build (simspark and rcssserver3D), we type "make install" and files copying into right directories. Is any way to do this in Windows? (except my "hack" - pack into zip file and then upack) For the beginner to use our simulator, a windows-installer would be great. The CPacked package can only be installed in "c:\Programe Files" is not good. > 2. Can CMake write into enviroment variables? I think it depends on windows command line. Anyway, if we have a installer, it can do it. > 3. How and where can we copy requirement DLLs files into project? How- script (cmd, cmake, post-build in visual studio), manually? Where- simspark\bin\ or create new directory simspark\lib\others\ . (If copy into new directory, we need add path into enviroment variables). Maybe, we need some copying task in post-build of cmake, it also helps in Linux for that we may not to install the simspark in the system directory. > > Best Regards > Marian Buchta > > -----Pôvodná správa----- > Od: Yuan Xu [mailto:xuy...@gm...] > Odoslané: 23. júla 2009 19:08 > Komu: Hedayat Vatankhah > Kópia: Simspark Devel ML > Predmet: Re: [simspark-devel] building Simspark from source in Windows > > Hi Hedayat, > > Thanks very much. > > 2009/7/22 Hedayat Vatankhah <hed...@ai...>: >> Hi Yuan, >> Yes, I built simspark on Windows successfully. Unfortunately, it is not >> documented at all. The only needed manual configuration should be setting >> some environment variables in Windows so that CMake can find all required >> stuff. And there was only one thing that I don't remember if I fixed that or >> not: detecting that you are linking with a double precision build of ODE or >> single precision and setting appropriate compiler flag for it. I don't >> remember what is the current state. You can try with the other kind of >> library (if you are linking with a single precision library, try linking >> with the double precision library or vice versa) to see if it solves the >> problem. I will have a look at it ASAP. > > Yes, you are right, it works after switching to single precision library. > If I want to use double precision ODE, how to configure it? > >> But, except the mentioned problem, if I remember correctly you can build >> both simspark and rcssserver3d by setting required environment variables and >> then running cmake. No tuning in Visual Studio must be required. I've built >> and ran simspark successfully in Windows (with ode-0.11). So, it should >> work. > > Of course, it is not necessary to turning in VS, but the configuration > in cmake or environment variables is time consuming. > And also, I do a lot of copying manually, in order to put all the data > files (rsg, rb...) and .dll files in correct relative path. > Is there any way to do it automatically? > >> >> Also, I will try to send a brief how-to for it here. Sorry for >> inconvenience. :( > > I think the information in wiki[1] is good, but some updates should be > added for the cmake. > >> >> Good luck, >> Hedayat >> >> On 07/22/2009 08:15 PM, Yuan Xu wrote: >> >> Hi all, >> >> I tried to build Simspark from source in Windows today, I followed the >> steps in [1] basically, but used CMake to generate solution files for >> Visual Studio 2008 Express Edition. >> The project was build successfully after a lot manually configuration >> and copying. >> But when I run the simspark, I got assertion from ODE: >> >> "ODE Message 2: mass must be > 0 (h:\nao\ode-0.11.1\ode\src\mass.cpp:49)" >> >> It seems that it caused by ball, since this error disappears after >> committing the ball out in soccer.rsg, >> but in this case what I got is only a black screen(with text in the >> top of screen). >> >> Does anybody have idea about this or have build the simspark in >> windows successfully? >> Thanks! >> >> [1] >> http://simspark.sourceforge.net/wiki/index.php/Installation_on_Windows#Creating_Windows_distribution_of_Simspark_from_source_.28from_2008-10-29.29 >> >> > > > > -- > King Regards, > > Xu, Yuan > > ------------------------------------------------------------------------------ > _______________________________________________ > 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 4270 (20090723) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > > > __________ Information from ESET NOD32 Antivirus, version of virus signature database 4271 (20090723) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > > > __________ Information from ESET NOD32 Antivirus, version of virus signature database 4271 (20090723) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > > -- King Regards, Xu, Yuan |
From: Marian B. <mar...@gm...> - 2009-07-24 12:00:51
|
Hi Yuan. > -----Pôvodná správa----- > Od: Yuan Xu [mailto:xuy...@gm...] > Odoslané: 24. júla 2009 11:58 > Komu: Marian Buchta; Simspark Devel ML > Predmet: Re: [simspark-devel] building Simspark from source in Windows > > Hey Marian, > > Thanks! > The CPack helps, but as you said not a lot. > > 2009/7/24 Marian Buchta <mar...@gm...>: > > Hi Yuan. > > I also ran simspark successfully in Windows (with ode-0.11.1) with > single precision library. I prepeare update Simspark Wiki in part > Windows soon. Now, I testing various version of requirement libraries. > > > > As you wrote, you did many manually copying. I think it's not > necessary. After success build (simspark or rcssserver3D), cmake create > CPackConfig.cmake. CMake pack include also file cpack.exe. With > parameter >>>>> cpack -G ZIP --config > "<path_to_simspark>\CPackConfig.cmake" <<<<< and >>>>> cpack -G ZIP -- > config "<path_to_rcssserver3D>\CPackConfig.cmake" <<<<< it create two > zip files: rcssserver3d-0.6.2-win32.zip and simspark-0.1.1-win32.zip in > directory, where is cpack.exe. Create directory C:\Program > Files\simspark and unzip this two zip files to the simspark directory. > It looks like: > > c:\Program Files\simspark\bin\ > > c:\Program Files\simspark\lib\rcssserver3d\ > > c:\Program Files\simspark\lib\simspark\ > > etc. > > > > Also as you wrote, some enviroment variables are missing, but not > many. I added only path to the "c:\Program > Files\simspark\lib\rcssserver3d\" and "c:\Program > Files\simspark\lib\simspark\" . Ofcourse all requirement libraries > (ODE, Ruby, DevIL etc.) I copied manually. But in the past (simspark > version 0.6 in CVS) I created script (make.cmd), who copied all files > (rsg, rb, simspark DLLs) into a one package. But after split to a > simspark and rcssserver3D, this script is useless. I can update this > script to copy all requirement DLLs (ODE, Ruby ect.) into C:\Program > Files\simspark\bin. But I think it is not flexible solution, because > DLLs must by copy from specify directory (in simspark wiki is main > directory - C:\library) to specify directory (e.g. C:\Program > Files\simspark). > > > > So, we have this problems: > > 1. In linux (Ubuntu) is installation easy. After success build > (simspark and rcssserver3D), we type "make install" and files copying > into right directories. Is any way to do this in Windows? (except my > "hack" - pack into zip file and then upack) > > For the beginner to use our simulator, a windows-installer would be > great. > The CPacked package can only be installed in "c:\Programe Files" is not > good. > Install directory is saved in CMAKE_INSTALL_PREFIX. Default is C:\Program Files\simspark or C:\Program Files\rcssserver3d . You can easy change it during create project with cmake: cmake -G "Visual Studio 9 2008" "c:\simspark\trunk\spark" -DCMAKE_INSTALL_PREFIX=C:\whatever . Or if you like GUI, run CMakeSetup.exe and change it there. > > 2. Can CMake write into enviroment variables? > > I think it depends on windows command line. > Anyway, if we have a installer, it can do it. > CPack support Null Soft Installer. With nsi config file CPack create exe installer (I suppose). But I try to find better solution. > > 3. How and where can we copy requirement DLLs files into project? > How- script (cmd, cmake, post-build in visual studio), manually? Where- > simspark\bin\ or create new directory simspark\lib\others\ . (If copy > into new directory, we need add path into enviroment variables). > > Maybe, we need some copying task in post-build of cmake, it also helps > in Linux for that we may not to install the simspark in the system > directory. > > > > > Best Regards > > Marian Buchta > > > > -----Pôvodná správa----- > > Od: Yuan Xu [mailto:xuy...@gm...] > > Odoslané: 23. júla 2009 19:08 > > Komu: Hedayat Vatankhah > > Kópia: Simspark Devel ML > > Predmet: Re: [simspark-devel] building Simspark from source in > Windows > > > > Hi Hedayat, > > > > Thanks very much. > > > > 2009/7/22 Hedayat Vatankhah <hed...@ai...>: > >> Hi Yuan, > >> Yes, I built simspark on Windows successfully. Unfortunately, it is > not > >> documented at all. The only needed manual configuration should be > setting > >> some environment variables in Windows so that CMake can find all > required > >> stuff. And there was only one thing that I don't remember if I fixed > that or > >> not: detecting that you are linking with a double precision build of > ODE or > >> single precision and setting appropriate compiler flag for it. I > don't > >> remember what is the current state. You can try with the other kind > of > >> library (if you are linking with a single precision library, try > linking > >> with the double precision library or vice versa) to see if it solves > the > >> problem. I will have a look at it ASAP. > > > > Yes, you are right, it works after switching to single precision > library. > > If I want to use double precision ODE, how to configure it? > > > >> But, except the mentioned problem, if I remember correctly you can > build > >> both simspark and rcssserver3d by setting required environment > variables and > >> then running cmake. No tuning in Visual Studio must be required. > I've built > >> and ran simspark successfully in Windows (with ode-0.11). So, it > should > >> work. > > > > Of course, it is not necessary to turning in VS, but the > configuration > > in cmake or environment variables is time consuming. > > And also, I do a lot of copying manually, in order to put all the > data > > files (rsg, rb...) and .dll files in correct relative path. > > Is there any way to do it automatically? > > > >> > >> Also, I will try to send a brief how-to for it here. Sorry for > >> inconvenience. :( > > > > I think the information in wiki[1] is good, but some updates should > be > > added for the cmake. > > > >> > >> Good luck, > >> Hedayat > >> > >> On 07/22/2009 08:15 PM, Yuan Xu wrote: > >> > >> Hi all, > >> > >> I tried to build Simspark from source in Windows today, I followed > the > >> steps in [1] basically, but used CMake to generate solution files > for > >> Visual Studio 2008 Express Edition. > >> The project was build successfully after a lot manually > configuration > >> and copying. > >> But when I run the simspark, I got assertion from ODE: > >> > >> "ODE Message 2: mass must be > 0 (h:\nao\ode- > 0.11.1\ode\src\mass.cpp:49)" > >> > >> It seems that it caused by ball, since this error disappears after > >> committing the ball out in soccer.rsg, > >> but in this case what I got is only a black screen(with text in the > >> top of screen). > >> > >> Does anybody have idea about this or have build the simspark in > >> windows successfully? > >> Thanks! > >> > >> [1] > >> > http://simspark.sourceforge.net/wiki/index.php/Installation_on_Windows# > Creating_Windows_distribution_of_Simspark_from_source_.28from_2008-10- > 29.29 > >> > >> > > > > > > > > -- > > King Regards, > > > > Xu, Yuan > > > > --------------------------------------------------------------------- > --------- > > _______________________________________________ > > 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 4270 (20090723) __________ > > > > The message was checked by ESET NOD32 Antivirus. > > > > http://www.eset.com > > > > > > > > __________ Information from ESET NOD32 Antivirus, version of virus > signature database 4271 (20090723) __________ > > > > The message was checked by ESET NOD32 Antivirus. > > > > http://www.eset.com > > > > > > > > __________ Information from ESET NOD32 Antivirus, version of virus > signature database 4271 (20090723) __________ > > > > The message was checked by ESET NOD32 Antivirus. > > > > http://www.eset.com > > > > > > > > > > -- > King Regards, > > Xu, Yuan > > > __________ Information from ESET NOD32 Antivirus, version of virus > signature database 4273 (20090724) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > Good Luck Marian Buchta __________ Information from ESET NOD32 Antivirus, version of virus signature database 4273 (20090724) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com |
From: Yuan Xu <xuy...@gm...> - 2009-07-24 12:15:02
|
Hi Marian, > > Install directory is saved in CMAKE_INSTALL_PREFIX. Default is C:\Program Files\simspark or C:\Program Files\rcssserver3d . You can easy change it during create project with cmake: > cmake -G "Visual Studio 9 2008" "c:\simspark\trunk\spark" -DCMAKE_INSTALL_PREFIX=C:\whatever . Or if you like GUI, run CMakeSetup.exe and change it there. > > That's true, but the directory can only be set before building, so someone do not want to build from source, but the package have to be installed in the same directory. > > CPack support Null Soft Installer. With nsi config file CPack create exe installer (I suppose). But I try to find better solution. > Do you have any idea? -- King Regards, Xu, Yuan |
From: Marian B. <mar...@gm...> - 2009-07-24 14:51:06
|
Hi Yuan, > -----Pôvodná správa----- > Od: Yuan Xu [mailto:xuy...@gm...] > Odoslané: 24. júla 2009 14:14 > Komu: Marian Buchta; Simspark Devel ML > Predmet: Re: [simspark-devel] building Simspark from source in Windows > > Hi Marian, > > > > > > Install directory is saved in CMAKE_INSTALL_PREFIX. Default is > C:\Program Files\simspark or C:\Program Files\rcssserver3d . You can > easy change it during create project with cmake: > > cmake -G "Visual Studio 9 2008" "c:\simspark\trunk\spark" - > DCMAKE_INSTALL_PREFIX=C:\whatever . Or if you like GUI, run > CMakeSetup.exe and change it there. > > > > > > That's true, but the directory can only be set before building, > so someone do not want to build from source, but the package have to > be installed in the same directory. > I think, we can do this: 1. Build from source: download source code, cmake, open simspark project, build project ALL_BUILD and then build project INSTALL - this copy all files into C:\Program Files\simspark. Then open rcssserver3d project and build project ALL_BUILD and then build project INSTALL - C:\Program Files\rcssserver3d. If it change install directory for simspark (e.g. C:\whatever), project rcssserver3d will have a problem with finding simspark directory because trunk\rcssserver3d\cmake\FindSpark.cmake find only in "C:/Program Files/simspark" and "C:/Library/simspark" (line 30: SET(SPARK_DIR $ENV{SPARK_DIR} "C:/Program Files/simspark" "C:/Library/simspark")). Can you set SPARK_DIR from console via cmake? If yes, problem solved :). But enviroment variable must be manually set up. 2. We can create installer by Null Soft. One for simspark and one rcssserver3d. And then upload to the [1] as 2 separate packages. In past I created some nsi files. But it take some time to create them, because I have a lot of work to do. Null Soft Installer can set up also set up registers, enviroment variables, copy files and many more. What do you think? > > > > CPack support Null Soft Installer. With nsi config file CPack create > exe installer (I suppose). But I try to find better solution. > > > > Do you have any idea? > > -- > King Regards, > > Xu, Yuan > > > __________ Information from ESET NOD32 Antivirus, version of virus > signature database 4273 (20090724) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > Cheers, Marian Buchta [1] https://sourceforge.net/projects/simspark/files/ __________ Information from ESET NOD32 Antivirus, version of virus signature database 4274 (20090724) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com |
From: Yuan Xu <xuy...@gm...> - 2009-07-24 15:09:19
|
Hi Marian, > > I think, we can do this: > 1. Build from source: download source code, cmake, open simspark project, build project ALL_BUILD and then build project INSTALL - this copy all files into C:\Program Files\simspark. Then open rcssserver3d project and build project ALL_BUILD and then build project INSTALL - C:\Program Files\rcssserver3d. If it change install directory for simspark (e.g. C:\whatever), project rcssserver3d will have a problem with finding simspark directory because trunk\rcssserver3d\cmake\FindSpark.cmake find only in "C:/Program Files/simspark" and "C:/Library/simspark" (line 30: SET(SPARK_DIR $ENV{SPARK_DIR} "C:/Program Files/simspark" "C:/Library/simspark")). Can you set SPARK_DIR from console via cmake? If yes, problem solved :). But enviroment variable must be manually set up. > Yes, I think we can set SPRAK_DIR via cmake. This produce makes life much easier. > 2. We can create installer by Null Soft. One for simspark and one rcssserver3d. And then upload to the [1] as 2 separate packages. In past I created some nsi files. But it take some time to create them, because I have a lot of work to do. Null Soft Installer can set up also set up registers, enviroment variables, copy files and many more. > Null Soft Installer seems to be professional, but a single zip package maybe enough: http://informatik.hu-berlin.de/~xu/download/simspark_win.zip This is the package I build, it doesn't need to install or configuration, just unpack and run it. -- King Regards, Xu, Yuan |
From: Marian B. <mar...@gm...> - 2009-07-24 17:46:42
|
Hellou. > -----Pôvodná správa----- > Od: Yuan Xu [mailto:xuy...@gm...] > Odoslané: 24. júla 2009 17:09 > Komu: Marian Buchta; Simspark Devel ML > Predmet: Re: [simspark-devel] building Simspark from source in Windows > > Hi Marian, > > > > > I think, we can do this: > > 1. Build from source: download source code, cmake, open simspark > project, build project ALL_BUILD and then build project INSTALL - this > copy all files into C:\Program Files\simspark. Then open rcssserver3d > project and build project ALL_BUILD and then build project INSTALL - > C:\Program Files\rcssserver3d. If it change install directory for > simspark (e.g. C:\whatever), project rcssserver3d will have a problem > with finding simspark directory because > trunk\rcssserver3d\cmake\FindSpark.cmake find only in "C:/Program > Files/simspark" and "C:/Library/simspark" (line 30: SET(SPARK_DIR > $ENV{SPARK_DIR} "C:/Program Files/simspark" "C:/Library/simspark")). > Can you set SPARK_DIR from console via cmake? If yes, problem solved > :). But enviroment variable must be manually set up. > > > > Yes, I think we can set SPRAK_DIR via cmake. > This produce makes life much easier. > > > 2. We can create installer by Null Soft. One for simspark and one > rcssserver3d. And then upload to the [1] as 2 separate packages. In > past I created some nsi files. But it take some time to create them, > because I have a lot of work to do. Null Soft Installer can set up also > set up registers, enviroment variables, copy files and many more. > > > > Null Soft Installer seems to be professional, > but a single zip package maybe enough: > http://informatik.hu-berlin.de/~xu/download/simspark_win.zip > This is the package I build, it doesn't need to install or > configuration, just unpack and run it. > If I ran simspark from your package and it needed msvcrt-ruby18.dll and zlib1.dll. Sometime need another two DLLs: MSVCP71.DLL and msvcr71.dll. Did you tested simspark with rcssagent3d? If I run agent, simspark show this error [1]. And also ball is yellow. I update simspark wiki [2] (now working on RSGEdit). It's first version of Creating Windows distribution of Simspark from source (from SVN). There is no hacks or manual copies files (except requirement DLLs like Ruby, ODE etc.). All just from source to binary. If you have some time and another system like Windows 7, please test it. > > -- > King Regards, > > Xu, Yuan > > > __________ Information from ESET NOD32 Antivirus, version of virus > signature database 4274 (20090724) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > [1] http://student.fiit.stuba.sk/~buchta02/simspark/rcssagent3D.jpg [2] http://simspark.sourceforge.net/wiki/index.php/Installation_on_Windows [3] http://simspark.sourceforge.net/wiki/index.php/Installation_on_Windows#Using_Windows_distribution_of_Simspark Cheers, Marian Buchta __________ Information from ESET NOD32 Antivirus, version of virus signature database 4274 (20090724) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com |
From: Yuan Xu <xuy...@gm...> - 2009-07-24 19:01:47
|
Hi Marian > > If I ran simspark from your package and it needed msvcrt-ruby18.dll and zlib1.dll. Sometime need another two DLLs: MSVCP71.DLL and msvcr71.dll. Did you tested simspark with rcssagent3d? If I run agent, simspark show this error [1]. And also ball is yellow. Thanks, these libraries should be included. Because I enable the image sensor in the nao.rsg( this package is modified for our Nao team) , so the agent said the message is too long. Also the yellow ball is used for image processing. > I update simspark wiki [2] (now working on RSGEdit). It's first version of Creating Windows distribution of Simspark from source (from SVN). There is no hacks or manual copies files (except requirement DLLs like Ruby, ODE etc.). All just from source to binary. If you have some time and another system like Windows 7, please test it. > Great, it is really cool! The boostpro installer can be used to avoid compiling boost from source, it will save a lot of time;-) And for the rsgedit, I have two tips: * build wxWidgets with OpenGL: edit lib\vc_lib\mswd\wx\setup.h : - #define wxUSE_GLCANVAS 0 + #define wxUSE_GLCANVAS 1 * In Visual Studio, select rsgedit -> Properties -> Configuration Properties -> Linker -> System,set SubSystem to Windows(/SUBSYSTEM:WINDOWS) BTW, I don't have WIndows 7. Thanks again for your great work! >> >> -- >> King Regards, >> >> Xu, Yuan >> >> >> __________ Information from ESET NOD32 Antivirus, version of virus >> signature database 4274 (20090724) __________ >> >> The message was checked by ESET NOD32 Antivirus. >> >> http://www.eset.com >> > > [1] http://student.fiit.stuba.sk/~buchta02/simspark/rcssagent3D.jpg > [2] http://simspark.sourceforge.net/wiki/index.php/Installation_on_Windows > [3] http://simspark.sourceforge.net/wiki/index.php/Installation_on_Windows#Using_Windows_distribution_of_Simspark > > Cheers, > Marian Buchta > > > __________ Information from ESET NOD32 Antivirus, version of virus signature database 4274 (20090724) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > > -- King Regards, Xu, Yuan |