0

I am trying to build a C++ library(https://github.com/ipkn/crow) on macOS 12.0.1(Monterey).

Since I am learning C++ since yesterday, I have no clue what to do next with error message like this:

ld: warning: dylib (/usr/local/lib/libboost_system-mt.dylib) was built for newer macOS version (12.0) than being linked (11.3)
ld: warning: dylib (/usr/local/lib/libboost_thread-mt.dylib) was built for newer macOS version (12.0) than being linked (11.3)
[ 19%] Built target example_chat
Consolidate compiler generated dependencies of target example_ssl
[ 23%] Building CXX object examples/CMakeFiles/example_ssl.dir/ssl/example_ssl.cpp.o
make[2]: *** No rule to make target `/usr/bin/openssl/lib', needed by `examples/example_ssl'.  Stop.
make[1]: *** [examples/CMakeFiles/example_ssl.dir/all] Error 2
make: *** [all] Error 2

/usr/bin/openssl is actually the result when which openssl is executed

My question: As a toddler in C++, how to debug an error message like this? What I have to learn as prerequisites ?

Steve Wu
  • 109
  • 5
  • The first step probably involves: [https://stackoverflow.com/questions/41644373/why-does-cmake-verbose-1-give-verbose-cmake-output-but-cmake-dcmake-verbos](https://stackoverflow.com/questions/41644373/why-does-cmake-verbose-1-give-verbose-cmake-output-but-cmake-dcmake-verbos) – drescherjm Feb 28 '22 at 13:20

0 Answers0