love-0.5.0 failed to compile

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.
lazy_bum
Prole
Posts: 2
Joined: Thu Oct 02, 2008 8:34 am

love-0.5.0 failed to compile

Post by lazy_bum »

As a Gentoo user I like to build from source... and latest love failed to build, here's tail -n 100 from compile.log. Feel free to ask about libs or deps installed on my machine, because, sincerely speaking, I'm a little confused about that. (-:
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: love-0.5.0 failed to compile

Post by rude »

By the looks of line 79, it seems that you're missing DevIL:

opengl/love_opengl.cpp:19:19: error: IL/il.h: Nie ma takiego pliku ani katalogu

(Is that finnish?)
lazy_bum
Prole
Posts: 2
Joined: Thu Oct 02, 2008 8:34 am

Re: love-0.5.0 failed to compile

Post by lazy_bum »

rude wrote:By the looks of line 79, it seems that you're missing DevIL:

opengl/love_opengl.cpp:19:19: error: IL/il.h: Nie ma takiego pliku ani katalogu
Yes, it was missing.
rude wrote:(Is that finnish?)
(if that's a language related question, then) No.
User avatar
Kaze
Party member
Posts: 189
Joined: Sat Jul 19, 2008 4:39 pm
Location: Dublin, Ireland

Re: love-0.5.0 failed to compile

Post by Kaze »

rude wrote:(Is that finnish?)
Polish.
User avatar
farvardin
Party member
Posts: 167
Joined: Sat Jun 28, 2008 6:46 pm

Re: love-0.5.0 failed to compile

Post by farvardin »

love 0.5.0 failed to compile for me too. I got this:

Code: Select all

physfs/File.cpp: In member function virtual bool love_physfs::File::write(const char*, int)’:
physfs/File.cpp:112: error: ‘strlen’ was not declared in this scope
make[2]: *** [physfs/File.o] Error 1
make[2]: Leaving directory `/tmp/love-0.5-0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/love-0.5-0/src'
make: *** [all-recursive] Error 1
my system is archlinux, and it's up to date. My compiler version is gcc (GCC) 4.3.2
User avatar
rasjani
Prole
Posts: 22
Joined: Sun Sep 21, 2008 12:38 pm
Location: Finland
Contact:

Re: love-0.5.0 failed to compile

Post by rasjani »

^ add #include <string.h> into the file where the error comes from, that should fix the issue..
User avatar
farvardin
Party member
Posts: 167
Joined: Sat Jun 28, 2008 6:46 pm

Re: love-0.5.0 failed to compile

Post by farvardin »

thank you very much! It's working now, and I could make my aur package for archlinux.

It's obviously a bug in the source? I hope it will be fixed in the new release. I wonder how it compiled for other people. Maybe more includes in the default path?
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: love-0.5.0 failed to compile

Post by rude »

Fixed.
User avatar
appleide
Party member
Posts: 323
Joined: Fri Jun 27, 2008 2:50 pm

Re: love-0.5.0 failed to compile

Post by appleide »

Uhh, how come there are no header files for everything inside the source folder box2d? Did I miss something incredibly obvious? ><
User avatar
rasjani
Prole
Posts: 22
Joined: Sun Sep 21, 2008 12:38 pm
Location: Finland
Contact:

Re: love-0.5.0 failed to compile

Post by rasjani »

^ earlier source tar balls and zip's had some missing files - those where reported to rude and i think he fixed those packages already..
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 10 guests