X11 error

Northender

Active Member
Joined
Jul 22, 2011
Messages
59
Reaction score
9
Hi Guys

As an artist I am trying to install the driver for the space navigator by following these instructions: http://sourceforge.net/apps/mediawiki/free-cad/index.php?title=3Dconnexion_input_devices

on line 2 I get the following:


gcc -pedantic -Wall -g -O3 -fno-strict-aliasing -I./src -c src/client.c -o src/client.o
In file included from src/client.c:22:0:
src/client.h:25:22: fatal error: X11/Xlib.h: No such file or directory
compilation terminated.
make: *** [src/client.o] Error 1

Can anyone help? And pretty please, my knowledge of the terminal is on a par with my dog:confused:
 
Is there a reason you are not using the official release? I take it you are using Ubuntu? If so:

Code:
sudo apt-get install spacenavd
 
O.k. I did that. Flippen thing still won't work though...

It's back to work tomorrow on Inventor and Win7. I just wanted to mess around a bit at home.

Shot for the quick response MyWorld.
 
Please include all the information you can provide (distribution + version, all terminal output, etc), this will help us help you.
 
on line 2 I get the following:


gcc -pedantic -Wall -g -O3 -fno-strict-aliasing -I./src -c src/client.c -o src/client.o
In file included from src/client.c:22:0:
src/client.h:25:22: fatal error: X11/Xlib.h: No such file or directory
compilation terminated.
make: *** [src/client.o] Error 1

Can anyone help? And pretty please, my knowledge of the terminal is on a par with my dog:confused:

Code:
$ locate X11/Xlib.h
/usr/include/X11/Xlib.h
$
$ rpm -qif /usr/include/X11/Xlib.h
Name        : xorg-x11-libX11-devel        Relocations: (not relocatable)
Version     : 7.6                               Vendor: openSUSE
Release     : 10.2                          Build Date: Tue 22 Feb 2011 10:35:10 PM CET
Install Date: Thu 24 Mar 2011 11:32:40 AM CET      Build Host: build27
Group       : Development/Libraries/X11     Source RPM: xorg-x11-libX11-7.6-10.2.src.rpm
Size        : 1139494                          License: MIT License (or similar)
Signature   : RSA/8, Tue 22 Feb 2011 10:36:46 PM CET, Key ID b88b2fd43dbdc284
Packager    : http://bugs.opensuse.org
URL         : http://xorg.freedesktop.org/
Summary     : Include Files and Libraries mandatory for Development.
Description :
This package contains all necessary include files and libraries needed
to develop applications that require these.
Looks like you are missing a development package for X11.
 
Top
Sign up to the MyBroadband newsletter
X