|
Compile allegro with g++ at Debian |
siery51
Member #16,153
January 2016
|
Sorry for next newbie question but there seems to be not to much info about using Allegro with Debian Jessie at web.^^ $./bin/super-pong I use thous libraries ttf, image, audio, acodec and primitives. So i compile it by g++ using pkg-config to attach librarys and flags: -I/usr/include/allegro5 -L/usr/lib -lallegro. Do i need to supply some extra files to my project directory? Thanks, Siery. // Don't be afraid of doing new things. Professionals build the Titanic amateurs build the Ark. |
Peter Hull
Member #1,136
March 2001
|
If you've compiled it then you don't need any more files in the project directory. You've got a run-time error.
|
siery51
Member #16,153
January 2016
|
Thanks, I been learning about gdb debugger and I located the source of my problem. But I still can't understand whats wrong :/. But I'm going to write about it in 'Programming Questions' section. // Don't be afraid of doing new things. Professionals build the Titanic amateurs build the Ark. |
Bruce Pascoe
Member #15,931
April 2015
|
Regarding path separators: best practice is just to use / everywhere. Nearly all platforms will recognize it, regardless of what the native path separator is.
|
|