Vincent K. - 2014-11-24

Hello,

I am trying to compile ResIL from source using the VS2010 project with the intention of using it with OpenGL and SDL. However, I can't seem to get it to build correctly.

As long as I don't define any of the ILUT preprocessor definitions, the project compiles and links correctly. However, if I choose to define either ILUT_USE_SDL or ILUT_USE_OPENGL, compilation fails with a number of ResIL classes and functions not being found (ilSetError and PalType, to name a few).

Can anyone let me know what step I am missing to get ILUT to compile correctly?

Also, I would like to build ResIL as a statically linked .lib as opposed to a .dll (so that I can use it with Emscripten, among other reasons.) Can anyone tell me if it's possible to build ResIL this way, and if so, how to set that up?

Thank you all for your help!