problem with Allegro

I was following a tutorial on coding in Allegro and for some reason my program crashes every time I run it.
1
2
FONT *font1 = load_font ("font1.pcx", NULL, NULL);
textout_ex(screen, font1, "Hellow world! I am coding in Allegro", 320, 240, makecol(255,0,255), makecol(255,255,0) );

If I use the default font then it works fine, but if I try to use my custom font on the second line then it stops responding right when I open it. I'm using Dev-C++ if that's of any relevance.
Hello,I am a ALLEGRO beginner user.
I have a question to ask you.
Did you set the allegro include file in Dev c++ option?
Because that is a crucial problem for setting.
Topic archived. No new replies allowed.