Löve and the devIL

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
farvardin
Party member
Posts: 167
Joined: Sat Jun 28, 2008 6:46 pm

Löve and the devIL

Post 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!
User avatar
bmelts
Party member
Posts: 380
Joined: Fri Jan 30, 2009 3:16 am
Location: Wiscönsin
Contact:

Re: Löve and the devIL

Post 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.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Löve and the devIL

Post by bartbes »

Well, I thought rude was talking about stopping to use DevIL, if that is really true that shouldn't be a problem.
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: Löve and the devIL

Post by rude »

We did talk about that, but it seems that DevIL is back in active development.
User avatar
rasjani
Prole
Posts: 22
Joined: Sun Sep 21, 2008 12:38 pm
Location: Finland
Contact:

Re: Löve and the devIL

Post 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 =)
User avatar
qubodup
Inner party member
Posts: 775
Joined: Sat Jun 21, 2008 9:21 pm
Location: Berlin, Germany
Contact:

Re: Löve and the devIL

Post 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:
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 7 guests