[osg-users] [osgPlugins] using osgconv with fbx?

Voerman, L. l.voerman at rug.nl
Mon Feb 20 00:19:03 PST 2017


Hi Kevin,
you solved the build problem, so never mind the cmake file.
the libsfxsdk.dylib needs to be in your library path, as it's needed to
load osgdb_fbx.so
A quick search suggests you could add "/Applications/Autodesk/FBX
SDK/2017.1/lib/clang/release/libfbxsdk.dylib" to DYLD_LIBRARY_PATH or get
the path into
osgdb_fbx with the linker option "-install_name" .
Laurens.

On Fri, Feb 17, 2017 at 8:43 PM, Kevin Steele <kwsteele at optonline.net>
wrote:

> Hi,
> Thanks for the suggestions, but it is still not working.
> I added the paths for FBX_INCLUDE_DIR, FBX_LIBRARY, and FBX_LIBRARY_DEBUG
> in CmakeCache.txt. Then, I recompiled OSG.
>
> However, when I tried to convert from fbx to osg, I got this error message:
>
> "osgconv dragon.fbx dragon6.osg
> Warning: dynamic library '/usr/local/lib/osgPlugins-3.4.0/osgdb_fbx.so'
> exists, but an error occurred while trying to open it:
> dlopen(/usr/local/lib/osgPlugins-3.4.0/osgdb_fbx.so, 9): Library not
> loaded: @executable_path/libfbxsdk.dylib
>   Referenced from: /usr/local/lib/osgPlugins-3.4.0/osgdb_fbx.so
>   Reason: image not found
> Warning: Could not find plugin to read objects from file "dragon.fbx".
> Error no data loaded"
>
> Any idea how to fix that error?
>
> Also, I can't see the attachment someone on this board tried to attach-
> there is a note that says: The Extension 'cmake' was deactivated by an
> board admin, therefore this Attachment is not displayed.
> Thank you!
>
> Cheers,
> Kevin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=70234#70234
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170220/8eabf8ea/attachment-0002.htm>


More information about the osg-users mailing list