Trouble Building Löve (With Sebt3's Toolchain)


synkro

0xdeadbeef
Joined
Aug 26, 2003
Messages
823
Location
Germany
Website
Visit site
I am stuck compiling löve for Pandora. I use sebt3 toolchain and setup. One requirement is DevIL which I can build an install. The lib is created and the includes exists, still pndconfigure can't find the requirement. Any idea what I could be doing wrong?

Before you ask: Yes, I alreday tried nlöve. It compiles and runs on the Pandora, see for yourself. But I don't like it as it is only SDL and a sub set of löve.

If you fell like missing some löve in your life, have alook here: http://love2d.org/

Hi there! LÖVE is an *awesome* framework you can use to make 2D games in Lua. It's free, open-source, and works on Windows, Mac OS X and Linux.
 
SiENcE said:
Can u share this port of nLove for Pandora on the official Forum (nLove Subforum) ?

-> http://love2d.org/forums/viewforum.php?f=10

Sure, even though it is more a proof-of-concept than a port. It is lacking a front end (maybe Pickelauncher) to start love games: Also someone has to find out how to bild a complete ready-out-of-box .pnds to distribute löve games.
 
Last edited by a moderator:
Just started today to compile the libs needed to port Nlove...(started with Physfs lib) but you have beaten me :D , anyway i'm using the same Sebt3 toolchain but with codeblocks.
Now i will search another project to port. :)

You can integrate Picklelauncher for start love examples (for reference see SiENcE Caanoo version or mine GP2X version ).
 
Farox said:
Just started today to compile the libs needed to port Nlove...(started with Physfs lib) but you have beaten me :D , anyway i'm using the same Sebt3 toolchain but with codeblocks.
Now i will search another project to port. :)

You can integrate Picklelauncher for start love examples (for reference see SiENcE Caanoo version or mine GP2X version ).

NO NO! YOU DO IT! I WILL NOT WORK ANY FURTHER ON nlöve!
 
Last edited by a moderator:
synkro said:
I use sebt3 toolchain and setup. One requirement is DevIL which I can build an install. The lib is created and the includes exists, still pndconfigure can't find the requirement. Any idea what I could be doing wrong?
Logs would be cool ;)
 
Last edited by a moderator:
sebt3 said:
synkro said:
I use sebt3 toolchain and setup. One requirement is DevIL which I can build an install. The lib is created and the includes exists, still pndconfigure can't find the requirement. Any idea what I could be doing wrong?
Logs would be cool ;)

Indeed ...

Code:
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
configure: loading site script /usr/local/angstrom/arm/site-config
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-angstrom-linux-gnueabi-strip... /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking build system type... i686-pc-linux-gnu
checking host system type... arm-angstrom-linux-gnueabi
checking for style of include used by make... GNU
checking for arm-angstrom-linux-gnueabi-gcc... /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-gcc accepts -g... yes
checking for /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-gcc option to accept ISO C89... none needed
checking dependency style of /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-gcc... /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld
checking if the linker (/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-nm -B
checking the name lister (/usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-nm - B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld option to reload object files... -r
checking for arm-angstrom-linux-gnueabi-objdump... arm-angstrom-linux-gnueabi-objdump
checking how to recognize dependent libraries... pass_all
checking for arm-angstrom-linux-gnueabi-ar... /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-ar
checking for arm-angstrom-linux-gnueabi-strip... (cached) /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-strip
checking for arm-angstrom-linux-gnueabi-ranlib... /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-ranlib
checking command to parse /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-nm -B output from /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-gcc object... ok
checking how to run the C preprocessor... /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... no
checking for /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-gcc option to produce PIC... -fPIC -DPIC
checking if /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-gcc PIC flag -fPIC -DPIC works... yes
checking if /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-gcc static flag -static works... yes
checking if /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-gcc supports -c -o file.o... yes
checking if /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-gcc supports -c -o file.o... (cached) yes
checking whether the /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-gcc linker (/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for arm-angstrom-linux-gnueabi-gcc... (cached) /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-gcc accepts -g... (cached) yes
checking for /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-gcc option to accept ISO C89... (cached) none needed
checking dependency style of /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-gcc... (cached) gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-g++ accepts -g... yes
checking dependency style of /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-g++... gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-g++ accepts -g... (cached) yes
checking dependency style of /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-g++... (cached) gcc3
checking how to run the C++ preprocessor... /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-g++ -E
checking for ld used by /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-g++... /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld
checking if the linker (/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld) is GNU ld... yes
checking whether the /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-g++ linker (/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld) supports shared libraries... yes
checking for /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-g++ option to produce PIC... -fPIC -DPIC
checking if /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-g++ PIC flag -fPIC -DPIC works... yes
checking if /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-g++ static flag -static works... yes
checking if /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-g++ supports -c -o file.o... yes
checking if /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-g++ supports -c -o file.o... (cached) yes
checking whether the /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-g++ linker (/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for library containing sqrt... -lm
checking for library containing SDL_Init... -lSDL
checking for library containing glLoadIdentity... -lGL
checking for library containing alSourcePlay... -lopenal
checking for library containing lua_pcall... -llua
checking for library containing ilInit... no
configure: error: Can't LÖVE without DevIL

But in this case not very helpful. In the configure.in I saw

Code:
AC_SEARCH_LIBS([ilInit], [IL], [], AC_MSG_ERROR([Can't LÖVE without DevIL]))

I've build the lib, I have libIL and the function ilInit is in the header file. I am stuck :(
 
Last edited by a moderator:
synkro said:
Code:
configure: error: Can't LÖVE without DevIL

But in this case not very helpful. In the configure.in I saw

Code:
AC_SEARCH_LIBS([ilInit], [IL], [], AC_MSG_ERROR([Can't LÖVE without DevIL]))

I've build the lib, I have libIL and the function ilInit is in the header file. I am stuck :(
Not yet the right log, I would prefer a pastebin of config.log :)
 
Last edited by a moderator:
synkro said:
Check line 775 and 776 of your config.log :
Code:
/home/kim/Pandora/utmp/nlove/lib//libIL.so: undefined reference to `ilLoadIlbmF'
/home/kim/Pandora/utmp/nlove/lib//libIL.so: undefined reference to `ilLoadIlbmL'
It look like your libIL build is not complete (at least it need more functions included)
 
Last edited by a moderator:
sebt3 said:
synkro said:
Check line 775 and 776 of your config.log :
Code:
/home/kim/Pandora/utmp/nlove/lib//libIL.so: undefined reference to `ilLoadIlbmF'
/home/kim/Pandora/utmp/nlove/lib//libIL.so: undefined reference to `ilLoadIlbmL'
It look like your libIL build is not complete (at least it need more functions included)

Indeed, I disabled that picture format during configure as the source files crash the compiler during compilation O_O; So I have to look into that first, sigh :-(
 
Last edited by a moderator:
Someone could point me where is available for download a compiled version of Picklelauncher for Pandora ?
 
synkro said:
Farox said:
Someone could point me where is available for download a compiled version of Picklelauncher for Pandora ?

Ask Pickle?
Search on sourceforge! :)

Also why no witty pun about "Trouble making love"? ...
 
Last edited by a moderator:
Back
Top