Compiling SpaceNavigator SDK with g++3

Post questions, comments and feedback to our 3Dconnexion UNIX and Linux Development Team.

Moderator: Moderators

Post Reply
dbramsen
Posts: 13
Joined: Wed Feb 11, 2009 9:44 am

Compiling SpaceNavigator SDK with g++3

Post by dbramsen »

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?
dbramsen
Posts: 13
Joined: Wed Feb 11, 2009 9:44 am

Post by dbramsen »

I was able to resolve this by removing all instances of:

Code: Select all

#ifdef ParameterCheck
#endif
and changing the syntax of the methods from something like:

Code: Select all

int MagellanInit( display, window )
Display *display;
Window window;
{
// method body
}
to:

Code: Select all

int MagellanInit( Display *display, Window window ) 
{
// method body
}
Post Reply