I'm continuing my game-making journey with a step into C++ and I'm trying to use allegro. I'm using Microsoft Visual Studio, I think the 2013 version. I believe I am using allegro 5.0? Not the one that's currently an unstable beta, but the version just before that.
Anyway, I followed this guide: http://wiki.allegro.cc/index.php?title=Windows,_Visual_Studio_2010_and_Allegro_5
My 'project' is failing to build. Error message: c:\allegro\include\allegro5\internal\alconfig.h(28): fatal error C1083: Cannot open include file: 'allegro5/platform/alplatf.h': No such file or directory
Anyone know how I can go about fixing this?
Thanks in advance!
That file is generated at build time I think. Assuming you downloaded the right zip file it should be included. Did you download the source zip? Or the msvc binaries?
I downloaded allegro-5.0.10.zip
Was I supposed to grab a different file?
Yes, the tutorial says to download something like: allegro-5.0.x-msvc-10.0.zip from http://allegro.cc/files ie: this file
The file you downloaded is the source, and does not have the generated headers, or precompiled libs.
Well gosh. I feel silly.
It's compiling now, at least! I'm missing a .dll, but I'm confident I'll be able to troubleshoot from here on my own. Thanks a million!