undefined reference to vc_dispmanx_display_open
AMCerasoli

Why is not finding the libraries? :-[

 
[ 15%] Built target allegro
[ 17%] Built target allegro_primitives
[ 19%] Built target allegro_image
[ 20%] Built target allegro_font
[ 22%] Built target allegro_audio
[ 23%] Built target allegro_acodec
[ 24%] Built target allegro_ttf
[ 24%] Built target allegro_color
[ 24%] Built target allegro_memfile
[ 24%] Built target allegro_main
[ 32%] Built target copy_demo_data
Linking CXX executable cosmic_protector
../../lib/liballegro.so.5.2.3: undefined reference to `vc_dispmanx_display_open'
../../lib/liballegro.so.5.2.3: undefined reference to `_al_ogl_create_backbuffer'
../../lib/liballegro.so.5.2.3: undefined reference to `_al_ogl_set_extensions'
../../lib/liballegro.so.5.2.3: undefined reference to `_al_ogl_manage_extensions'
../../lib/liballegro.so.5.2.3: undefined reference to `eglCreateWindowSurface'
../../lib/liballegro.so.5.2.3: undefined reference to `_al_ogl_create_bitmap'
../../lib/liballegro.so.5.2.3: undefined reference to `_al_ogl_resize_backbuffer'
../../lib/liballegro.so.5.2.3: undefined reference to `vc_dispmanx_element_remove'
../../lib/liballegro.so.5.2.3: undefined reference to `eglBindAPI'
../../lib/liballegro.so.5.2.3: undefined reference to `_al_ogl_add_drawing_functions'
../../lib/liballegro.so.5.2.3: undefined reference to `eglCreateContext'
../../lib/liballegro.so.5.2.3: undefined reference to `graphics_get_display_size'
../../lib/liballegro.so.5.2.3: undefined reference to `eglMakeCurrent'
../../lib/liballegro.so.5.2.3: undefined reference to `eglDestroySurface'
../../lib/liballegro.so.5.2.3: undefined reference to `_al_ogl_update_render_state'
../../lib/liballegro.so.5.2.3: undefined reference to `eglGetDisplay'
../../lib/liballegro.so.5.2.3: undefined reference to `eglChooseConfig'
../../lib/liballegro.so.5.2.3: undefined reference to `eglInitialize'
../../lib/liballegro.so.5.2.3: undefined reference to `bcm_host_init'
../../lib/liballegro.so.5.2.3: undefined reference to `_al_ogl_set_target_bitmap'
../../lib/liballegro.so.5.2.3: undefined reference to `eglDestroyContext'
../../lib/liballegro.so.5.2.3: undefined reference to `vc_dispmanx_update_submit_sync'
../../lib/liballegro.so.5.2.3: undefined reference to `vc_dispmanx_element_add'
../../lib/liballegro.so.5.2.3: undefined reference to `_al_ogl_get_backbuffer'
../../lib/liballegro.so.5.2.3: undefined reference to `bcm_host_deinit'
../../lib/liballegro.so.5.2.3: undefined reference to `vc_dispmanx_element_change_attributes'
../../lib/liballegro.so.5.2.3: undefined reference to `vc_dispmanx_resource_create'
../../lib/liballegro.so.5.2.3: undefined reference to `eglSwapBuffers'
../../lib/liballegro.so.5.2.3: undefined reference to `vc_dispmanx_resource_delete'
../../lib/liballegro.so.5.2.3: undefined reference to `vc_dispmanx_update_start'
../../lib/liballegro.so.5.2.3: undefined reference to `eglTerminate'
../../lib/liballegro.so.5.2.3: undefined reference to `vc_dispmanx_resource_write_data'

SiegeLord

Where are you compiling this? vc_dispmanx_display_open is a Raspberry Pi thing.

AMCerasoli

raspberry yes.

Thread #616727. Printed from Allegro.cc