Link to home
Start Free TrialLog in
Avatar of chemicalx001
chemicalx001

asked on

FBX SDK with Unreal Engine 4.

I have written a simple fbx importer using the c++ FBX SDK. I am attempting now to insert it into an Unreal engine  game project.

As a standalone application, it works fine, but when I add it to the Unreal c++ project, I get unresolved externals. This, i believe, is due to the lib not being linked.

For the standalone app, I followed this guide:

http://help.autodesk.com/view/FBX/2015/ENU/?guid=__files_GUID_6E7B1A2E_584C_49C6_999E_CD8367841B7C_htm

For some reason the unreal project settings are less than a usual visual studio project, so I can't seem to add the library linking that the fbx sdk requires. (see image)

How can i add the library to this project?
Or, if I create my importer as a DLL function, can I call it from this project without linking the lib? Or will I strike the same issue?

Sorry if this is confusing, please ask any questions and I will clear it up.


User generated image
Avatar of sarabande
sarabande
Flag of Luxembourg image

what is the vs version?

did you add the library as described in step 14 of your guide?

can you post the error messages with the unresolved externals?

Sara
Avatar of chemicalx001
chemicalx001

ASKER

Hi Sara, thanks for your response. As in the image above, the problem is that the 'Linker' section of the properties panel is missing. So I am unable to link the library.

I guess this is an unreal engine specific thing, just wondering if you know how I can get around it.

visual studio 2013...
the problem is that the 'Linker' section of the properties panel is missing.

it looks as if your project is not a dll project but a (static) library object. the latter only is a collection of object modules (means compiled functions) and therefore the linker section is missing. if you add the static library to a dll or application project, that parent project would be responsible for providing the missing "externals".

i assume you wanted to create a dll project where the final output is an executable dll which only could build successfully if all external functions were resolved. therefore it has a linker section and you can add sdk libraries as described in your documentation.

Sara
Ah I see. So likely the Unreal ENGINE source code project should hold the external libs, and my game code will reference them through that.

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of sarabande
sarabande
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial