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?
You can’t just drop the Boost source into Xcode and build it. Use the build instructions from the Boost documentation.