Allegro and OpenGl Linking error in geany (ubuntu)
I am currently attempting to learn about different game development tools and I decided to use Allegro and OpenGL for starters. But it ran into some problems, I cant seem to link the allergro.h library correctly or maybe there is some underlying problem i dont understand yet. I have tried google, Allegro.cc, VideoTutorialsRocks.com to solve my problem but no help.
/---------------------- my code sample --------------------------
include
include
int main() { allegro_init(); etc...
return 0;
} END_OF_MAIN();
/------------------------ my command ----------------------
g++ allegroTemplate.cpp -o allegroTemplate
/------------------ my error ----------------------
/tmp/ccbpAXIY.o: In function main': allegroTemplate.cpp:(.text+0x2a): undefined reference to_install_allegro_version_check' collect2: ld returned 1 exit status
//--------------- Thanks for reading -----------------
I am currently attempting to learn about different game development tools and I decided to use Allegro and OpenGL for starters. But it ran into some problems, I cant seem to link the allergro.h library correctly or maybe there is some underlying problem i dont understand yet. I have tried google, Allegro.cc, VideoTutorialsRocks.com to solve my problem but no help.
/---------------------- my code sample --------------------------
include
include
int main() { allegro_init(); etc...
return 0;
} END_OF_MAIN();
/------------------------ my command ----------------------
g++ allegroTemplate.cpp -o allegroTemplate
/------------------ my error ----------------------
/tmp/ccbpAXIY.o: In function main': allegroTemplate.cpp:(.text+0x2a): undefined reference to_install_allegro_version_check' collect2: ld returned 1 exit status
//--------------- Thanks for reading -----------------
No comments:
Post a Comment