Search the web
Sign In
New User? Sign Up
vtp-unix
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Continuous view rotation - again!   Message List  
Reply | Forward Message #801 of 821 |
Hi Ben and everybody,

I have just built vtp-src-081224 on Slackware 12.2 Linux.
When I start Enviro I have a similar problem to that of Levi Swartzentruber on Nov 20 2008:
"the view is always rotating to the left in a circular motion".
(See his message http://tech.groups.yahoo.com/group/vtp-unix/message/782 ).

Then as soon as I click the Enviro window with the mouse I get a segfault, attached below.
But I don't have a joystick. How to tell Enviro not to look for it?

(This problem was noted in the changelog back in 2006 on 06.09.22
 "Enviro: fixed spinning camera when joystick not found" http://www.vterrain.org/Implementation/ChangeLog/2006.htm  )

I have tried recompiling wxGTK-2.8.4 without a joystick:
../configure --enable-unicode --with-opengl --prefix=/home/dad/wxGTK2.8.4 --disable-joystick
but then Enviro won't compile:
/space/vtp-20090425/VTP/TerrainApps/Enviro/wx/bitmap/view_profile.xpm:42: warning: deprecated conversion from string constant to 'char*'
wx/EnviroGUI.cpp: In constructor 'vtJoystickEngine::vtJoystickEngine()':
wx/EnviroGUI.cpp:362: error: invalid use of incomplete type 'struct wxJoystick'
wx/EnviroGUI.h:20: error: forward declaration of 'struct wxJoystick'
wx/EnviroGUI.cpp:363: error: invalid use of incomplete type 'struct wxJoystick'
wx/EnviroGUI.h:20: error: forward declaration of 'struct wxJoystick'
wx/EnviroGUI.cpp:365: warning: possible problem detected in invocation of delete operator:
wx/EnviroGUI.cpp:365: warning: invalid use of incomplete type 'struct wxJoystick'
wx/EnviroGUI.h:20: warning: forward declaration of 'struct wxJoystick'
wx/EnviroGUI.cpp:365: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
wx/EnviroGUI.cpp: In member function 'virtual void vtJoystickEngine::Eval()':
wx/EnviroGUI.cpp:379: error: invalid use of incomplete type 'struct wxJoystick'
wx/EnviroGUI.h:20: error: forward declaration of 'struct wxJoystick'
wx/EnviroGUI.cpp:380: error: invalid use of incomplete type 'struct wxJoystick'
wx/EnviroGUI.h:20: error: forward declaration of 'struct wxJoystick'
make: *** [wx/EnviroGUI.o] Error 1
make: *** Waiting for unfinished jobs....

Any thoughts welcome.

Cheers,
Peter


SetupTerrain step 10
  SetMessage: 'Welcome to Severn'
 seconds since app start: 0.85
Changing app state from AS_SwitchToTerrain to AS_Terrain
Realize toolbar.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb1f0ab90 (LWP 15590)]
0xb7a42cfc in wxEvtHandler::AddPendingEvent () from /home/dad/wxGTK2.8.4/lib/libwx_baseu-2.8.so.0
(gdb) bt
#0  0xb7a42cfc in wxEvtHandler::AddPendingEvent () from /home/dad/wxGTK2.8.4/lib/libwx_baseu-2.8.so.0
#1  0xb7e9fad5 in wxJoystickThread::Entry () from /home/dad/wxGTK2.8.4/lib/libwx_gtk2u_adv-2.8.so.0
#2  0xb7a41388 in wxThreadInternal::PthreadStart () from /home/dad/wxGTK2.8.4/lib/libwx_baseu-2.8.so.0
#3  0xb7a413e9 in wxPthreadStart () from /home/dad/wxGTK2.8.4/lib/libwx_baseu-2.8.so.0
#4  0xb6650369 in start_thread () from /lib/libpthread.so.0
#5  0xb65d3cfe in clone () from /lib/libc.so.6
(gdb)

Sun Apr 26, 2009 8:33 pm

geep999
Offline Offline
Send Email Send Email

Forward
Message #801 of 821 |
Expand Messages Author Sort by Date

Hi Ben and everybody, I have just built vtp-src-081224 on Slackware 12.2 Linux. When I start Enviro I have a similar problem to that of Levi Swartzentruber on...
geep999
Offline Send Email
Apr 26, 2009
8:34 pm

Hi again, Ben and everybody, Answered my own question. Although I don't have a joystick there is a joystick device listed: /dev/input/js0 I renamed it to...
geep999
Offline Send Email
Apr 26, 2009
9:43 pm

Perhaps something changed in the version of wxgtk. Glad to hear that you could work around it. For a better fix, i suppose we could make the joystick a manual...
Ben Discoe
bdiscoe
Offline Send Email
Apr 27, 2009
9:38 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help