I'm trying to set up Allegro to work with MinGW in Geany in Windows. But I keep running into errors (I assume linker errors). Here's what I've done so far:
I already had Geany and MinGW installed.
I downloaded Allegro 5 from http://www.allegro.cc/files/
I chose Allegro MinGW 4.6.2 zip under Windows Binaries
I unzipped the file (allegro-5.0.7-mingw-4.6.2)
It contained 3 folders; lib, bin, and include.
I then copied the folders into my MinGW installation. More specifically, I merged the lib, bin, and include folders from Allegro with the lib, bin, and include in my MinGW installation.
After that I set up my build commands in Geany as follows:
Compile:
g++ -O0 -g3 -Wall -c -o"%e.o" "%f"
Build:
g++ -o"%e" ./%e.o -Lalleg
Execute:
"./%e"
When I try to build my project I get a bunch of undefined reference errors. Any help with this would be awesome!