Type 'App' not found ?
Monkey Forums/Monkey Programming/Type 'App' not found ?
| ||
Hey ppl, im new to monkey just comming from blitzmax, and i wanted to make some first tests with monkey. I tried to just copy & paste the code from this tutorial: http://blitz-wiki.appspot.com/First_Monkey_Steps Import mojo Class Game Extends App Method OnCreate() Print "hello" End End Function Main() New Game() End But when i try to compile this, then i get the error: "Type 'App' not found" After that i tried all those other tutorial things that are using mojo, and they all bring me the same error. Edit: Also no one of the samples in the bananas folder is working, same error :( what am i doing wrong with this? Do i need to download Mojo seperatly or something? |
| ||
Your code works fine on my monkey v66. Which version do you use? To which target do you compile? Use HTML5 as a first test target and set config to DEBUG. For HTML5 it is not necessary to load something additional. It should start without problems. |
| ||
thank you for your help, i had v63 and updated now to v66 as you, and now its working fine :) |