n179911 wrote:
On Fri, Jul 24, 2009 at 9:53 AM, justinleona@gmail.com
wrote: It sounds like you don't have the include path for boost as part of your build environment. By default I believe it should be installed somewhere like '/opt/local/include/boost'. If you are using a compiled boost library, you may also need '/opt/local/lib'. Can you post more information on what build system you are using? (Xcode, eclipse, make, etc).
Thanks. I have created a XCode project and I have add Header Search Path to /opt/local/include/boost Library Search Path to /opt/local/lib.
But I still have this error: "boost::system::get_generic_category()", referenced from: __static_initialization_and_destruction_0(int, int)in main.o __static_initialization_and_destruction_0(int, int)in main.o __static_initialization_and_destruction_0(int, int)in main.o
I found this thread http://www.nabble.com/installing-boost-on-Mac-OS-X-(version-10.5.5)-td200872... but it did not solve my problem.
This is because you did not link to Boost.System library. - Volodya