Compiling SpaceNavigator SDK with g++3

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

Moderator: Moderators

Compiling SpaceNavigator SDK with g++3

Postby dbramsen » Thu Feb 12, 2009 10:03 pm

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

Postby dbramsen » Fri Feb 13, 2009 4:14 pm

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


Return to Developer's Forum for UNIX/Linux

Who is online

Users browsing this forum: No registered users and 1 guest