Log in or register to post comments

How to fix such kind of error

June 21, 2013 - 2:20am #2
I am following the tutorial of moving 3d model, but after ndk-build command it gives, such kind of error, 
 
"Compile++ arm  : ImageTargets <= ImageTargets.cpp
jni/ImageTargets.cpp: In function 'void computeTargetTranslationFromScreenVector(float, float, QCAR::Matrix44F&, QCAR::Vec3F&)':
jni/ImageTargets.cpp:452:20: error: 'SampleMath' has not been declared
jni/ImageTargets.cpp:456:43: error: 'SampleMath' has not been declared
jni/ImageTargets.cpp:460:65: error: 'fabs' was not declared in this scope
make: *** [obj/local/armeabi/objs/ImageTargets/ImageTargets.o] Error 1
 
 
 
i tryed to include SampleMath.h, but no results, and what is fabs?

How to fix such kind of error

June 21, 2013 - 2:54am #1

Have you addes "SampleMath.cpp" to your Android.mk file and included "SampleMath.h" ?

 

Log in or register to post comments