Last edited by qubodup on Thu Feb 05, 2009 9:29 pm, edited 2 times in total.
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
Are you sure you got all of the library (and not just the dev files, or something like that)? I can't see any errors in both, so I guess they only occur in runtime, try ldd on the resulting binary and check if everything is resolved. If everything is, you might try and do something like strace to see where it goes wrong.
bartbes wrote:Are you sure you got all of the library (and not just the dev files, or something like that)? I can't see any errors in both, so I guess they only occur in runtime, try ldd on the resulting binary and check if everything is resolved. If everything is, you might try and do something like strace to see where it goes wrong.
and box2d was custom-built and provided via LDFLAG.
Arch Linux' package system doesn't have '-dev' packages, so I'm actually not sure what that means. I suppose that means that source and binary are provided at the same time..
I'll try to figure out how to use ldd and strace now then.
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
I don't have a 64 bits system, but everything is working well so if there is an error it's maybe related to 64 bits.
And yes, there is not dev package in archlinux, they are included with the 'normal' libraries. It's not bad, though for making a livecd it can be a bit annoying to include the qt designer just because there is a qt dep in a package.
I use Arch Linux x86_64 too, and I've just manually update DevIL to 1.7.3 to fix this problem.
(It's a 64bit related problem only, works fine with the chroot 32bit environment).
No I did not. I will however, when I get DevIL to work.
alenofx wrote:I use Arch Linux x86_64 too, and I've just manually update DevIL to 1.7.3 to fix this problem.
(It's a 64bit related problem only, works fine with the chroot 32bit environment).
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
alenofx wrote:I use Arch Linux x86_64 too, and I've just manually update DevIL to 1.7.3 to fix this problem.
DevIL compiles now, however I'm uncertain as to how to install it or whether I should link it, as I did with box2d.
Did you create a package for DevIL? or did you just make install?
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
alenofx wrote:I use Arch Linux x86_64 too, and I've just manually update DevIL to 1.7.3 to fix this problem.
DevIL compiles now, however I'm uncertain as to how to install it or whether I should link it, as I did with box2d.
Did you create a package for DevIL? or did you just make install?
There is the devil 1.6.7-5 package in the official extra repository; I've synchronized the package tree with ABS, copied related files in a new folder, modified the PKGBUILD to compile the latest version (fixing headers problem directly in sources) and installed using pacman.
I never use make install, I always prefer packages.