Boost C++ Libraries: Ticket #7011: Toolset 'intel-darwin' fails as 'stdarg.h' can not be found https://svn.boost.org/trac10/ticket/7011 <p> Building boost (1.49, and also 1.50 beta) using the 'intel-darwin' toolset currently fails on my system, showing errors such as: </p> <pre class="wiki">compile.c(33): catastrophic error: cannot open source file "stdarg.h" # include &lt;stdarg.h&gt; ^ compilation aborted for compile.c (code 4) </pre><p> I use the most recent versions of the required developer programs, ICC 12.1.4 and XCode 4.3.3. This appears to be a specific problem of Apple &amp; Intel in case of 'stdarg.h', and the error can be replicated by compiling any C/C++ source file including that header. The problem is also described in Intel's support forum (<a class="ext-link" href="http://software.intel.com/en-us/forums/showthread.php?t=69724"><span class="icon">​</span>http://software.intel.com/en-us/forums/showthread.php?t=69724</a>). </p> <p> Apparently, the problem can be fixed by adding at least one of the following compiler flags: </p> <pre class="wiki">-dev-usr-root=/Applications/Xcode.app/Contents/Developer/usr -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -gcc-name=gcc-4.2 -gxx-name=g++-4.2 </pre><p> Potentially, a call to <code>xcode-select -print-path</code> may be necessary to obtain the correct path. From my perspective, the first option in combination with <code>xcode-select</code> looks to be the most robust solution. </p> <p> I am, unfortunately, a novice concerning bjam, and can thus not offer a real fix. I will be happy to help if a test run is required. Thank you for help! </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7011 Trac 1.4.3 vogel@… Thu, 21 Jun 2012 19:18:07 GMT attachment set https://svn.boost.org/trac10/ticket/7011 https://svn.boost.org/trac10/ticket/7011 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">intel-darwin.patch</span> </li> </ul> Ticket vogel@… Thu, 21 Jun 2012 19:22:49 GMT <link>https://svn.boost.org/trac10/ticket/7011#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7011#comment:1</guid> <description> <p> Having played around for some time, I have made some very minor (and potentially 'dirty') changes to the build system. Like that, boost can be built and installed again (using <code>./bootstrap.sh --with-toolset=intel-darwin</code> and subsequent <code>./b2 install</code>). The patch has been created from the <code>trunk/</code> of the SVN repository. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Thu, 03 Jan 2013 17:02:31 GMT</pubDate> <title>component changed; owner set https://svn.boost.org/trac10/ticket/7011#comment:2 https://svn.boost.org/trac10/ticket/7011#comment:2 <ul> <li><strong>owner</strong> set to <span class="trac-author">Vladimir Prus</span> </li> <li><strong>component</strong> <span class="trac-field-old">Building Boost</span> → <span class="trac-field-new">build</span> </li> </ul> Ticket vogel@… Thu, 03 Jan 2013 18:42:31 GMT <link>https://svn.boost.org/trac10/ticket/7011#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7011#comment:3</guid> <description> <p> The problem may be limited to ICC 12. </p> </description> <category>Ticket</category> </item> </channel> </rss>