Search found 12 matches
- Mon Mar 16, 2009 11:40 am
- Forum: UNIX and Linux Discussion Forum
- Topic: 3dxware autostart - pls no GUI
- Replies: 6
- Views: 21349
- Thu Feb 26, 2009 9:38 am
- Forum: Developer's Forum for UNIX and Linux
- Topic: Not receiving SpaceNavigator events in custom 3D app
- Replies: 5
- Views: 84302
I'm still not certain what the problem is (it could be that this window, which is part of an app developed by many people, already has an xevent listener that is usurping all the xevents), but I created a workaround by using an invisible window as the event receiver so that the callbacks are made, a...
- Tue Feb 17, 2009 7:06 pm
- Forum: Developer's Forum for UNIX and Linux
- Topic: Not receiving SpaceNavigator events in custom 3D app
- Replies: 5
- Views: 84302
The fix for XCheckWindowEvent() is to use XPending(), but that didn't fix the problem that my window isn't getting the SpaceNavigator events, even though it receives keyboard events (and mouse events too, with the proper masks set). I can get SpaceNavigator events when I create a brand new window us...
- Tue Feb 17, 2009 10:15 am
- Forum: Developer's Forum for UNIX and Linux
- Topic: Not receiving SpaceNavigator events in custom 3D app
- Replies: 5
- Views: 84302
I do have the 'case ClientMessage' statement in there, but my problem is that it never gets called. I forgot to mention that in my application, I don't want XNextEvent() to block, so I call XCheckWindowEvent() to see if there are any events in the queue first. The mask argument I am passing into XCh...
- Fri Feb 13, 2009 5:36 pm
- Forum: Developer's Forum for UNIX and Linux
- Topic: Not receiving SpaceNavigator events in custom 3D app
- Replies: 5
- Views: 84302
Not receiving SpaceNavigator events in custom 3D app
I am trying to integrate the SpaceNavigator in my custom 3D app. I have been able to run xapp with no problems, so I used xapp.c as a guide, the biggest difference being I have an existing Window. The two major methods I call are MagellanInit() andXSelectInput() before starting the loop to receive e...
- Fri Feb 13, 2009 4:14 pm
- Forum: Developer's Forum for UNIX and Linux
- Topic: Compiling SpaceNavigator SDK with g++3
- Replies: 1
- Views: 61475
I was able to resolve this by removing all instances of: #ifdef ParameterCheck #endif and changing the syntax of the methods from something like: int MagellanInit( display, window ) Display *display; Window window; { // method body } to: int MagellanInit( Display *display, Window window ) { // metho...
- Thu Feb 12, 2009 10:03 pm
- Forum: Developer's Forum for UNIX and Linux
- Topic: Compiling SpaceNavigator SDK with g++3
- Replies: 1
- Views: 61475
Compiling SpaceNavigator SDK with g++3
I'd like to integrate the SpaceNavigator into my custom 3D app, but my app uses g++3. I tried compiling the SDK with g++3, but it gives a pile of errors when I change the makefile from cc to g++3. Does anyone know how to compile the SDK with g++3?
- Thu Feb 12, 2009 10:31 am
- Forum: UNIX and Linux Discussion Forum
- Topic: SpaceNavigator PE on Linux Red Hat EL 5
- Replies: 8
- Views: 23665
- Thu Feb 12, 2009 10:01 am
- Forum: UNIX and Linux Discussion Forum
- Topic: SpaceNavigator PE on Linux Red Hat EL 5
- Replies: 8
- Views: 23665
Doing a chmod 0655 on 3DxWare seemed to do the trick. The driver now runs and I can run the demo apps xcube and xvalue and see the SpaceNavigator having effect. However, it does not work in Google Earth. I don't get any errors; there just isn't any effect. Is there something I have to do to get Goog...
- Thu Feb 12, 2009 9:23 am
- Forum: UNIX and Linux Discussion Forum
- Topic: SpaceNavigator PE on Linux Red Hat EL 5
- Replies: 8
- Views: 23665
Christian, Thanks for your assistance so far. I changed the permissions on the .scg files: [root@zop1 ~]# ls -alR /etc/3DxWare/ /etc/3DxWare/: total 704 drwx------ 3 root root 4096 Feb 11 11:02 . drwxr-xr-x 138 root root 12288 Feb 11 11:02 .. -rw-r----- 1 root root 26663 Feb 11 11:02 4DNav.scg -rw-r...
- Thu Feb 12, 2009 8:59 am
- Forum: UNIX and Linux Discussion Forum
- Topic: SpaceNavigator PE on Linux Red Hat EL 5
- Replies: 8
- Views: 23665
Yes, I am starting the driver as root, and I do see the files there. [root@zop1 ~]# ls -alR /etc/3DxWare/ /etc/3DxWare/: total 704 drwx------ 3 root root 4096 Feb 11 11:02 . drwxr-xr-x 138 root root 12288 Feb 11 11:02 .. -rw------- 1 root root 26663 Feb 11 11:02 4DNav.scg -rw------- 1 root root 2592...
- Wed Feb 11, 2009 9:55 am
- Forum: UNIX and Linux Discussion Forum
- Topic: SpaceNavigator PE on Linux Red Hat EL 5
- Replies: 8
- Views: 23665
SpaceNavigator PE on Linux Red Hat EL 5
I've tried installing the driver for SpaceNavigator PE on Linux Red Hat EL 5. Installation looks good, and does not report any errors. But when I try to run xcube in /tmp, it says "No driver is running. Exit ..." even though during installation I selected it to be started with every login....