Console output not working for me

About Monkey 2 Forums Monkey 2 Programming Help Console output not working for me

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4500

    DruggedBunny
    Participant

    This works from the IDE when built in console mode, but the resulting executable doesn’t actually print anything when run from command line. I’ve seen some posts relating to output being WIP and requiring newline, but this seems like it ought to print, since newline is added by Print anyway… I think!

    (Also, I notice the resulting build includes all the d3d, libgl, etc, stuff — are these currently required by all exes?)

    #4502

    Mark Sibly
    Keymaster

    This works from the IDE when built in console mode, but the resulting executable doesn’t actually print anything when run from command line.

    Oops, that’s an old Ted2 bug – just commited a fix.

    Also make sure you select ‘Console’ for apptype the first time you build the app. You can change this setting later using Build Target…Target settings (should probably be called product settings).

    Also, I notice the resulting build includes all the d3d, libgl, etc, stuff — are these currently required by all exes?

    Nope, only exes that #Import mojo (or gles20 etc).

    For console apps, the idea is you only need to #Import “<std>”, although you don’t have to.

    #4503

    DruggedBunny
    Participant

    Ohhh… I’m importing Mojo, duh! I’ll go to bed…

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

You must be logged in to reply to this topic.