I am using the following components of boost 1.53.0 in conjunction with C++11 libs . . .
- boost::signals2::scoped_connection
- boost::signals2::signal
- boost::signals2::connection
- boost::math::constants
- boost::circular_buffer
- boost::lexical_cast
According to this answer, I do not need to link against libraries to use these parts of boost. According to this answer, signals2 should be header only also. However, I still receive linker errors . . .
Undefined symbols for architecture i386:
"boost::system::system_category()", referenced from:
___cxx_global_var_init2 in Main.o
...
"boost::system::generic_category()", referenced from:
___cxx_global_var_init in Main.o
___cxx_global_var_init1 in Main.o
...
Why?
referenced from: ...
from where? That part will give you the info wich lib/function calls Boost.System – Arne Mertz Jun 7 '13 at 10:12___cxx_global_var_init
type messages – learnvst Jun 7 '13 at 10:57