User forums > Using Code::Blocks

Help with Allegro game programming library

<< < (2/2)

:cry: I can't get it to work. I used from the readme:

--- Code: ---
#include <allegro.h>

int main() {
    allegro_message("Hellow World!");
    return 0;
--- End code ---

 :cry: I get errors like - 'allegro_init' undeclared (first use this function). What the heck is a matter with this? I built the static linking install (don't know what that is). After I did that I executed "make clean" in the command prompt. I need help. 30 mins later... I can't get anything to work! Why won't this work?

I fixed it with the people at Allegro. I was supposed to add a bunch to the library list thing. I got it working now.


[0] Message Index

[*] Previous page

Go to full version