Error while trying to compile
-
anthonyostrich
- Posts: 5
- Joined: Sat Nov 19, 2011 9:45 pm
Error while trying to compile
In file included from CIrrDeviceLinux.cpp:5:0:
CIrrDeviceLinux.h:31:38: fatal error: X11/extensions/xf86vmode.h: No such file or directory
compilation terminated.
make: *** [CIrrDeviceLinux.o] Error 1
CIrrDeviceLinux.h:31:38: fatal error: X11/extensions/xf86vmode.h: No such file or directory
compilation terminated.
make: *** [CIrrDeviceLinux.o] Error 1
-
Cube_
- Posts: 1010
- Joined: Mon Oct 24, 2011 10:03 pm
- Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d
Re: Error while trying to compile
post source code, noone can help you without it
"this is not the bottleneck you are looking for"
-
anthonyostrich
- Posts: 5
- Joined: Sat Nov 19, 2011 9:45 pm
Re: Error while trying to compile
I'm just trying to compile the engine. I didn't change the source at all.aaammmsterdddam wrote:post source code, noone can help you without it
-
Cube_
- Posts: 1010
- Joined: Mon Oct 24, 2011 10:03 pm
- Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d
Re: Error while trying to compile
hmm... couldn't you have said that earlier?
I have personally never encountered any errors, what are you compiling with? gcc?
what OS? (Linux is a bit loose in this case)
Ubuntu 11.04, gcc works fine.
I have personally never encountered any errors, what are you compiling with? gcc?
what OS? (Linux is a bit loose in this case)
Ubuntu 11.04, gcc works fine.
"this is not the bottleneck you are looking for"
-
anthonyostrich
- Posts: 5
- Joined: Sat Nov 19, 2011 9:45 pm
Re: Error while trying to compile
I'm running Ubuntu 11.10. All I know is that I followed what the instructions said.aaammmsterdddam wrote:hmm... couldn't you have said that earlier?
I have personally never encountered any errors, what are you compiling with? gcc?
what OS? (Linux is a bit loose in this case)
Ubuntu 11.04, gcc works fine.
Alternatively, is there anywhere I can get the engine already compiled so that I don't have to do this?If you wish to compile the engine in linux yourself,
goto the \source directory. Run a 'make' in the subfolder 'Irrlicht'.' [This is when I get that error]
After this, you should be able to make all example applications in \examples.
Then just start an X Server and run them, from the directory where they are.
Re: Error while trying to compile
just download the "xf86vmode" libraries\headers trough synaptic or configure irrlicht to not to use the "xf86vmode".
Working on game: Marrbles (Currently stopped).
-
anthonyostrich
- Posts: 5
- Joined: Sat Nov 19, 2011 9:45 pm
Re: Error while trying to compile
I searched "xf86vmode" in synaptic and got zero results.serengeor wrote:just download the "xf86vmode" libraries\headers trough synaptic or configure irrlicht to not to use the "xf86vmode".
-
Cube_
- Posts: 1010
- Joined: Mon Oct 24, 2011 10:03 pm
- Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d
Re: Error while trying to compile
google it, the package name should be found using a google search (I find all packages I need that way)
"this is not the bottleneck you are looking for"
-
anthonyostrich
- Posts: 5
- Joined: Sat Nov 19, 2011 9:45 pm
Re: Error while trying to compile
Now the engine compiled. But when I try compiling any of the examples, I get the error "cannot find -lGL". I'm stupid. I should have just used the Ubuntu package.
-
Cube_
- Posts: 1010
- Joined: Mon Oct 24, 2011 10:03 pm
- Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d
Re: Error while trying to compile
not sure what -IGL is... never seen it...
"this is not the bottleneck you are looking for"
-
randomMesh
- Posts: 1186
- Joined: Fri Dec 29, 2006 12:04 am