I'm using dev-c++ 4.9.9.2 version and allegro 4.4.0.1 version.

I created a console project and done what DTV said in http://www.daniweb.com/forums/thread248782.html. But i cant found liballeg.a so i add liballeg.dll.a.

Then i try some example from http://www.gillius.org/allegtut/index.htm but there is problem of alleg_init undeclared error raised.

I had try other example too (http://www.cppgameprogramming.com/cgi/nav.cgi?page=pong)
But it comes out another errors which are:
[Linker error] undefined reference to `_imp__screen'
[Linker error] undefined reference to `rest'
[Linker error] undefined reference to `_imp__screen'
and etc.

So anyone can helps me to use allegro?

I'm using dev-c++ 4.9.9.2 version and allegro 4.4.0.1 version.

I created a console project and done what DTV said in http://www.daniweb.com/forums/thread248782.html. But i cant found liballeg.a so i add liballeg.dll.a.

Then i try some example from http://www.gillius.org/allegtut/index.htm but there is problem of alleg_init undeclared error raised.

I had try other example too (http://www.cppgameprogramming.com/cgi/nav.cgi?page=pong)
But it comes out another errors which are:
[Linker error] undefined reference to `_imp__screen'
[Linker error] undefined reference to `rest'
[Linker error] undefined reference to `_imp__screen'
and etc.

So anyone can helps me to use allegro?

This exact issue is discussed on the official Allegro forums (I wouldn't know until I googled your error and picked the first result).

http://www.allegro.cc/forums/thread/515457

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.