Can't compile any of the Bananas with V010

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.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1113

    Ethernaut
    Participant

    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

    #1114

    Mark Sibly
    Keymaster

    Oops, 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.

    #1115

    Ethernaut
    Participant

    Works now, thanks!

    #1130

    therevills
    Participant

    Moved to a new thread.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.