<?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 Re: Problems building on the Mac in File Geodatabase API Questions</title>
    <link>https://community.esri.com/t5/file-geodatabase-api-questions/problems-building-on-the-mac/m-p/580045#M958</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is the fairly messy generated ld command line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ld /Users/drand/Library/Developer/Xcode/DerivedData/Test1-gjtnxkdiaanmrbdcogyzqchyfnqo/Build/Products/Debug/Test1 normal x86_64&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cd /Users/drand/FileGDB_API_1_3/Test1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; setenv MACOSX_DEPLOYMENT_TARGET 10.7&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -L/Users/drand/Library/Developer/Xcode/DerivedData/Test1-gjtnxkdiaanmrbdcogyzqchyfnqo/Build/Products/Debug &lt;/SPAN&gt;&lt;STRONG&gt;-L/Users/drand/FileGDB_API_1_3/lib&lt;/STRONG&gt;&lt;SPAN&gt; -F/Users/drand/Library/Developer/Xcode/DerivedData/Test1-gjtnxkdiaanmrbdcogyzqchyfnqo/Build/Products/Debug -filelist /Users/drand/Library/Developer/Xcode/DerivedData/Test1-gjtnxkdiaanmrbdcogyzqchyfnqo/Build/Intermediates/Test1.build/Debug/Test1.build/Objects-normal/x86_64/Test1.LinkFileList -mmacosx-version-min=10.7 -stdlib=libc++ -lFileGDBAPI -lfgdbunixrtl -o /Users/drand/Library/Developer/Xcode/DerivedData/Test1-gjtnxkdiaanmrbdcogyzqchyfnqo/Build/Products/Debug/Test1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't directly set the DYLD_LIBRARY_PATH. I could set that if you think it will help; I would have thought that more important at runtime? I have highlighted the appropriate -L parameter, it does seem to be including the directory that I have the libraries stored in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Doug&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Sep 2013 20:04:00 GMT</pubDate>
    <dc:creator>DouglasRand</dc:creator>
    <dc:date>2013-09-25T20:04:00Z</dc:date>
    <item>
      <title>Problems building on the Mac</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/problems-building-on-the-mac/m-p/580043#M956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a library that I can build successfully on Linux and Windows. I cannot build it on the Mac, I get linkage issues. To debug I setup a simpler test case using a sample, "Sample Editing" from the demos. I link that with the two dylib libraries. This is all with the 64 bit version of the API. I get the output I've appended. I'm sure it isn't library ordering (I tried changing that) and I'm sure the libraries are being used as it got much worse removing the FileGDBAPI library. I'm perplexed and could use a hint. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anybody selling vowels to solve the puzzle?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Doug&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;----------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Courier New;"&gt;&lt;BR /&gt;(null): "FileGDBAPI::Geodatabase::OpenTable(std::__1::basic_string&amp;lt;wchar_t, std::__1::char_traits&amp;lt;wchar_t&amp;gt;, std::__1::allocator&amp;lt;wchar_t&amp;gt; &amp;gt; const&amp;amp;, FileGDBAPI::Table&amp;amp;)", referenced from:&lt;BR /&gt;&lt;BR /&gt;(null): _main in main.o&lt;BR /&gt;&lt;BR /&gt;(null): "FileGDBAPI::OpenGeodatabase(std::__1::basic_string&amp;lt;wchar_t, std::__1::char_traits&amp;lt;wchar_t&amp;gt;, std::__1::allocator&amp;lt;wchar_t&amp;gt; &amp;gt; const&amp;amp;, FileGDBAPI::Geodatabase&amp;amp;)", referenced from:&lt;BR /&gt;&lt;BR /&gt;(null): _main in main.o&lt;BR /&gt;&lt;BR /&gt;(null): "FileGDBAPI::Row::SetInteger(std::__1::basic_string&amp;lt;wchar_t, std::__1::char_traits&amp;lt;wchar_t&amp;gt;, std::__1::allocator&amp;lt;wchar_t&amp;gt; &amp;gt; const&amp;amp;, int)", referenced from:&lt;BR /&gt;&lt;BR /&gt;(null): _main in main.o&lt;BR /&gt;&lt;BR /&gt;(null): "FileGDBAPI::Row::SetString(std::__1::basic_string&amp;lt;wchar_t, std::__1::char_traits&amp;lt;wchar_t&amp;gt;, std::__1::allocator&amp;lt;wchar_t&amp;gt; &amp;gt; const&amp;amp;, std::__1::basic_string&amp;lt;wchar_t, std::__1::char_traits&amp;lt;wchar_t&amp;gt;, std::__1::allocator&amp;lt;wchar_t&amp;gt; &amp;gt; const&amp;amp;)", referenced from:&lt;BR /&gt;&lt;BR /&gt;(null): _main in main.o&lt;BR /&gt;&lt;BR /&gt;(null): "FileGDBAPI::Table::Search(std::__1::basic_string&amp;lt;wchar_t, std::__1::char_traits&amp;lt;wchar_t&amp;gt;, std::__1::allocator&amp;lt;wchar_t&amp;gt; &amp;gt; const&amp;amp;, std::__1::basic_string&amp;lt;wchar_t, std::__1::char_traits&amp;lt;wchar_t&amp;gt;, std::__1::allocator&amp;lt;wchar_t&amp;gt; &amp;gt; const&amp;amp;, FileGDBAPI::Envelope const&amp;amp;, bool, FileGDBAPI::EnumRows&amp;amp;)", referenced from:&lt;BR /&gt;&lt;BR /&gt;(null): _main in main.o&lt;BR /&gt;&lt;BR /&gt;(null): "FileGDBAPI::Table::Search(std::__1::basic_string&amp;lt;wchar_t, std::__1::char_traits&amp;lt;wchar_t&amp;gt;, std::__1::allocator&amp;lt;wchar_t&amp;gt; &amp;gt; const&amp;amp;, std::__1::basic_string&amp;lt;wchar_t, std::__1::char_traits&amp;lt;wchar_t&amp;gt;, std::__1::allocator&amp;lt;wchar_t&amp;gt; &amp;gt; const&amp;amp;, bool, FileGDBAPI::EnumRows&amp;amp;)", referenced from:&lt;BR /&gt;&lt;BR /&gt;(null): _main in main.o&lt;BR /&gt;&lt;BR /&gt;(null): "FileGDBAPI::ErrorInfo::GetErrorDescription(int, std::__1::basic_string&amp;lt;wchar_t, std::__1::char_traits&amp;lt;wchar_t&amp;gt;, std::__1::allocator&amp;lt;wchar_t&amp;gt; &amp;gt;&amp;amp;)", referenced from:&lt;BR /&gt;&lt;BR /&gt;(null): _main in main.o&lt;BR /&gt;&lt;BR /&gt;(null): "FileGDBAPI::Row::IsNull(std::__1::basic_string&amp;lt;wchar_t, std::__1::char_traits&amp;lt;wchar_t&amp;gt;, std::__1::allocator&amp;lt;wchar_t&amp;gt; &amp;gt; const&amp;amp;, bool&amp;amp;) const", referenced from:&lt;BR /&gt;&lt;BR /&gt;(null): _main in main.o&lt;BR /&gt;&lt;BR /&gt;(null): "FileGDBAPI::Row::GetString(std::__1::basic_string&amp;lt;wchar_t, std::__1::char_traits&amp;lt;wchar_t&amp;gt;, std::__1::allocator&amp;lt;wchar_t&amp;gt; &amp;gt; const&amp;amp;, std::__1::basic_string&amp;lt;wchar_t, std::__1::char_traits&amp;lt;wchar_t&amp;gt;, std::__1::allocator&amp;lt;wchar_t&amp;gt; &amp;gt;&amp;amp;) const", referenced from:&lt;BR /&gt;&lt;BR /&gt;(null): _main in main.o&lt;BR /&gt;&lt;BR /&gt;(null): Symbol(s) not found for architecture x86_64&lt;BR /&gt;&lt;BR /&gt;(null): Linker command failed with exit code 1 (use -v to see invocation)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 19:57:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/problems-building-on-the-mac/m-p/580043#M956</guid>
      <dc:creator>DouglasRand</dc:creator>
      <dc:date>2013-09-18T19:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problems building on the Mac</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/problems-building-on-the-mac/m-p/580044#M957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is the DYLD_LIBRARY_PATH set to the location where the libraries are? If so, can you provide the link line and options used when linking.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 18:42:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/problems-building-on-the-mac/m-p/580044#M957</guid>
      <dc:creator>LanceShipman</dc:creator>
      <dc:date>2013-09-25T18:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problems building on the Mac</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/problems-building-on-the-mac/m-p/580045#M958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is the fairly messy generated ld command line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ld /Users/drand/Library/Developer/Xcode/DerivedData/Test1-gjtnxkdiaanmrbdcogyzqchyfnqo/Build/Products/Debug/Test1 normal x86_64&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cd /Users/drand/FileGDB_API_1_3/Test1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; setenv MACOSX_DEPLOYMENT_TARGET 10.7&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -L/Users/drand/Library/Developer/Xcode/DerivedData/Test1-gjtnxkdiaanmrbdcogyzqchyfnqo/Build/Products/Debug &lt;/SPAN&gt;&lt;STRONG&gt;-L/Users/drand/FileGDB_API_1_3/lib&lt;/STRONG&gt;&lt;SPAN&gt; -F/Users/drand/Library/Developer/Xcode/DerivedData/Test1-gjtnxkdiaanmrbdcogyzqchyfnqo/Build/Products/Debug -filelist /Users/drand/Library/Developer/Xcode/DerivedData/Test1-gjtnxkdiaanmrbdcogyzqchyfnqo/Build/Intermediates/Test1.build/Debug/Test1.build/Objects-normal/x86_64/Test1.LinkFileList -mmacosx-version-min=10.7 -stdlib=libc++ -lFileGDBAPI -lfgdbunixrtl -o /Users/drand/Library/Developer/Xcode/DerivedData/Test1-gjtnxkdiaanmrbdcogyzqchyfnqo/Build/Products/Debug/Test1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't directly set the DYLD_LIBRARY_PATH. I could set that if you think it will help; I would have thought that more important at runtime? I have highlighted the appropriate -L parameter, it does seem to be including the directory that I have the libraries stored in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Doug&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 20:04:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/problems-building-on-the-mac/m-p/580045#M958</guid>
      <dc:creator>DouglasRand</dc:creator>
      <dc:date>2013-09-25T20:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problems building on the Mac</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/problems-building-on-the-mac/m-p/580046#M959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It�??s this option.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-stdlib=libc++&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Change to -stdlib=libstdc++ and it should work fine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 21:33:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/problems-building-on-the-mac/m-p/580046#M959</guid>
      <dc:creator>LanceShipman</dc:creator>
      <dc:date>2013-09-25T21:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problems building on the Mac</title>
      <link>https://community.esri.com/t5/file-geodatabase-api-questions/problems-building-on-the-mac/m-p/580047#M960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very, very much! I very much appreciate the help. I hope this thread helps someone else with the same problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Doug&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 12:40:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/file-geodatabase-api-questions/problems-building-on-the-mac/m-p/580047#M960</guid>
      <dc:creator>DouglasRand</dc:creator>
      <dc:date>2013-09-26T12:40:28Z</dc:date>
    </item>
  </channel>
</rss>

