Hi guys, im trying to add boost in a C++ project on Mac OS X for a while, but im stuck with reference errors.
Undefined symbols:
"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
"boost::system::get_system_category()", referenced from:
boost::asio::error::get_system_category() in Main.o
__static_initialization_and_destruction_0(int, int)in Main.o
__static_initialization_and_destruction_0(int, int)in Main.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
I builded librarys with bjam, i linked them in the LIBRARY_SEARCH_PATHS:
LIBRARY_SEARCH_PATHS =
/Users/*usr*/boost_1_43_0/bin.v2/libs/date_time/build/darwin-4.2.1/release/threading-multi
/Users/*usr*/boost_1_43_0/bin.v2/libs/filesystem/build/darwin-4.2.1/release/link-static/threading-multi
/Users/*usr*/boost_1_43_0/bin.v2/libs/system/build/darwin-4.2.1/release/link-static/threading-multi /
users/*usr*/boost_1_43_0/stage/lib <<Not sure if this is right, but no documentation shows right options
Also i made sure the include paths are correct:
HEADER_SEARCH_PATHS = /users/*usr*/boost_1_43_0
I looked on the web for answeres, but lots of info was not on mac, and they only suggested to do things without any form of instructions.
I got boost working on microsoft visual studio 2008 on windows 7, so i know it should work, but i am not sure if it is supposed to work on xcode.
If anyone has more experience with this, can you please help me? :)
Thanks in advance.
EDIT:
I'm trying to include asio.hpp in boost folder