Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrected some calls to old functions of the FBX API #1409

Merged
merged 1 commit into from Jan 13, 2014
Merged

Corrected some calls to old functions of the FBX API #1409

merged 1 commit into from Jan 13, 2014

Conversation

ymollard
Copy link

These functions are not in the FBX API anymore (2014.2). It compiles thanks to these changes but I'm not sure this is correct since I don't know the FBX API. Please check and correct.

@seanpaultaylor
Copy link
Contributor

Next release. The current implementation also works fine.

@ymollard
Copy link
Author

The current implementation does not compile with me (exact SDK version: 2014.2.1).

@seanpaultaylor
Copy link
Contributor

I built it on all 3 desktop platforms a few days ago.
Also we pre-built the encoder. Run the install.sh/.bat and they will be in your bin directory

@ymollard
Copy link
Author

I've got a symbol lookup error when I try to use the prebuilt encoder. (undefined symbol: _ZN13fbxsdk_2014_27FbxSkin7ClassIdE). That's why I compiled it manually.

@seanpaultaylor
Copy link
Contributor

I see

@seanpaultaylor
Copy link
Contributor

What platform are you trying to run on ? I see they have a new SDK 2014.2.1. I did the compile using on 2014.2

@seanpaultaylor
Copy link
Contributor

Also, Does it run after you change ?

@ymollard
Copy link
Author

I'm on Linux 3.10-2-amd64 with SDK 2014.2.1
Yes it runs now with no error during conversion. I get then an error while loading the gpb file (SceneLoader::loadInternal) because namespace is not set to "scene" but I think it's only due to the FBX?

seanpaultaylor added a commit that referenced this pull request Jan 13, 2014
Corrected some calls to old functions of the FBX API
@seanpaultaylor seanpaultaylor merged commit e4cce6c into gameplay3d:master Jan 13, 2014
@seanpaultaylor
Copy link
Contributor

I am rebuilding the gameplay-encoder on all platform and will update the precompiled binaries soon.

@adderly
Copy link

adderly commented Jan 25, 2014

Hey ,
ubuntu 13.10 with fbx20142_fbxsdk_linux (2014_2), and it gives me this error.
i also tried the 2012_2_1 version of fbxsdk. and the same thing.
I will used the precompiled binaries then. :D

/home/moisex/development/gamedev/gameplay-next/GamePlay/tools/encoder/src/EncoderArguments.cpp:21:12: warning: ‘logVerbosity’ initialized and declared ‘extern’ [enabled by default]
extern int logVerbosity = 1;
^
[ 96%] Building CXX object tools/encoder/CMakeFiles/gameplay-encoder.dir/src/FBXSceneEncoder.cpp.o
/home/moisex/development/gamedev/gameplay-next/GamePlay/tools/encoder/src/FBXSceneEncoder.cpp: In member function ‘void FBXSceneEncoder::loadAnimations(fbxsdk_2014_2::FbxScene
, const gameplay::EncoderArguments&)’:
/home/moisex/development/gamedev/gameplay-next/GamePlay/tools/encoder/src/FBXSceneEncoder.cpp:445:45: error: ‘class fbxsdk_2014_2::FbxScene’ has no member named ‘GetAnimationEvaluator’
FbxAnimEvaluator
evaluator = fbxScene->GetAnimationEvaluator();
^
/home/moisex/development/gamedev/gameplay-next/GamePlay/tools/encoder/src/FBXSceneEncoder.cpp:448:41: error: ‘class fbxsdk_2014_2::FbxScene’ has no member named ‘GetCurrentAnimationStack’
FbxAnimStack* animStack = fbxScene->GetCurrentAnimationStack();
^
/home/moisex/development/gamedev/gameplay-next/GamePlay/tools/encoder/src/FBXSceneEncoder.cpp: In static member function ‘static void FBXSceneEncoder::triangulateRecursive(fbxsdk_2014_2::FbxNode
)’:
/home/moisex/development/gamedev/gameplay-next/GamePlay/tools/encoder/src/FBXSceneEncoder.cpp:1305:49: warning: ‘bool fbxsdk_2014_2::FbxGeometryConverter::TriangulateInPlace(fbxsdk_2014_2::FbxNode
)’ is deprecated (declared at /usr/include/fbxsdk/utils/fbxgeometryconverter.h:98) [-Wdeprecated-declarations]
converter.TriangulateInPlace(fbxNode);
^
make[2]: *** [tools/encoder/CMakeFiles/gameplay-encoder.dir/src/FBXSceneEncoder.cpp.o] Error 1
make[1]: *** [tools/encoder/CMakeFiles/gameplay-encoder.dir/all] Error 2
make: *** [all] Error 2

@seanpaultaylor
Copy link
Contributor

I am not sure why you get that problem . I was able to build them on Ubuntu 13.10 32 bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants