Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® FBX® / FBX SDK / Compiling with OSX
  RSS 2.0 ATOM  

Compiling with OSX
Rate this thread
 
64042
 
Permlink of this thread  
avatar
  • Total Posts: 2
  • Joined: 31 January 2012 06:56 AM

I am trying to compile the ViewScene example on OSX with xCode 3.2 with my target set for OSX 10.6 and using gcc4.2.  The final error message is proving a complete nightmare.  I have the libfbxsdk-2012.2-staticd.a library included along with other frameworks but get…

“InitializeSdkObjects(fbxsdk_2012_2::KFbxSdkManager*&, fbxsdk_2012_2::KFbxScene*&)”, referenced from:
SceneContext::SceneContext(char const*, int, int, bool)in SceneContextGER02.o
SceneContext::SceneContext(char const*, int, int, bool)in SceneContextGER02.o
ld: symbol(s) not found

Removing the single line in SceneContext.cxx that calls InitializeSdkObjects means that the code compiles and runs (but only puts up a blank screen with the Hit Esc to exit message). 

Can anyone offer me some help to overcome this last problem?

Many thanks
Graham



Replies: 1
/userdata/avatar/vx3501hqr_small.jpg

Hello Graham,
I am not familiar with development on OSX, but InitializeSdkObjects is declared/defined in Common.h and Common.cxx, did you compile with these two files?

Author: Jiayang Xu

Replied: 31 January 2012 01:13 PM  
avatar

Problem solved - you are a life-saver!!  I had the Common.h but not the Common.cxx.  Now it runs and I can start the real work.

Many thanks for your helpful suggestion.

Regards
Graham



Replies: 1
/userdata/avatar/vx3501hqr_small.jpg

My pleasure, have fun with FBX.

Author: Jiayang Xu

Replied: 01 February 2012 02:10 PM