bus error on mac os x 10.5

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
notmmao
Prole
Posts: 3
Joined: Mon Mar 23, 2009 3:06 am

bus error on mac os x 10.5

Post by notmmao »

I download source code from http://downloads.sourceforge.net/love/l ... -0.tar.bz2.
then [./configure ;make ;sudo make install ].
finally i get a unix shell exec file named love.
when i run it,i get the bug error.
This is LOVE 0.5.0 (Salted Nuts).

INIT love.filesystem [PhysFS]
INIT love.graphics [OpenGL/DevIL/FreeType]
INIT love.audio [SDL_mixer]
INIT love.timer [SDL]
INIT love.mouse [SDL]
INIT love.keyboard [SDL]
INIT love.physics [Box2D]
INIT love.lib [LuaSocket]
INIT love.joystick [SDL]
INIT love.system [Generic]
Usage: love [FILE]

Examples:
love demo01.love
love /home/nyan/mygame

Bus error
thanks for read this words.
User avatar
appleide
Party member
Posts: 323
Joined: Fri Jun 27, 2008 2:50 pm

Re: bus error on mac os x 10.5

Post by appleide »

If you really want to compile your own version, you need to use XCode, plus get all the necessary binaries and frameworks, which you can find in the current mac binary. I've uploaded some project files which you place in the source folder: love-0.5/platform/macosx . The project files can be found on svn trunk. I think they might be on some thread on the forums too...

Otherwise just download love.app mac binary from the download page! :)
marzubus
Prole
Posts: 1
Joined: Sun Mar 15, 2009 11:36 am

Re: bus error on mac os x 10.5

Post by marzubus »

I have also just tried to build on my iMac and have checked out the code from SVN:trunk

However when opening the trunk/platform/macosx/love.xcodeproj I get a error from xcode saying that
the project.pbxproj is missing. Can someone please check that into SVN?

Kegan
User avatar
appleide
Party member
Posts: 323
Joined: Fri Jun 27, 2008 2:50 pm

Re: bus error on mac os x 10.5

Post by appleide »

I need a new SVN client... I think my current one saw my .xcodeproj has a file and only uploaded the directory not its contents........
Try and see if this works.
Attachments
macosx.zip
(61.68 KiB) Downloaded 272 times
notmmao
Prole
Posts: 3
Joined: Mon Mar 23, 2009 3:06 am

Re: bus error on mac os x 10.5

Post by notmmao »

appleide wrote:I need a new SVN client... I think my current one saw my .xcodeproj has a file and only uploaded the directory not its contents........
Try and see if this works.
ah,i have check out the svn trunk yesterday, it seems not complete.
thanks for upload the xcode porject file here.
In fact,I want to porting Love2d to Iphone,so i need recompile all the libraries which it's dependably.
first step is run it on Mac os x,appleide's UB contains some frameworks that ensures love2d run on mac os x,but i need those static library not framework.
Unfortunately,i get the bus error at the runtime.
...
when i use IL.Framework From the UB to replace libil.a which i compiled,it work well.
so i need to check the OpenIL and the bus error is not about love2d.

I'm sorry my English is so poor,hope you can understand my word.
User avatar
appleide
Party member
Posts: 323
Joined: Fri Jun 27, 2008 2:50 pm

Re: bus error on mac os x 10.5

Post by appleide »

when i use IL.Framework From the UB to replace libil.a which i compiled,it work well.
It's probably something to do with IL.framework then.... I had to make my own IL.framework too and IL's developer i think said he had trouble making everything works okay when he tried to do his own OS X framework. I didn't see any problems, so maybe I just skipped them without knowing. :brows:

What version of OS X do you use? 10.4, 10.5 etc?

If you need static library you might need to check the different licenses of the libs... IIRC you can't do it if they're LGPL.
notmmao
Prole
Posts: 3
Joined: Mon Mar 23, 2009 3:06 am

Re: bus error on mac os x 10.5

Post by notmmao »

appleide wrote: If you need static library you might need to check the different licenses of the libs... IIRC you can't do it if they're LGPL.
Thank you for the warning.
Finally, I use sdl_image replaced the devil.
User avatar
appleide
Party member
Posts: 323
Joined: Fri Jun 27, 2008 2:50 pm

Re: bus error on mac os x 10.5

Post by appleide »

Good luck with it!
By the way I've managed to compile the latest SVN and uploaded macosx xcode project files. (Should actually be there this time...)

If you're on mac and you want to compiled SVN version you need to replace all instances of "#include <alut.h>" with "#include <al.h>" .
Mac's OpenAL framework doesn't have alut.h header; apparently its not official or something, according to google search.
Reference: http://developer.apple.com/qa/qa2006/qa1504.html

And you need SDL_sound.framework too. I had to take a couple of minutes to compile it myself.
Post Reply

Who is online

Users browsing this forum: Azzla and 3 guests