elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Los 10 CVE más críticos (peligrosos) de 2020


  Mostrar Temas
Páginas: [1]
1  Programación / Programación C/C++ / ayuda error al compilar c++ con ALLEGRO5 en: 27 Noviembre 2016, 16:56 pm
hola a todos primero que nada gracias por sus aportes.
tengo una problema al compilar en el terminal de ubuntu
instale la libreria de ALLEGRO5
quiero probar si esta todo bien y coloco lo siguiente en el terminal:    c++ -Wall prueba.cpp `pkg-config --cflags --libs allegro-5.0 allegro_primitives-5.0`

 y me sale :


In file included from /usr/include/allegro5/internal/alconfig.h:55:0,
                 from /usr/include/allegro5/base.h:50,
                 from /usr/include/allegro5/allegro.h:26,
                 from prueba.cpp:2:
/usr/include/allegro5/platform/alucfg.h:53:2: error: #error Unix Allegro now REQUIRES pthreads
 #error Unix Allegro now REQUIRES pthreads
  ^
In file included from /usr/include/allegro5/base.h:50:0,
                 from /usr/include/allegro5/allegro.h:26,
                 from prueba.cpp:2:
/usr/include/allegro5/inline/fmaths.inl: In function ‘int al_fixtoi(al_fixed)’:
/usr/include/allegro5/inline/fmaths.inl:207:1: error: ‘al_fixfloor’ was not declared in this scope
 AL_INLINE(int, al_fixtoi, (al_fixed x),


alguien me puede decir que esta mal si falta algo
Páginas: [1]
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines