Not working on Lion?

BlitzMax Forums/MiniB3D Module/Not working on Lion?

jkrankie(Posted 2011) [#1]
I've just installed Lion (OS X) on a new partition, and while MiniB3D builds fine, my game crashes on CreateCamera(). It spits out an 'Unhandled Exception:Attempt to index array element beyond array length' error from TMatrix.bmx in the LoadIdentity method (first line - grid[0,0]=1.0)

Anyone got any ideas why this is?

I'm going to try some other MiniB3D versions, just to be sure, as i honestly can't remember whether this is the small fixes version or not.

Cheers
Charlie


jkrankie(Posted 2011) [#2]
crashes with regular 0.53 too.

Cheers
Charlie


jkrankie(Posted 2011) [#3]
Even the simplest code crashes it:

Import sidesign.minib3d

Graphics3d 800,600,32,7

Local cam:tcamera=createcamera()
Local cube:tmesh=createcube()
Local light:tlight=createlight()

positionentity cam,0,0,-10
positionentity light,0,0,-10

While Not KeyHit(key_escape)
	turnentity cube,1,1,1
	renderworld
	Flip
Wend


Cheers
Charlie


jkrankie(Posted 2011) [#4]
Bah, i'm an idiot! Looks like there's been a second update for Lion i'd missed (1.43b).

Sorry!

Cheers
Charlie


AdamRedwoods(Posted 2011) [#5]
I blame Apple.