Chandan Shetty SP
Chandan Shetty SP

Reputation: 5117

Boost error in xcode

I am new to boost library. I just dragged and drop the boost folder to xCode and entered the header search path. When i compile it is giving error

#if defined(BOOST_ASIO_HEADER_ONLY)
# error Do not compile Asio library source with BOOST_ASIO_HEADER_ONLY defined
#endif

How to fix this?

Upvotes: 2

Views: 3021

Answers (1)

Georg Fritzsche
Georg Fritzsche

Reputation: 99092

You can't just drop the Boost source into Xcode and build it. Use the build instructions from the Boost documentation.

Upvotes: 4

Related Questions