Page 1 of 1

Löve and the devIL

Posted: Mon Feb 02, 2009 6:34 am
by farvardin
It seems with devIL 1.7.5 you can no longer compile löve :
opengl/love_opengl.cpp: In function ‘void love_opengl::screenshot(const char*)’:
opengl/love_opengl.cpp:1601: erreur: ‘ILvoid’ was not declared in this scope
opengl/love_opengl.cpp:1601: erreur: expected primary-expression before ‘)’ token
make[2]: *** [opengl/love_opengl.o] Erreur 1
Löve is not working well with the devIL!

Re: Löve and the devIL

Posted: Mon Feb 02, 2009 10:26 am
by bmelts
I ran into this problem as well.

I tried changing all instances of ILvoid to void. It removed the errors and didn't cause any further compiler issues, but I've yet to see if it will wreak havoc on LÖVE itself or not. My gut says no, but I can't verify it.

Re: Löve and the devIL

Posted: Mon Feb 02, 2009 1:49 pm
by bartbes
Well, I thought rude was talking about stopping to use DevIL, if that is really true that shouldn't be a problem.

Re: Löve and the devIL

Posted: Mon Feb 02, 2009 2:09 pm
by rude
We did talk about that, but it seems that DevIL is back in active development.

Re: Löve and the devIL

Posted: Thu Feb 05, 2009 11:57 am
by rasjani
There was issue compiling DevIL with gcc 4.2 so they (devil devs) made patches and removed ILvoid datatype .. http://love2d.org/forum/viewtopic.php?f=4&t=394#p3894 =)

Re: Löve and the devIL

Posted: Thu Feb 05, 2009 9:27 pm
by qubodup
I recently updated DevIL on my arch linux and now I can compile and run love! :ultrahappy: :ultrahappy: :ultrahappy:

PS: It feels *so* good to makepkg LOVE! :neko: