Hi Chebaev,

if you set FBX_SHARED to ON you will be awarded with a lot of linking
errors, unless you know you should change libfbxsdk-md.lib
into libfbxsdk.lib for FBX_LIBRARY and FBX_LIBRARY_DEBUG.
I think you should at least provide a hint with this option.

Regards, Laurens.

On Mon, Nov 14, 2016 at 2:19 PM, Chebaev Vladimir <[email protected]>
wrote:

> Hello.
> Fbx plugin can not use "dll" variant of fbx SDK.
> It is not enough to set FBX_INCLUDE_DIR, FBX_LIBRARY and FBX_LIBRARY_DEBUG
> options for CMake. FBX_SHARED preprocessor definition should be setted.
> I changed src/osgPlugins/fbx/CMakeList.txt and added new option
> "FBX_SHARED".
> Fbx plugin will build without dinamic linking by default. If you set
> "FBX_SHARED" option to "ON" then preprocessor definition "FBX_SHARED" was
> enabled.
> I attached new CMakeList.txt
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-
> submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to