Problems with configuring dev-c++ with allegro library

K

Karol

I wonted to write programs with allegro library under Windows so I
have downloaded Dev-c++, allegro library, mingw32 and dx70 for mingw.
I configured allegro under mingw32 and installed Dev-c++. I wrote a
simple program looking like that:

#include <allegro.h>

int main()
{
allegro_init();
return (0);
}
END_OF_MAIN();

And there is an error:

undefined reference to "install_allegro".

What is wrong? Why it doesn't work?
 
T

Thomas Matthews

Karol said:
I wonted to write programs with allegro library under Windows so I
have downloaded Dev-c++, allegro library, mingw32 and dx70 for mingw.
I configured allegro under mingw32 and installed Dev-c++. I wrote a
simple program looking like that:

Allegro is not a part of the _standard_ C++ language and thus
not discussed in this newsgroup. You will need advice from
the experts in a Dev-C++ or Allegro newgroup.

Read the C++ welcome and Faq below.

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,021
Latest member
AkilahJaim

Latest Threads

Top