From: Erez D <ere...@gm...> - 2011-03-28 09:17:10
|
I have just checked out xmlvm, and want to use it to compile android app to c++ I read the documentation, but still have problems understanding what to do. i have generated dist/xmlvm.jar using ant and openjdk BTW, I'm a c++ programmer, with small experiance in java. For example, i need help compiling xokoban (from xmlvm demo) to c++ 1. according to the docs, xmlvm's input is *.class, but xokoban files are *.java. do i just use javac to compile xokoban.java to xokoban.class (this will make java bytcode. is it ok or dex is needed ? (if so, how do i generate dex ?) ) 2. trying 'javac Ball.java' from xokoban's directory: i get many error messages of missing stuff, like 'package R does not exist'. is this because of the order i am compiling or am i missing somthing. can someone give me a small tutorials of how to generate c/cpp from xokoban (ubuntu 10.10 64 bit). thanks, erez. |