project-navigation
Personal tools

Author Topic: Problems while compiling from source  (Read 4795 times)

[S|G]

  • Guest
Problems while compiling from source
« on: March 22, 2006, 05:46:55 pm »
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: [Select]

../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


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

Hoehrer

  • Guest
Problems while compiling from source
« Reply #1 on: March 22, 2006, 06:02:39 pm »
See the following postz:
http://ufo.myexp.de/phpBB2/viewtopic.php?p=139#139

This seems to be the same problem.

Werner

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Problems while compiling from source
« Reply #2 on: March 22, 2006, 06:48:34 pm »
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]

  • Guest
Problems while compiling from source
« Reply #3 on: March 22, 2006, 06:56:12 pm »
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: