//usr/lib/libIrrlicht.a(CImageLoaderJPG.o): In function `irr::video::CImageLoaderJPG::loadImage(irr::io::IReadFile*) const':
(.text+0x1ba): undefined reference to `jpeg_std_error'
//usr/lib/libIrrlicht.a(CImageLoaderJPG.o): In function `irr::video::CImageLoaderJPG::loadImage(irr::io::IReadFile*) const':
(.text+0x205): undefined reference to `jpeg_CreateDecompress'
...
(.text+0x976): undefined reference to `inflateEnd'
//usr/lib/libIrrlicht.a(png.o): In function `png_reset_crc':
(.text+0x1ca): undefined reference to `crc32'
//usr/lib/libIrrlicht.a(png.o): In function `png_calculate_crc':
(.text+0x22d): undefined reference to `crc32'
//usr/lib/libIrrlicht.a(png.o): In function `png_reset_zstream':
...
Gallaecio {l Wrote}:Ok, that last problem was because of some changes to the code I had copied from Arch Linux to make the game get installed in /usr/bin/supertuxkart & /usr/share/supertuxkart. Is there a way to do this other than --prefix and --datadir in configure? (those two don’t actually work, sadly).
./configure --with-irrlicht=... --prefix=/joerg; make; make install
mkdir -p /home/user/packaging/master/buildroot/_chroots/master-x32/home/user/games/
hiker {l Wrote}:Hi,
- {l Code}: {l Select All Code}
./configure --with-irrlicht=... --prefix=/joerg; make; make install
worked fine for me.
xapantu {l Wrote}:It seems that your directory "/home/user/packaging/master/buildroot/_chroots/master-x32/home/user/games/" doesn't exist, try:
- {l Code}: {l Select All Code}
mkdir -p /home/user/packaging/master/buildroot/_chroots/master-x32/home/user/games/
Then,it should work.
Gallaecio {l Wrote}:That would install executable to “/joerg/games/supertuxkart” and data to “/joerg/share/games/supertuxkart”, I want to replace /games/ with /bin/ in the first, and remove it in the second. I don’t think that’s possible currently.
Users browsing this forum: No registered users and 1 guest