Sign in to follow this  

Compiling DevIL

Recommended Posts

NSDuo    329

I'm having trouble compiling DevIL. I manage to configure it the way I want (without directx and with the OpenGL utiliies), but when I give the "make" command I get this error:


"error: invalid argument '-std=gnu99' not allowed with 'C++/ObjC++'

make[1]: *** [libIL_la-il_exr.lo] Error 1

make: *** [all-recursive] Error 1"


After some googling, I found that the error means that the computer is trying to compile C++ code with a plain C compiler (and that makes sense that it wouldn't work). However I couldn't find any solutions on how to correct it.


Is there a way to solve this or is it a problem only the lib ray developers can address?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this