About Monkey 2 › Forums › Monkey 2 Development › Can't compile any of the Bananas with V010
This topic contains 3 replies, has 3 voices, and was last updated by 
 therevills 2 years, 10 months ago.
- 
		AuthorPosts
 - 
		
			
				
June 17, 2016 at 5:05 am #1113
Hi,
Just got the latest release, and now none of the bananas (or my own tests) works. I’m on OS X El Capitan, and I get errors like this (This one is for RenderToImage.monkey2 ):
__________________________________________________________
“/Applications/Leo/Blitz/monkey2/bin/mx2cc_macos” makeapp -target=Desktop -config=Debug “/Applications/Leo/Blitz/monkey2/bananas/rendertoimage/rendertoimage.monkey2″
MX2CC V0.010
***** Building app ‘/Applications/Leo/Blitz/monkey2/bananas/rendertoimage/rendertoimage.monkey2’ *****
Parsing…Semanting…
Translating…
Compiling….
Linking /Applications/Leo/Blitz/monkey2/bananas/rendertoimage/rendertoimage.buildv010/desktop_debug_macos/rendertoimage
Running /Applications/Leo/Blitz/monkey2/bananas/rendertoimage/rendertoimage.buildv010/desktop_debug_macos/rendertoimage
Memory access violation{{!DEBUG!}}
>GetGlyph:mojo.graphics.Glyph(char:Int);/Applications/Leo/Blitz/monkey2/modules/mojo/graphics/font.monkey2;59;12574
char:Int=84
>TextWidth:Float(text:String);/Applications/Leo/Blitz/monkey2/modules/mojo/graphics/font.monkey2;66;12573
text:String=”This way up!”
w:Float=0
0:Int=0
1:Int=12
char:Int=84
>DrawText:Void(text:String,tx:Float,ty:Float,handleX:Float,handleY:Float);/Applications/Leo/Blitz/monkey2/modules/mojo/graphics/canvas.monkey2;688;12572
text:String=”This way up!”
tx:Float=128
ty:Float=0
handleX:Float=0.5
handleY:Float=0
>RenderImage:Void();/Applications/Leo/Blitz/monkey2/bananas/rendertoimage/rendertoimage.monkey2;43;4103
>OnRender:Void(canvas:mojo.graphics.Canvas);/Applications/Leo/Blitz/monkey2/bananas/rendertoimage/rendertoimage.monkey2;52;4100
canvas:mojo.graphics.Canvas=@0x7f902bf33568
>Render:Void(canvas:mojo.graphics.Canvas);/Applications/Leo/Blitz/monkey2/modules/mojo/app/view.monkey2;648;3447
canvas:mojo.graphics.Canvas=@0x7f902bf33568
>Render:Void();/Applications/Leo/Blitz/monkey2/modules/mojo/app/window.monkey2;152;2520
bounds:std.geom.Rect<Int>=@0x7fff5b13aff0:0x104c02ef0
>MainLoop:Void();/Applications/Leo/Blitz/monkey2/modules/mojo/app/app.monkey2;307;2177
0:Void[]=@0x7f902c80b060
1:Int=0
2:Int=1
window:mojo.app.Window=@0x7f902bd57478
>Run:Void();/Applications/Leo/Blitz/monkey2/modules/mojo/app/app.monkey2;334;2174
>Main:Void();/Applications/Leo/Blitz/monkey2/bananas/rendertoimage/rendertoimage.monkey2;80;89
June 17, 2016 at 6:21 am #1114Oops, try again. mx2cc was making console apps by default – now changed to gui apps for compatbility with ted1. Trying to access assets from a console app on macos will not currently work.
Also moved the v010 tag.
June 17, 2016 at 7:15 am #1115Works now, thanks!
June 17, 2016 at 11:46 pm #1130Moved to a new thread.
 - 
		AuthorPosts
 
You must be logged in to reply to this topic.