AZ
Size: a a a
AZ
KS
AZ
O
KS
AB
KS
s
AB
KS
KS
KS
KS
F
KS
KS
Команда: cmake ..
Логи:
-- The C compiler identification is AppleClang 12.0.5.12050022
-- The CXX compiler identification is AppleClang 12.0.5.12050022
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Boost: /opt/homebrew/lib/cmake/Boost-1.75.0/BoostConfig.cmake (found version "1.75.0") found components: system
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/kamronsultanov/CLionProjects/wd-cpp/build
kamronsultanov@MacBook-Pro-Kamron build % make server
[ 8%] Building CXX object server/src/infrastructure/CMakeFiles/libidgenerator.dir/IncrementalConcurrentIdGenerator.cpp.o
[ 16%] Linking CXX static library liblibidgenerator.a
warning: /Library/Developer/CommandLineTools/usr/bin/ranlib: archive library: liblibidgenerator.a the table of contents is empty (no object file members in the library define global symbols)
[ 16%] Built target libidgenerator
[ 25%] Building CXX object server/src/domain/CMakeFiles/libstudent.dir/Student.cpp.o
In file included from /Users/kamronsultanov/CLionProjects/wd-cpp/server/src/domain/Student.cpp:6:
/Users/kamronsultanov/CLionProjects/wd-cpp/server/include/crow_all.h:9:10: fatal error: 'boost/optional.hpp' file not found
#include <boost/optional.hpp>
^~~~~~~~~~~~~~~~~~~~
1 error generated.
make[3]: *** [server/src/domain/CMakeFiles/libstudent.dir/Student.cpp.o] Error 1
make[2]: *** [server/src/domain/CMakeFiles/libstudent.dir/all] Error 2
make[1]: *** [server/src/CMakeFiles/server.dir/rule] Error 2
make: *** [server] Error 2
Машина: Macbook pro 13 m1(arm)
GCC - установлен
Cmake - установлен
Boost - установлен
AZ
KS
AZ
AZ