Quote Originally Posted by roracle View Post
As suggested, I have an install of Ubuntu 16.04 (virtual machine, but it's powerful enough here) with all updates and the proper g++, along with cmake and all the rest, and I have this error immediately when doing "make":



There is literally no "platform" directory in the "allegro" directory file, so there's no way it could find "alucfg.h" no matter how hard it tries. I don't know if this was intended, as the GitHub page suggests all changes made to allegro are in the file, or in "all422-fixed.zip" which also does not exist, as the GitHub readme points to a .allegro file directory which also does not exist in the downloaded package.

Any help would be nice here. (I'm baffled as to why people don't build in Linux first as a rule anyway. I figured a free platform with everything you need would be attractive to developers.)
I have not been able to compile ZC on Linux in a long time. You'll need to set up Allegro 4.4.3 in your include paths; and you may want to look at my current state of Linux fixes, here:

https://github.com/ArmageddonGames/Z...ree/2.53-LINUX

I made several changes in order to fix issues compiling with g++, but my libc and related files for g++ completely took a dive when it came down to linking intermediates, and when I tried to force a patch to my g++ deps, I ended up wrecking my deps trees.

You can also ask about Allegro on Linux on the forums at https://allegro.cc

I ran into this, and was never able to resolve it:

Code:
CMakeFiles/zelda.dir/src/qst.cpp.o: In function `check_questpwd(zquestheader*, char*)':

qst.cpp:(.text+0x3cbd): undefined reference to `_alemu_memcmp'
CMakeFiles/zelda.dir/src/qst.cpp.o: In function `readguys(PACKFILE*, zquestheader*, bool)':