General > Discussion

Problems while compiling from source

(1/1)

[S|G]:
Hello, I was following the install procedure on http://ufo.myexp.de/phpBB2/viewtopic.php?t=17 (btw, you need to update the cvs path to https://svn.sourceforge.net/svnroot/ufoai/ufoai/trunk/src ) but I ran into problems while trying to make. Here is the output:


--- Code: ---
../linux/gl_glx.c:55:36: error: X11/extensions/xf86dga.h: Arquivo ou diretório não encontrado
../linux/gl_glx.c:62:38: error: X11/extensions/xf86vmode.h: Arquivo ou diretório não encontrado
make[1]: ** [debugi386/ref_gl/gl_glx.o] Erro 1
make[1]: Saindo do diretório `/home/diego/Games/ufoai/src/linux'
make: ** [build_debug] Erro 2

--- End code ---


Arquivo ou diretorio nao encontrado = File or Folder not found. Am I missing any required package?

Hoehrer:
See the following postz:
http://ufo.myexp.de/phpBB2/viewtopic.php?p=139#139

This seems to be the same problem.

Werner

Mattn:
yes, the same problem - but to compile ufo:ai you need to development (header-) files for the x extensions.

you can use the sdl-renderer and deactivate the glx-stuff in the makefile

[S|G]:
Hello again,

Thanks for the insight :) One of the problems was related to that thread. I had to install 2 packages on my Ubuntu distro to be able to compile it:

-libxxf86dga-dev
-libxxf86vm-dev

Now... let me hope it'll run fine  :shock:

Navigation

[0] Message Index

Go to full version