Boost logo

Boost Users :

From: simsicon (simsicon_at_[hidden])
Date: 2021-07-05 16:18:11


Hi,

I was following the tutorial (
https://www.boost.org/doc/libs/1_76_0/doc/html/boost_asio/tutorial/tuttimer1/src.html)
on macbook with m1 chip, and try to run the simple code and I meet the
following error:

Undefined symbols for architecture arm64:
  "boost::chrono::steady_clock::now()", referenced from:
      boost::asio::detail::chrono_time_traits<boost::chrono::steady_clock,
boost::asio::wait_traits<boost::chrono::steady_clock> >::now() in
mock-93ab24.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)

I am kind of new to C++ and boost, but I think this issue may be related to
apple silicon compatibility?

-- 
Thanks&Best Regards
Zhang Zheng


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net