Reputation: 5117
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
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