Hi,
I exported the 3d model with the vertices and normals only and converted it into .h file using obj2openpl by Heinko.
Heres is the link to my model and .h file (in PoseModel.zip):
https://www.dropbox.com/sh/mz2ac79wnormm6d/zTHAem-y2W
Here the output of ndk-build:
Gdbserver : [arm-linux-androideabi-4.6] libs/armeabi/gdbserver
Gdbsetup : libs/armeabi/gdb.setup
Gdbserver : [arm-linux-androideabi-4.6] libs/armeabi-v7a/gdbserver
Gdbsetup : libs/armeabi-v7a/gdb.setup
Compile++ arm : ImageTargets <= ImageTargets.cpp
In file included from jni/ImageTargets.cpp:45:0:
jni/./posefour.h:33941:9: error: "vertices" is not a valid filename
jni/./posefour.h:67851:9: error: "vertex" is not a valid filename
jni/./posefour.h:135608:9: error: "faces" is not a valid filename
jni/./posefour.h:169532:9: error: "vertices" is not a valid filename
jni/./posefour.h:203442:9: error: "vertex" is not a valid filename
jni/./posefour.h:271199:9: error: "faces" is not a valid filename
In file included from jni/ImageTargets.cpp:15:0:
/Users/harshvardhan/Documents/Work/app/android-ndk-r8b/platforms/android-14/arch-arm/usr/include/jni.h:592:13: note: the mangling of 'va_list' has changed in GCC 4.4
In file included from jni/ImageTargets.cpp:45:0:
jni/./posefour.h:27:1: error: 'mtllib' was not declared in this scope
jni/./posefour.h:27:8: error: expected '}' before 'posefour'
jni/./posefour.h:27:8: error: expected ',' or ';' before 'posefour'
jni/./posefour.h:135613:1: error: expected declaration before '}' token
make: *** [obj/local/armeabi/objs-debug/ImageTargets/ImageTargets.o] Error 1
I still think that something is wrong with the 3d model only. Heinko mentioned a problem with 3ds max exporting script.
Should I delete the gw_objexp.ini or something else..any clue would be a great help..??
Please post to https://ar.qualcomm.at/content/convert-obj-h-file-urgent-please-answer-me so that we can consolidate responses.