Search found 12 matches

by dbramsen
Mon Mar 16, 2009 11:40 am
Forum: UNIX and Linux Discussion Forum
Topic: 3dxware autostart - pls no GUI
Replies: 6
Views: 21230

I have the same question - Is it possible to run the driver without showing the driver control panel? I'm starting the driver from my own app using: system("/etc/3DxWare/daemon/3dxsrv -d usb") and I don't want the driver control panel to show up when that happens. I know I can minimize it,...
by dbramsen
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: 80349

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...
by dbramsen
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: 80349

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...
by dbramsen
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: 80349

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...
by dbramsen
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: 80349

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...
by dbramsen
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: 58120

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...
by dbramsen
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: 58120

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?
by dbramsen
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: 23224

That's right, I forgot it wasn't supported by Google on Linux.

Thanks for all of your help! Much appreciated.
by dbramsen
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: 23224

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...
by dbramsen
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: 23224

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...
by dbramsen
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: 23224

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...
by dbramsen
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: 23224

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....