/* attempt to deal with prototype, bootstrap, jquery conflicts */ /* for dropdown menus */

Jump to content

Image of the Day

What's the best way to move your heavy stuff? Using a power loader! #spacr #screenshotsaturday 💪🤖💪 https://t.co/sOjz2XNVeq
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net's newsletters to receive the latest updates and exclusive content.


Sign up now

Compiling DevIL

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
No replies to this topic

#1 NSDuo   Members   

329
Like
0Likes
Like

Posted 02 March 2014 - 02:45 PM

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?


Macbook Pro 2.66Ghz dual core, 4GB ram, 512MB vram, MacOSX 9.1, Windows 8.1
Xcode 5.0.2, C++, lua





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.