|
|
| Allegro5 on Code::Blocks10 - care to walk me through this? |
|
SpectreNectar
Member #10,969
May 2009
|
Hi, I've been using Allegro4 for a little while, but have really just been waiting for 5 to come out and now it has Am I to understand that it is still subject to change/ unstable? In other words, can I use it to make a complete game as it is now? I'm fonfused... If so, I'd really appreciate if someone would take the time to explain to me how to make it compile. My IDE is Code::Blocks 10.05, I'd like very much to install Allegro 5.0.0 RC2 (that's an actual version name, right?) I have a working installation of Allegro 4.x I've read that I should download cmake so I did, and so I opened it (bin/cmake-gui.exe) and gave C:/allegro as first argument and C:/allegro/build sa second, clicked tools -> configure, configure, and generate. It showed a lot of red name/value pairs at first but that vanished when I clicked configure the second time. C:/allegro is where I unzipped A5 .. I also downloaded some binary for mingw and merged into the same folder. It had: lib, include and bin directories. Also, inside C::B I opened project -> build options , navigated to linker settings and added allegro\lib\liballegro-5.0.0-RC2-md.a Now I'm out of ideas of where to look and what to do I compile a program (one of the examples that I copy pasted into an 'allegro project' (A4) - there was no A5 project templates) and it said: allegro5/allegro.h: No such file or directory So... what I could really use, again, is someone willing to give me a hand with the actual steps involved in installing allegro. This time v5. A very big thank you |
|
Matthew Leverton
Supreme Loser
January 1999
|
If you use the binaries, you don't need the source distribution. In fact, you cannot use the header files from the source as-is. You just need to add the include folder that came with your binary package to your IDE's project settings. |
|
SpectreNectar
Member #10,969
May 2009
|
Thanks for your reply. Ok, so I downloaded the binary from: Unpacked it and moved it to c:\allegro Started up C::B and opened project -> build options , navigated to linker settings and added allegro\lib\liballegro-5.0.0-RC2-mt.a as opposed to md I compile and get the same message I did before. I'm definately missing something. |
|
Matthew Leverton
Supreme Loser
January 1999
|
Matthew Leverton said: You just need to add the include folder that came with your binary package to your IDE's project settings.
|
|
SpectreNectar
Member #10,969
May 2009
|
Great, it works. Thanks again |
|
|