Ahora estoy probando en ubuntu siguiendo esta guía: http://tirwal.blogspot.com.es/2012/0...en-ubuntu.html
Ya he llegado al último paso (make install) pero me da el siguiente error:
Cita:
¿Alguna idea?.Install the project...
-- Install configuration: "RelWithDebInfo"
CMake Error at addons/primitives/cmake_install.cmake:48 (FILE):
file INSTALL cannot find
"/home/usuario/allegro-5.0/lib/liballegro_primitives.so.5.0.6".
Call Stack (most recent call first):
addons/cmake_install.cmake:37 (INCLUDE)
cmake_install.cmake:473 (INCLUDE)
make: *** [install] Error 1
-- Install configuration: "RelWithDebInfo"
CMake Error at addons/primitives/cmake_install.cmake:48 (FILE):
file INSTALL cannot find
"/home/usuario/allegro-5.0/lib/liballegro_primitives.so.5.0.6".
Call Stack (most recent call first):
addons/cmake_install.cmake:37 (INCLUDE)
cmake_install.cmake:473 (INCLUDE)
make: *** [install] Error 1
Además no sé que ruta poner para incluirla en el programa, es decir, suponiendo que ese error no es importante (no tengo ni idea) he intentado compilar incluyendo la librería desde: #include <allegro.h> pero me dice que no se encuentra el archivo, ¿cómo saco la ruta?.
EDITO: Ya lo he solucionado gracias. En la guía falta que, al usar la intrucción "ccmake -DCMAKE_INSTALL_PREFIX=/usr .." hay que presionar la tecla "c" cada vez que se pare el procedimiento hasta que salga la opción de de generar y salir que es la tecla "g".
Saludos.