Take note that both my gdx project and fbx-conv are latest build.
I figure there's something wrong on fbx-conv since .obj are loaded with no error.
1) According to https://github.com/libgdx/fbx-conv
Seem i need to have installed both FBX SDK 2014 and premake tool
remember after installed, set the environment variables for both:
Righ click in Thic PC or my computer, then click on Advanced system settings, click on environment
variables and add FBX_SDK_ROOT in user variables and add existing path to premake in System
variables


2)After that just C:\libgdx\fbx-conv-master\generate_vs2010
and vs2013 project will appear in C:\libgdx\fbx-conv-master\
3)I'm running visual studio 2012, however I upgraded visual studio 2010 project with no hiccups.
However trying to build this give me error as std::greater is recognized
This is because visual studio 2012 is using c+11 standard
all i did as included
#include <functional> in FBXMeshInfo.h
build there's still error
4)However this time, visual studio complain it can't find libfbxsdk-md.lib
Seem to me the earlier environment variable that i set
C:\Program Files\Autodesk\FBX\FBX SDK\2014.1
is not enough
I need to edit
fbx-conv project properties > Configuration Properties > Linker > Input > Additional Library Directories
to full path below
C:\Program Files\Autodesk\FBX\FBX SDK\2014.1\lib\vs2012\x86\debug

5) Finally project build successfully and fbx-conv.exe is generated.
6) Using this fbx-conv.exe, I manage to convert previous obj file to g3db file sucessfully
and this time ,it run in eclipse with no error
No comments:
Post a Comment