Newbie Building Problems – Windows MAX_PATH issue?

About Monkey 2 Forums Monkey 2 Programming Help Newbie Building Problems – Windows MAX_PATH issue?

This topic contains 2 replies, has 2 voices, and was last updated by  Mark Sibly 2 years, 4 months ago.

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

    ootsby
    Participant

    I’m trying to have a play with the latest Monkey 2 release and Pyro 2 and I’m getting failures when trying to build the Pyro 2 demos via Ted2Go for desktop. On first attempt the pacmanish demo builds and runs in debug mode but if I try to rebuild then it fails with the following output:

    If I delete the build directory then it will build successfully (again, just once).

     

    Alternatively, if I try to build in release mode it fails first time with this output:

    The file it’s trying to create there has a path length of 261 chars. Windows MAX_PATH is 260 chars. Is there some workaround/setting to adjust the filename munging to avoid this (other than telling me to move the project).

    #5613

    ootsby
    Participant

    Oops. I should have mentioned that I have checked and both issues do go away if I shorten the path. That’s fine but my directory structure is hardly crazily deep. The build process is the thing generating an extra 180+ characters on the path.

    #5624

    Mark Sibly
    Keymaster

    The latest mx2cc up at github should fix some/most/all of the crazy-long tmp file name issues.

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

You must be logged in to reply to this topic.