libmx3 / mx3

a sample project showcasing/collecting cross platform techniques on mobile
MIT License
1.17k stars 149 forks source link

jni.h file not found #75

Closed lilidan closed 8 years ago

lilidan commented 8 years ago

When I run "make test" and "make play" in command line,it prints "TEST SUCCESSFUL" or "BUILD SUCCESSFUL". "Hello,xxx."

But when I open the "mx3.xcodeproj" file by Xcode6.3 , I cannot build with error "jni.h file not found".

2 pic

How could I fix this? THANKS.

skabbes commented 8 years ago

Try only building the target you actually want to build. The xcode project contains both android and iOS code, which explains why building all targets fails.

lilidan commented 8 years ago

It works, thank you very much!!