Building Boost for iPhone revisited

I upgraded to Snow Leopard, Xcode 3.2.2, etc. I tried to rebuild Boost for the iPhone Simulator, and got this error:

/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.3.sdk/usr/include/c++/4.2.1/cmath:49:28: error: bits/c++config.h: No such file or directory

Fixed it by adding architecture=x86 to the bjam command line.

Posted by pwr (site) at April 25, 2010, 1:17pm. Category: blog. semipermalink Tags: iphone, boost

Comment on this

Share this:

Post a comment




All three fields are optional. Your email address will only be made available to the site owner.




Site Copyright © 1996-2009 Paul Roberts. Opinions expressed are mine and don't represent the view of my employer.
Powered by clunkyblog release 3.10. Generated in 31ms.