Opened 7 years ago
Last modified 7 years ago
#11834 new Bugs
Undefined symbols for architecture x86_64:
Reported by: | Owned by: | Beman Dawes | |
---|---|---|---|
Milestone: | To Be Determined | Component: | system |
Version: | Boost 1.59.0 | Severity: | Problem |
Keywords: | Cc: |
Description
I am trying to use boost chromo library inside Mac Xcode 7.1.1. I am able to compile header only project and I have been able to use the regex library. But with the chrono library I receive the falling error:
Undefined symbols for architecture x86_64:
"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
ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Attachments (1)
Change History (2)
by , 7 years ago
comment:1 by , 7 years ago
Component: | None → system |
---|---|
Owner: | set to |
Are you linking to libboost_system?
main.cpp