Page 1 of 4

love-0.5.0 failed to compile

Posted: Thu Oct 02, 2008 7:50 pm
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. (-:

Re: love-0.5.0 failed to compile

Posted: Thu Oct 02, 2008 8:14 pm
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?)

Re: love-0.5.0 failed to compile

Posted: Fri Oct 03, 2008 6:54 pm
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.

Re: love-0.5.0 failed to compile

Posted: Sat Oct 04, 2008 6:07 pm
by Kaze
rude wrote:(Is that finnish?)
Polish.

Re: love-0.5.0 failed to compile

Posted: Mon Oct 13, 2008 11:34 am
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

Re: love-0.5.0 failed to compile

Posted: Wed Oct 15, 2008 8:32 pm
by rasjani
^ add #include <string.h> into the file where the error comes from, that should fix the issue..

Re: love-0.5.0 failed to compile

Posted: Thu Oct 16, 2008 7:18 pm
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?

Re: love-0.5.0 failed to compile

Posted: Thu Oct 16, 2008 8:34 pm
by rude
Fixed.

Re: love-0.5.0 failed to compile

Posted: Sat Oct 18, 2008 10:24 pm
by appleide
Uhh, how come there are no header files for everything inside the source folder box2d? Did I miss something incredibly obvious? ><

Re: love-0.5.0 failed to compile

Posted: Sun Oct 19, 2008 11:39 am
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..