My Hello World Reported this error....
Monkey Forums/Monkey Beginners/My Hello World Reported this error....
| ||
Function Main () Print "Hello, world!" End cc1plus: error: unrecognized command line option "-Wno-free-nonheap-object" TRANS FAILED: Error executing 'g++ -Wno-free-nonheap-object -o main_winnt main.cpp -lwinmm -lws2_32', return code=1 Is there a simple explanation for this ? I was trying to follow learnmonkey.pdf using version 79e of Monkey, which I just downloaded. I didn't even manage to get to the point where I had an option to choose which TARGET I wanted to build for. Also, when I try to run any of the examples I receive the error: #Error "Native Game class not implemented" How do I implement the Native Game Class? |
| ||
Which target have you selected in the ide? |
| ||
Thanks Dawlane for the suggestion - I navigated to Build, Build Target and changed it from the Default (which was set to C++) to HTML5 and it worked. The following code example in the Docs produces a pleasing animated Spiral: |