Ted2 Building

About Monkey 2 Forums Monkey 2 Development Ted2 Building

This topic contains 12 replies, has 3 voices, and was last updated by  Sledge 2 years, 6 months ago.

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #4464

    Sledge
    Participant

    Hullo [waves!]

    Is there a trick to getting your own stuff to auto-run upon building, like all the examples do? Because at the moment new .monkey2 files don’t for me and I’m not quite sure if it’s a bug or if there’s a ticky-box somewhere that needs a tickle.

    #4465

    Mark Sibly
    Keymaster

    Shouldn’t need to do any fancy – just ‘build and run’ from the build menu.

    Can you post the output from the ‘build’ console at the bottom?

    #4466

    Sledge
    Participant

    This is on OSX so, to be fair to it, the menus don’t mention running anything 🙂 But the output is the same as for the examples that do run…

    [/crayon]

    I’ve tried it with a new folder in Bananas too but, again, it’s only the source MX2 comes with that will run after building (EDIT: automatically I mean. I can go to the folder and launch the app so the actual build process is working fine).

    #4467

    Mark Sibly
    Keymaster

    Yikes, what version are you using?!?

    #4468

    Sledge
    Participant

    OSX: 10.11.6
    Xcode: 8.0
    Ted: Build output reads…

    [/crayon]
    #4470

    Mark Sibly
    Keymaster

    Ok, I’ve updated the version on the Files page to v1.0.5.

    Not quite the latest and greatest (it’s easy to build from source though – give it a try!) but at least it has ‘Build and run’.

    #4472

    Sledge
    Participant

    Cheers! Is that the Windows binary or the OSX source, though? The source is still marked as v1.0.0.

    #4476

    Mark Sibly
    Keymaster

    Ignore the source on the download page – grab it from here:

    https://github.com/blitz-research/monkey2

    Select ‘tags->v1.0.5’ (or any version) from the ‘branch’ combobox, then ‘clone or download->download zip’.

    #4480

    Sledge
    Participant

    Ah, I tried a git pull yesterday and fell into all sorts of permissions hell trying to get it built and compiling — just taking a zip from that repo instead works perfectly. Thanks Marky.

    #4497

    DruggedBunny
    Participant

    I’m not quite getting something about the Github update process!

    I use Github Desktop, dragging and dropping the link from https://github.com/blitz-research/monkey2/ (which I assume should get the latest master) but I end up with a version showing last updated 2 months ago in the History tab, and no hellochipmunk. (Tried deleting it from Github Desktop and starting over, but it does the same.)

    Hitting the Download link gets the latest version, but I assume it’s possible to get the latest in Github Desktop… somehow? It doesn’t seem to pull down the master branch that the link above shows… what am I missing?!

    #4498

    Mark Sibly
    Keymaster

    Ah, I tried a git pull yesterday and fell into all sorts of permissions hell trying to get it built and compiling

    Yeah, this is my fault really. I use TeamDrive to sync source code between 3 machines, but only ever push to github from the PC (tried to sync .git folders once, ended in tears). So when I modify an exe or .sh file on macos/linux, permissions are lost by the time it gets to the PC (at least, I assume that’s what’s happening).

    I really, really don’t want to use github for ALL my syncing as auto-syncing is just so convenient, but I guess I could add chmod’s to rebuildall.sh so at least there’s only one file to chmod?

    I assume it’s possible to get the latest in Github Desktop… somehow?

    No idea what’s up there, sounds like a bug or it’s caching something. I use ‘sourcetree’ and have had pretty much no problems with it ever.

    #4499

    DruggedBunny
    Participant

    I’ll maybe give that one a go, then… don’t like Github Desktop’s GUI anyway…

    Just realised I’m slightly OT, apologies. Liking new Ted2 a lot more, though, become quite nice to work in, huge achievement for a self-rolled GUI system!

    #4539

    Sledge
    Participant

    I really, really don’t want to use github for ALL my syncing as auto-syncing is just so convenient, but I guess I could add chmod’s to rebuildall.sh so at least there’s only one file to chmod?

    I think that’d be generally handy, if only because as a user it’s difficult to attribute any subsequent compiler errors (for example) to actual bugs that need reporting if the building process had issues. I’m happy with the zips, mind

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

You must be logged in to reply to this topic.