Slackware64-14.2 + Kodi 17 - TexturePacker compile error
#1
I can compile Kodi 17 to the end, however, when it's compiling i notice these errors regarding TexturePacker so it never gets built:

Quote:make -C native
make[1]: Entering directory '/usr/local/src/xbmc-17.0-Krypton/tools/depends/native/TexturePacker/native'
make all-am
make[2]: Entering directory '/usr/local/src/xbmc-17.0-Krypton/tools/depends/native/TexturePacker/native'
g++ -DTARGET_POSIX -std=c++0x -g -O2 -llzo2 -ljpeg -lgif -lpng16 -lm -lz -lm -static -o TexturePacker md5.o XBTFWriter.o TexturePacker.o DecoderManager.o decoder/PNGDecoder.o decoder/JPGDecoder.o decoder/GifHelper.o decoder/GIFDecoder.o XBTF.o -llzo2 -ljpeg -lgif -lpng16 -lm -lz -lm
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -llzo2
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -ljpeg
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -lgif
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -lpng16
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -llzo2
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -ljpeg
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -lgif
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -lpng16
collect2: error: ld returned 1 exit status
Makefile:421: recipe for target 'TexturePacker' failed
make[2]: *** [TexturePacker] Error 1
make[2]: Leaving directory '/usr/local/src/xbmc-17.0-Krypton/tools/depends/native/TexturePacker/native'
Makefile:311: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/local/src/xbmc-17.0-Krypton/tools/depends/native/TexturePacker/native'
Makefile:43: recipe for target 'native/TexturePacker' failed
make: *** [native/TexturePacker] Error 2

What might be causing these errors?
Reply
#2
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -llzo2
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -ljpeg
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -lgif
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -lpng16
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -llzo2
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -ljpeg
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -lgif
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -lpng16

you are missing all these libs
Reply
#3
I solved the problem by using this patch:

https://slackbuilds.org/slackbuilds/14.2...cker.patch

copy it into the kodi 17 source code directory then:

patch -p0 < kodi-texturepacker.patch

or just use the kodi slackbuild instead of compiling yourself!
Reply

Logout Mark Read Team Forum Stats Members Help
Slackware64-14.2 + Kodi 17 - TexturePacker compile error0