1

I am trying to compile sample Havok Android games in Visual Studio but I keep getting this error:

arm-linux-androideabi-g++: VisSampleApp.cpp:No such file or directory 

I downloaded the NDK and referenced it in the PATH. Can anyone tell me what I am doing incorrectly?

krsteeve
  • 1,794
  • 4
  • 19
  • 29
Jack Wachira
  • 192
  • 4
  • 15
  • You might have better luck in the Havok Project Anarchy forums: http://forum.projectanarchy.com/forumdisplay.php?30-Android-Development – celion Oct 22 '13 at 21:50

1 Answers1

0

It found the compiler under the PATH, could not find the source file.

can you post the query you use to compile ndk lib, android.mk and application.mk?

mmdc
  • 1,677
  • 3
  • 20
  • 32
  • what do you mean by query,i just clicked 'build' in visual studio n the errors popped up – Jack Wachira Oct 21 '13 at 12:47
  • you can't use VS to compile android ndk because they have different toolchain unless you configure to make VS uses the toolchain of android ndk. You need to follow the NDK instruction how to compile it using "ndk-build" – mmdc Oct 22 '13 at 02:47
  • The simplest hellow-jni program (it is in the sample folder of anroid-ndk) is just open cmd in the jni folder and run the command: ndk-build. This is my example: http://www.screencast.com/t/dAvkn8cLmQ I compiled it by ndk-build with some parameters – mmdc Oct 22 '13 at 13:46