Compiler un prog linux... problèmes

blackhole

Membre actif
20 Avril 2002
434
0
Visiter le site
J'essaie de compiler le programme qu'un cpain a fait sous Linux. Je sais qu'il n'est pas toujours possible de le faire sous OSX. J'ai les package de Jaguar.

Lorsque je fais le make dans le terminal voilà ce que ça me donne:
g++ -Wall -g -c main.cpp -Wall
In file included from main.h:1,
from main.cpp:1:
glwindow.h:3:20: GL/glx.h: No such file or directory
In file included from glwindow.h:4,
from main.h:1,
from main.cpp:1:
world.h:2:19: GL/gl.h: No such file or directory
In file included from world.h:3,
from glwindow.h:4,
from main.h:1,
from main.cpp:1:
ant.h:2:19: GL/gl.h: No such file or directory
In file included from main.h:1,
from main.cpp:1:
glwindow.h:23: syntax error before `*' token
glwindow.h:24: syntax error before `*' token
glwindow.h:25: 'Colormap' is used as a type, but is not defined as a type.
glwindow.h:26: 'XSetWindowAttributes' is used as a type, but is not defined as
a type.
glwindow.h:27: 'Window' is used as a type, but is not defined as a type.
glwindow.h:28: 'GLXContext' is used as a type, but is not defined as a type.
glwindow.h:29: 'XEvent' is used as a type, but is not defined as a type.
In file included from main.h:2,
from main.cpp:1:
world.h:2:19: GL/gl.h: No such file or directory
In file included from world.h:3,
from main.h:2,
from main.cpp:1:
ant.h:2:19: GL/gl.h: No such file or directory
make: *** [main.o] Error 1


Je sais que ce n'est pas gagné, mais y a t'il une solution?

nB: je suis nul en prog, et je n'ai jamais programmer ce genre de truc