Opened 7 years ago

Last modified 7 years ago

#11834 new Bugs

Undefined symbols for architecture x86_64:

Reported by: banslug2001@… 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)

main.cpp (970 bytes ) - added by banslug2001@… 7 years ago.
main.cpp

Download all attachments as: .zip

Change History (2)

by banslug2001@…, 7 years ago

Attachment: main.cpp added

main.cpp

comment:1 by John Maddock, 7 years ago

Component: Nonesystem
Owner: set to Beman Dawes

Are you linking to libboost_system?

Note: See TracTickets for help on using tickets.