From: Hedayat V. <hed...@gm...> - 2010-09-04 05:13:46
|
Hi, The fix should probably work on all kinds of systems. :) Thanks Hedayat On ۱۰/۰۹/۰۳ 08:40, Abeyruwan, Saminda Wishwajith wrote: > Hi Xu, > > Is the fix worked on Ubuntu or Debian (or other) distribution. > > Please let us know. > > Thank you! > > Sam > > Saminda Abeyruwan > PhD Student > Dept. of Computer Science, > University of Miami > > s.a...@um... > (305) 457 9753 > http://blog.saminda.org/ > ________________________________________ > From: Yuan Xu [xu...@in...] > Sent: Thursday, September 02, 2010 5:02 PM > To: Abeyruwan, Saminda Wishwajith > Cc: sse...@li... > Subject: Re: [Sserver-three-d] Installing Simpark server on an amd64 Debian machine > > Hi Sam, > > It works for me in Linux 2.6.27.39-0.2-default #1 SMP 2009-11-23 12:57:38 +0100 x86_64 x86_64 x86_64 GNU/Linux > I think it should work for you, and the problem is not about 64bit system. > > Best Regards, > Xu, Yuan > ________________________________ > On 09/02/2010 08:37 PM, Abeyruwan, Saminda Wishwajith wrote: > > Hi Xu, > > Thank you for the reply. > > I am using Debian amd64 machine. Would the fix you recommended me work in Linux b08 2.6.26-2-amd64 #1 SMP > > Thank you! > > Sam > > Saminda Abeyruwan > PhD Student > Dept. of Computer Science, > University of Miami > > s.a...@um...<mailto:s.a...@um...> > (305) 457 9753 > http://blog.saminda.org/ > ________________________________________ > From: Yuan Xu [xu...@in...<mailto:xu...@in...>] > Sent: Thursday, September 02, 2010 3:26 AM > To: sse...@li...<mailto:sse...@li...> > Subject: Re: [Sserver-three-d] Installing Simpark server on an amd64 Debian machine > > Hi Sam, > > try to comment out the 93 line in simspark/plugin/inputsdl/inputsystemsdl.cpp > and don't change anything else. > this work for us. > > Best Regards, > Xu, Yuan > ________________________________ > On 09/02/2010 07:27 AM, Abeyruwan, Saminda Wishwajith wrote: > > Hi Hedayat, > > I've removed the SDL video init code. After that I am seeing the following error. > > Another trial and error, I commented out "$defaultInputSystem = 'InputSystemSDL'" in spark.sb. The server starts. but the server sends the message to the monitor "time test : null". I disabled keyboard and mouse from spark.rb. > > Any help to resolve this problem is highly appreciated. > > Thank you! > > Sam > > ================================================== > (spark.rb) sparkSetupServer > (SimulationServer) SimControlNode 'AgentControl' registered > (AgentControl) Running in normal mode. > (spark.rb) sparkSetupInput > (spark.rb) using InputSystem 'InputSystemSDL' > (InputServer) Init InputSystemSDL > (ScriptServer) Running /usr/local/share/simspark//german.scan.rb... > (ScriptServer) updating cached script variables > (ScriptServer) Script ended OK /usr/local/share/simspark//german.scan.rb > (eval):30: [BUG] terminated node (0x7f5502921220) > ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux] > > (Core) caught signal 6 > (Core) dumping 19 stack frames. > [0] /usr/local/lib/simspark/libzeitgeist.so.3(zeitgeist::Core::CatchSignal(int)+0xcd) [0x7f55022353ad] > ?? > ??:0 > > [1] /lib/libc.so.6(+0x321f0) [0x7f5500fa01f0] > ?? > ??:0 > > [2] /lib/libc.so.6(gsignal+0x35) [0x7f5500fa0175] > ?? > ??:0 > > [3] /lib/libc.so.6(abort+0x180) [0x7f5500fa2f80] > ?? > ??:0 > > [4] /usr/lib/libruby1.8.so.1.8(rb_bug+0xdb) [0x7f5500a8094b] > ?? > ??:0 > > [5] /usr/lib/libruby1.8.so.1.8(+0x32c3b) [0x7f5500a83c3b] > ?? > ??:0 > > [6] /usr/lib/libruby1.8.so.1.8(+0x3824c) [0x7f5500a8924c] > ?? > ??:0 > > [7] /usr/lib/libruby1.8.so.1.8(+0x4a221) [0x7f5500a9b221] > ?? > ??:0 > > [8] /usr/lib/libruby1.8.so.1.8(rb_eval_string+0x61) [0x7f5500a9bc41] > ?? > ??:0 > > [9] /usr/lib/libruby1.8.so.1.8(rb_protect+0x119) [0x7f5500a854f9] > ?? > ??:0 > > [10] /usr/local/lib/simspark/libzeitgeist.so.3(zeitgeist::RbEvalStringWrap(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int&)+0xc) [0x7f550225010c] > ?? > ??:0 > > [11] /usr/local/lib/simspark/libzeitgeist.so.3(zeitgeist::ScriptServer::Eval(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x11) [0x7f5502250311] > ?? > ??:0 > > [12] /usr/local/lib/simspark/libzeitgeist.so.3(zeitgeist::ScriptServer::Run(boost::shared_ptr<salt::RFile>)+0x88) [0x7f5502253b48] > ?? > ??:0 > > [13] /usr/local/lib/simspark/libzeitgeist.so.3(zeitgeist::ScriptServer::Run(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x3c) [0x7f5502253c2c] > ?? > ??:0 > > [14] rcssserver3d(SimSpark::InitApp(int, char**)+0x11e) [0x401fde] > SimSpark::InitApp(int, char**) > ??:0 > > [15] /usr/local/lib/simspark/libspark.so.0(spark::Spark::Init(int, char**)+0xad) [0x7f5502675edd] > ?? > ??:0 > > [16] rcssserver3d(main+0x9e) [0x401b2e] > main > ??:0 > > [17] /lib/libc.so.6(__libc_start_main+0xfd) [0x7f5500f8cc4d] > ?? > ??:0 > > [18] rcssserver3d() [0x4016d9] > _start > ??:0 > > (Core) exit > =================================== > > Saminda Abeyruwan > PhD Student > Dept. of Computer Science, > University of Miami > > s.a...@um...<mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...> > (305) 457 9753 > http://blog.saminda.org/ > ________________________________________ > From: Hedayat Vatankhah [hed...@gm...<mailto:hed...@gm...><mailto:hed...@gm...><mailto:hed...@gm...>] > Sent: Wednesday, September 01, 2010 5:04 PM > To: Abeyruwan, Saminda Wishwajith > Cc: Sse...@li...<mailto:Sse...@li...><mailto:Sse...@li...><mailto:Sse...@li...> > Subject: Re: [Sserver-three-d] Installing Simpark server on an amd64 Debian machine > > Hi, > > "Abeyruwan, Saminda Wishwajith"<s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...> wrote on 09/02/2010 12:13:21 AM +0450: > > Hi Hedayat, > > Thank you for the reply. Removing FindBoost.cmake file solved the problem. We used boost 1.42 version with Debian. > > > OK, so the problem was with your version of CMake rather than boost. > > > > When we ran the server we got the following error from libzeitgeist. We ran "rcssserver3d". Isn't libzeitgeist to deal with graphics. Is there a way to workaround this problem. > > > No, kerosin deals with graphics. Zeitgeist is the core library and almost everyone uses it. Apparently there is a problem with initializing SDL in your system. And it seems that you are trying to use directFB which wants to use the framebuffer device and it is unable to. If I understood correctly, you are trying to run rcssserver3d on a system without X server running. It was mentioned in the past by some people that you can get it working by disabling SDL video initialization in the code (it is initialized where SDL timer is initialized, and according to the comments it is required. but people have reported that it works even without SDL video initialization). So, you can try removing the SDL Video initialization code and see if it resolves your problem. > > I have plans to completely remove the use of SDL timer in future. > > Good luck, > Hedayat > > > > Please let us know. > > Thank you! > > Sam > > > ================ > (spark.rb) sparkSetupServer > (SimulationServer) SimControlNode 'AgentControl' registered > (AgentControl) Running in normal mode. > (spark.rb) sparkSetupInput > (spark.rb) using InputSystem 'InputSystemSDL' > > =======================| DirectFB 1.0.1 |======================= > (c) 2001-2007 The DirectFB Organization (directfb.org) > (c) 2000-2004 Convergence (integrated media) GmbH > ------------------------------------------------------------ > > (*) DirectFB/Core: Single Application Core. (2008-08-17 14:50) > (*) Direct/Memcpy: Using libc memcpy() > (!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed > --> No such file or directory > (!) DirectFB/FBDev: Error opening framebuffer device! > (!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable. > (!) DirectFB/Core: Could not initialize 'system' core! > --> Initialization error! > (InputServer) Init InputSystemSDL > ERROR: (InputSystemSDL) SDL not initialized! > (InputServer) ERROR: unable to initialize InputSystemSDL > (InputServer) CreateDevice Timer > (InputSystem) ERROR: no InputSystem installed > (InputServer) CreateDevice Keyboard > (InputSystem) ERROR: no InputSystem installed > (InputServer) CreateDevice Mouse > (InputSystem) ERROR: no InputSystem installed > (eval):30: [BUG] terminated node (0x7fe18008fea8) > ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux] > > (Core) caught signal 6 > (Core) dumping 19 stack frames. > [0] /usr/local/lib/simspark/libzeitgeist.so.3(zeitgeist::Core::CatchSignal(int)+0xcd) [0x7fe17f9a43ad] > ?? > ??:0 > > [1] /lib/libc.so.6(+0x321f0) [0x7fe17e70f1f0] > ?? > ??:0 > > [2] /lib/libc.so.6(gsignal+0x35) [0x7fe17e70f175] > ?? > ??:0 > > [3] /lib/libc.so.6(abort+0x180) [0x7fe17e711f80] > ?? > ??:0 > > [4] /usr/lib/libruby1.8.so.1.8(rb_bug+0xdb) [0x7fe17e1ef94b] > ?? > ??:0 > > [5] /usr/lib/libruby1.8.so.1.8(+0x32c3b) [0x7fe17e1f2c3b] > ?? > ??:0 > > [6] /usr/lib/libruby1.8.so.1.8(+0x3824c) [0x7fe17e1f824c] > ?? > ??:0 > > [7] /usr/lib/libruby1.8.so.1.8(+0x4a221) [0x7fe17e20a221] > ?? > ??:0 > > [8] /usr/lib/libruby1.8.so.1.8(rb_eval_string+0x61) [0x7fe17e20ac41] > ?? > ??:0 > > [9] /usr/lib/libruby1.8.so.1.8(rb_protect+0x119) [0x7fe17e1f44f9] > ?? > ??:0 > > [10] /usr/local/lib/simspark/libzeitgeist.so.3(zeitgeist::RbEvalStringWrap(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int&)+0xc) [0x7fe17f9bf10c] > ?? > ??:0 > > [11] /usr/local/lib/simspark/libzeitgeist.so.3(zeitgeist::ScriptServer::Eval(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x11) [0x7fe17f9bf311] > ?? > ??:0 > > [12] /usr/local/lib/simspark/libzeitgeist.so.3(zeitgeist::ScriptServer::Run(boost::shared_ptr<salt::RFile>)+0x88) [0x7fe17f9c2b48] > ?? > ??:0 > > [13] /usr/local/lib/simspark/libzeitgeist.so.3(zeitgeist::ScriptServer::Run(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x3c) [0x7fe17f9c2c2c] > ?? > ??:0 > > [14] rcssserver3d(SimSpark::InitApp(int, char**)+0x11e) [0x401fde] > SimSpark::InitApp(int, char**) > ??:0 > > [15] /usr/local/lib/simspark/libspark.so.0(spark::Spark::Init(int, char**)+0xad) [0x7fe17fde4edd] > ?? > ??:0 > > [16] rcssserver3d(main+0x9e) [0x401b2e] > main > ??:0 > > [17] /lib/libc.so.6(__libc_start_main+0xfd) [0x7fe17e6fbc4d] > ?? > ??:0 > > [18] rcssserver3d() [0x4016d9] > _start > ??:0 > > (Core) exit > > > > ================ > > > Saminda Abeyruwan > PhD Student > Dept. of Computer Science, > University of Miami > > s.a...@um...<mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...> > (305) 457 9753 > http://blog.saminda.org/ > ________________________________________ > From: Hedayat Vatankhah [hed...@gm...<mailto:hed...@gm...><mailto:hed...@gm...><mailto:hed...@gm...><mailto:hed...@gm...><mailto:hed...@gm...><mailto:hed...@gm...><mailto:hed...@gm...>] > Sent: Wednesday, September 01, 2010 5:22 AM > To: Abeyruwan, Saminda Wishwajith > Cc: sserver-three-d > Subject: Re: [Sserver-three-d] Installing Simpark server on an amd64 Debian machine > > Hi, > > > "Abeyruwan, Saminda Wishwajith"<s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...> wrote on 09/01/2010 7:27:27 AM +0450: > > Hi All, > > We wanted to install simspark 3d server on a 2.6.26-2-amd64 Debian box. The following problem keeps on showing up from the boost library. We, first installed boost 1.37-dev, thread-dev and regex-dev. When we did cmake .. in the build directory, the following error happened. > > Then we switched to boost 1.42 and tweaked the BoostFind.txt in the cmake directory to recognise this version. When we ran cmake .., the same error showed up. > > Is there a workaround to get simspark 3d server to be installed in a amd64 Debian machine. > > > I've not seen such error till now. BTW, what is your cmake version? > You might try completely removing cmake/FindBoost.cmake and see if you can compile the simulator. > > Good luck, > Hedayat > > > > Please let us know. > > ============================================== > -- Found Freetype: /usr/lib64/libfreetype.so > CMake Error at cmake/FindBoost.cmake:609 (if): > if had incorrect arguments: ${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION} > VERSION_LESS 1.34 (Unknown arguments specified). > Call Stack (most recent call first): > CMakeLists.txt:44 (find_package) > > > CMake Error at cmake/FindBoost.cmake:611 (else): > else An ELSE command was found outside of a proper IF ENDIF structure. Or > its arguments did not match the opening IF command. > Call Stack (most recent call first): > CMakeLists.txt:44 (find_package) > > > CMake Error at cmake/FindBoost.cmake:633 (endif): > endif An ENDIF command was found outside of a proper IF ENDIF structure. > Or its arguments did not match the opening IF command. > Call Stack (most recent call first): > CMakeLists.txt:44 (find_package) > > > -- Boost version: 1.37.0 > -- Found the following Boost libraries: > -- thread > -- regex > =========================== > > > Thank you! > > Sam > > Saminda Abeyruwan > PhD Student > Dept. of Computer Science, > University of Miami > > s.a...@um...<mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...><mailto:s.a...@um...> > (305) 457 9753 > http://blog.saminda.org/ > ________________________________________ > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Sserver-three-d mailing list > Sse...@li...<mailto:Sse...@li...><mailto:Sse...@li...><mailto:Sse...@li...><mailto:Sse...@li...><mailto:Sse...@li...><mailto:Sse...@li...><mailto:Sse...@li...><mailto:Sse...@li...><mailto:Sse...@li...><mailto:Sse...@li...><mailto:Sse...@li...><mailto:Sse...@li...><mailto:Sse...@li...><mailto:Sse...@li...><mailto:Sse...@li...> > https://lists.sourceforge.net/lists/listinfo/sserver-three-d > > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Sserver-three-d mailing list > Sse...@li...<mailto:Sse...@li...><mailto:Sse...@li...><mailto:Sse...@li...><mailto:Sse...@li...><mailto:Sse...@li...><mailto:Sse...@li...><mailto:Sse...@li...> > https://lists.sourceforge.net/lists/listinfo/sserver-three-d > > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Sserver-three-d mailing list > Sse...@li...<mailto:Sse...@li...><mailto:Sse...@li...><mailto:Sse...@li...> > https://lists.sourceforge.net/lists/listinfo/sserver-three-d > > > > > > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Sserver-three-d mailing list > Sse...@li... > https://lists.sourceforge.net/lists/listinfo/sserver-three-d > |