<div dir="ltr">Hi Kevin,<div>you solved the build problem, so never mind the cmake file.</div><div>the libsfxsdk.dylib needs to be in your library path, as it's needed to load osgdb_fbx.so </div><div>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 </div><div>osgdb_fbx with the linker option "-install_name" .</div><div>Laurens.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 17, 2017 at 8:43 PM, Kevin Steele <span dir="ltr"><<a href="mailto:kwsteele@optonline.net" target="_blank">kwsteele@optonline.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
Thanks for the suggestions, but it is still not working.<br>
I added the paths for FBX_INCLUDE_DIR, FBX_LIBRARY, and FBX_LIBRARY_DEBUG in CmakeCache.txt. Then, I recompiled OSG.<br>
<br>
However, when I tried to convert from fbx to osg, I got this error message:<br>
<br>
"osgconv dragon.fbx dragon6.osg<br>
Warning: dynamic library '/usr/local/lib/osgPlugins-3.<wbr>4.0/osgdb_fbx.so' exists, but an error occurred while trying to open it:<br>
dlopen(/usr/local/lib/<wbr>osgPlugins-3.4.0/osgdb_fbx.so, 9): Library not loaded: @executable_path/libfbxsdk.<wbr>dylib<br>
  Referenced from: /usr/local/lib/osgPlugins-3.4.<wbr>0/osgdb_fbx.so<br>
  Reason: image not found<br>
Warning: Could not find plugin to read objects from file "dragon.fbx".<br>
Error no data loaded"<br>
<br>
Any idea how to fix that error?<br>
<br>
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.<br>
<span class="">Thank you!<br>
<br>
Cheers,<br>
Kevin<br>
<br>
------------------<br>
Read this topic online here:<br>
</span><a href="http://forum.openscenegraph.org/viewtopic.php?p=70234#70234" rel="noreferrer" target="_blank">http://forum.openscenegraph.<wbr>org/viewtopic.php?p=70234#<wbr>70234</a><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
</div></div></blockquote></div><br></div>