Actually, I've had to replace all the SDL includes with:
That way, I've been able to compile OALWrapper. I've also installed SDL and SDL2 frameworks. Using SDL. Should I use SDL2?
Compiling with cmake, I get this error (Tried with XCode too, same result). I think that's positive. It's an error in the HPL1Engine, when including angelscript.h
error: no viable conversion from 'int' to 'asUPtr'
This is the code
static asUPtr Convert(M Mthd)
// This version of the function should never be executed, nor compiled,
// as it would mean that the size of the method pointer cannot be determined.
// int ERROR_UnsupportedMethodPtr[-1];
Of course, return 0 causes a problem, because it's returning an integer, instead of an asUPtr element.
But I see that code should not be compiled, and it's inside a ifndef:
Sounds like AS_NO_CLASS_METHODS is not defined, and that causes the problem. I'm probably using an old (or too new?) version of angelscript.h. It was included in a zip called dependencies, that I got from here
Am I missing something?
About the OS, I can use Mac OS Mountain Lion + XCode 5 (or XCode 4.6, I have both), Windows 7 + Visual Studio 2010 or Ubuntu 12.04 + usual coding stuff. I prefer Mac, but, which would be the recommended environment to work?