Read Start-up Dir

2009-11-27
2013-06-06
  • John Roberts

    John Roberts - 2009-11-27

    I have a problem with compiled exe in release (no debug info). On startup it doesn't get its startup path in full - just "C:\" or "C:" so of course it crashes. If built with debug info then it reads its startup path correctly.

    I am using wxWidgets release and debug builds both compiled with the same compiler.

    Any suggestions?

     
  • Kai Tietz

    Kai Tietz - 2009-11-27

    Hello,

    Hmm, in general we didn't got such a report about wxWidget. For most it seems to work.
    So, possibly it is related to the compiler version you are using. What toolchain (with date) and gcc version you are using?

    Kai

     
  • John Roberts

    John Roberts - 2009-11-28

    Thanks,
    I have just downloaded and installed the native 64 compiler/toolchain and recompiled wxWidgets. It now works as it should.

    The version that didn't work in release was the cross compiler from very early this year.

    Thanks, John

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks