<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to build FBX SDK sample on Mac in FBX Forum</title>
    <link>https://forums.autodesk.com/t5/fbx-forum/how-to-build-fbx-sdk-sample-on-mac/m-p/10306811#M563</link>
    <description>&lt;P&gt;Hi. I've downloaded FBX SDK 2020.2 and am trying to build&amp;nbsp;samples/Animation. I've managed to create CMake configuration files.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;CMakeCache.txt&lt;/LI&gt;&lt;LI&gt;CMakeFiles&lt;/LI&gt;&lt;LI&gt;Makefile&lt;/LI&gt;&lt;LI&gt;cmake_install.cmake&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;When I try and build using the generated files I'm getting an error&lt;/P&gt;&lt;LI-CODE lang="general"&gt;[ 33%] Linking CXX executable "/Applications/Autodesk/FBX SDK/2020.2/bin/x64/clang-static/debug/Animation"
ld: can't open output file for writing: /Applications/Autodesk/FBX SDK/2020.2/bin/x64/clang-static/debug/Animation, errno=2 for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Applications/Autodesk/FBX SDK/2020.2/bin/x64/clang-static/debug/Animation] Error 1
make[1]: *** [CMakeFiles/Animation.dir/all] Error 2
make: *** [all] Error 2&lt;/LI-CODE&gt;&lt;P&gt;The FBX SDK/2020.2 dir has the following structure&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;FBX_SDK_Online_Documentation.html&lt;/LI&gt;&lt;LI&gt;License.rtf&lt;/LI&gt;&lt;LI&gt;include&lt;/LI&gt;&lt;LI&gt;lib&lt;/LI&gt;&lt;LI&gt;samples&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Why does the linking stage expect a dir&amp;nbsp;FBX SDK/2020.2/&lt;STRONG&gt;bin&lt;/STRONG&gt;/...? Should the FBX SDK contain a bin directory?&lt;/P&gt;</description>
    <pubDate>Tue, 11 May 2021 23:44:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-05-11T23:44:57Z</dc:date>
    <item>
      <title>How to build FBX SDK sample on Mac</title>
      <link>https://forums.autodesk.com/t5/fbx-forum/how-to-build-fbx-sdk-sample-on-mac/m-p/10306811#M563</link>
      <description>&lt;P&gt;Hi. I've downloaded FBX SDK 2020.2 and am trying to build&amp;nbsp;samples/Animation. I've managed to create CMake configuration files.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;CMakeCache.txt&lt;/LI&gt;&lt;LI&gt;CMakeFiles&lt;/LI&gt;&lt;LI&gt;Makefile&lt;/LI&gt;&lt;LI&gt;cmake_install.cmake&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;When I try and build using the generated files I'm getting an error&lt;/P&gt;&lt;LI-CODE lang="general"&gt;[ 33%] Linking CXX executable "/Applications/Autodesk/FBX SDK/2020.2/bin/x64/clang-static/debug/Animation"
ld: can't open output file for writing: /Applications/Autodesk/FBX SDK/2020.2/bin/x64/clang-static/debug/Animation, errno=2 for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Applications/Autodesk/FBX SDK/2020.2/bin/x64/clang-static/debug/Animation] Error 1
make[1]: *** [CMakeFiles/Animation.dir/all] Error 2
make: *** [all] Error 2&lt;/LI-CODE&gt;&lt;P&gt;The FBX SDK/2020.2 dir has the following structure&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;FBX_SDK_Online_Documentation.html&lt;/LI&gt;&lt;LI&gt;License.rtf&lt;/LI&gt;&lt;LI&gt;include&lt;/LI&gt;&lt;LI&gt;lib&lt;/LI&gt;&lt;LI&gt;samples&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Why does the linking stage expect a dir&amp;nbsp;FBX SDK/2020.2/&lt;STRONG&gt;bin&lt;/STRONG&gt;/...? Should the FBX SDK contain a bin directory?&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 23:44:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fbx-forum/how-to-build-fbx-sdk-sample-on-mac/m-p/10306811#M563</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-11T23:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to build FBX SDK sample on Mac</title>
      <link>https://forums.autodesk.com/t5/fbx-forum/how-to-build-fbx-sdk-sample-on-mac/m-p/10306928#M564</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;the 'bin' folder is the destination folder of the samples executables. It gets automatically created. However, I believe that the problem you are experiencing is caused by the "wrong" access rights to the /Applications/Autodesk/FBX SDK folders. Only &lt;EM&gt;system&lt;/EM&gt; &amp;amp; &lt;EM&gt;admin&lt;/EM&gt; have Write access inside /Applications.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try to change the "Sharing &amp;amp; permissions" on the folders so your&amp;nbsp;&lt;EM&gt;everyone&lt;/EM&gt; gets Read&amp;amp;Write. Or, maybe easier: &lt;STRONG&gt;move&lt;/STRONG&gt; the whole FBX SDK folder somewhere else where you have full access rights (Documents seems a reasonable location) &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 01:12:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fbx-forum/how-to-build-fbx-sdk-sample-on-mac/m-p/10306928#M564</guid>
      <dc:creator>regalir</dc:creator>
      <dc:date>2021-05-12T01:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to build FBX SDK sample on Mac</title>
      <link>https://forums.autodesk.com/t5/fbx-forum/how-to-build-fbx-sdk-sample-on-mac/m-p/10307109#M565</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1650435"&gt;@regalir&lt;/a&gt;.&amp;nbsp;I ended up moving /Applications/Autodesk into ~/Applications then chown to my user (and chgrp to staff). Built samples/Animation and it worked.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;[ 33%] Building CXX object CMakeFiles/Animation.dir/main.o
[ 66%] Building CXX object CMakeFiles/Animation.dir/Users/.../Applications/Autodesk/FBX_SDK/2020.2/samples/Common/Common.o
[100%] Linking CXX executable "/Users/.../Applications/Autodesk/FBX SDK/2020.2/bin/x64/clang-static/debug/Animation"
[100%] Built target Animation&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 12 May 2021 04:00:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fbx-forum/how-to-build-fbx-sdk-sample-on-mac/m-p/10307109#M565</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-12T04:00:10Z</dc:date>
    </item>
  </channel>
</rss>

