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 |