I am using Boost program_options library. &nbsp;I can successfully compile my code under &quot;Release&quot; mode in Xcode, but under &quot;Debug&quot; mode there are some issues with linking. &nbsp;The compiler says it can&#39;t find vtables for some of the program_options stuff (see error messages pasted below).<div>
<br></div><div>I have tried to compile my code and Boost with the same architecture (i386 only) and telling the linker to find the debug library with the linker flag</div><div><br></div><div><div>OTHER_LDFLAGS = &nbsp;-lboost_program_options-d-1_34_1</div>
<div><br></div><div>Can someone help me to figure out why this won&#39;t link? &nbsp;I&#39;m sorry if the information is too general.</div><div><br></div><div>Thanks,</div><div>Jeremy</div><div><br></div><div><br></div><div><br>
</div><div><p style="margin: 0.0px 0.0px 0.0px 32.0px; text-indent: -32.0px; font: 11.0px Courier"><i>&nbsp;&nbsp;&quot;boost::program_options::validate(boost::any&amp;, __gnu_debug_def::vector&lt;std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;, std::allocator&lt;std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; &gt; &gt; const&amp;, bool*, int)&quot;, referenced from:</i></p>

<p style="margin: 0.0px 0.0px 0.0px 32.0px; text-indent: -32.0px; font: 11.0px Courier"><i>&nbsp; &nbsp; &nbsp; boost::program_options::typed_value&lt;bool, char&gt;::xparse(boost::any&amp;, __gnu_debug_def::vector&lt;std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;, std::allocator&lt;std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; &gt; &gt; const&amp;) constin ArnoldiVsPower.o</i></p>

<p style="margin: 0.0px 0.0px 0.0px 32.0px; text-indent: -32.0px; font: 11.0px Courier"><i>&nbsp; &quot;boost::program_options::value_semantic_codecvt_helper&lt;char&gt;::parse(boost::any&amp;, __gnu_debug_def::vector&lt;std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;, std::allocator&lt;std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; &gt; &gt; const&amp;, bool) const&quot;, referenced from:</i></p>

<p style="margin: 0.0px 0.0px 0.0px 32.0px; text-indent: -32.0px; font: 11.0px Courier"><i>&nbsp; &nbsp; &nbsp; vtable for boost::program_options::typed_value&lt;bool, char&gt;in ArnoldiVsPower.o</i></p>
<p style="margin: 0.0px 0.0px 0.0px 32.0px; text-indent: -32.0px; font: 11.0px Courier"><i>&nbsp; &nbsp; &nbsp; vtable for boost::program_options::typed_value&lt;unsigned long, char&gt;in ArnoldiVsPower.o</i></p>
<p style="margin: 0.0px 0.0px 0.0px 32.0px; text-indent: -32.0px; font: 11.0px Courier"><i>&nbsp; &nbsp; &nbsp; vtable for boost::program_options::typed_value&lt;double, char&gt;in ArnoldiVsPower.o</i></p>
<p style="margin: 0.0px 0.0px 0.0px 32.0px; text-indent: -32.0px; font: 11.0px Courier"><i>&nbsp; &nbsp; &nbsp; vtable for boost::program_options::typed_value&lt;int, char&gt;in ArnoldiVsPower.o</i></p>
<p style="margin: 0.0px 0.0px 0.0px 32.0px; text-indent: -32.0px; font: 11.0px Courier"><i>&nbsp; &quot;boost::program_options::detail::cmdline::cmdline(__gnu_debug_def::vector&lt;std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;, std::allocator&lt;std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; &gt; &gt; const&amp;)&quot;, referenced from:</i></p>

<p style="margin: 0.0px 0.0px 0.0px 32.0px; text-indent: -32.0px; font: 11.0px Courier"><i>&nbsp; &nbsp; &nbsp; boost::program_options::basic_command_line_parser&lt;char&gt;::basic_command_line_parser(int, char**)in ArnoldiVsPower.o</i></p>

<p style="margin: 0.0px 0.0px 0.0px 32.0px; text-indent: -32.0px; font: 11.0px Courier"><i>ld: symbol(s) not found</i></p>
<p style="margin: 0.0px 0.0px 0.0px 32.0px; text-indent: -32.0px; font: 11.0px Courier"><i>collect2: ld returned 1 exit status</i></p><div style="text-indent: -32px;"><span class="Apple-style-span" style="font-family: Courier; font-size: 11px; font-style: italic;"><br>
</span></div></div></div>