rebuildall only rebuilds release mode

About Monkey 2 Forums Monkey 2 Development rebuildall only rebuilds release mode

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

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1211

    therevills
    Participant

    Just grabbed the latest code from GitHub and executed a rebuildall, then tried to compile my test monkey code for my module and got an error saying mx2cc couldnt find a file… scratched my head for tens mins or so.

    Tried rebuildall again and noticed it was only rebuilding the “release” versions, I then compiled my test code in release mode and it worked!

    Looks like performing a mx2cc makemods does create a debug version…

    So should rebuildall, rebuild release and debug versions of everything?!

    #1212

    Mark Sibly
    Keymaster

    Please post the console output from a rebuildall.

    #1213

    therevills
    Participant

    Should have done that in the first post – sorry:

    [/crayon]
    #1214

    Mark Sibly
    Keymaster

    According to the above, the debug modules are building OK.

    Can you post the output from the unsuccessful debug build of the app?

    If it thinks there are files missing, can you check if they are there or not?

    #1216

    therevills
    Participant

    It complained about a missing file which wasnt there…

    [/crayon]

    But I cant reproduce it now…. the output of rebuildall was after the issue…

    Its strange… seems to be working now?

    Oh has canvas.Clear been changed recently? It now requires a colour to be passed to it…

    #1246

    Samah
    Participant

    According to Git blame, Clear has always required a Color struct.

    https://github.com/blitz-research/monkey2/blame/master/modules/mojo/graphics/canvas.monkey2#L198

    #1247

    therevills
    Participant

    Yeah I checked that too… but only since v011 has MX2 complained when compiling without Color…

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

You must be logged in to reply to this topic.