+ + PWD
+ SOURCE_DIR=/home/admin/muduo
+ BUILD_DIR=../build
+ BUILD_TYPE=release
+ INSTALL_DIR=../release - install - cpp11
+ CXX=g + +
+ ln - sf,../build/release - cpp11/compile_commands json
+ mkdir -p../build/release - cpp11
+ CD../build/release - cpp11
+ cmake DCMAKE_BUILD_TYPE release - DCMAKE_INSTALL_PREFIX=.=./release - install - cpp11 - DCMAKE_EXPORT_COMPILE_COMMANDS=ON/home/admin/muduo
The Boost found.
- found the curl
- found protobuf
- found zlib
- CXX_FLAGS=- g - DCHECK_PTHREAD_RETURN_VALUE -d_file_offset_bits=64 - Wall - Wextra Werror - Wconversion - Wno - unused - parameter at stow-on-the-wold - style - cast - Woverloaded - virtual - Wpointer - arith - Wshadow - Wwrite - strings - march=native - STD=c + + 11 - rdynamic - O2 - DNDEBUG
- you done
CMake Error at/usr/local/lib/CMake/Boost - 1.71.0/BoostConfig CMake: 190 (add_library) :
Always find a source file:
INTERFACE
Tried extensions. C. c. c + +. Cc. CPP. CXX. M. m. mm. H. hh. H++. Hm. HPP
. HXX. In. TXX
The Call Stack (the most recent Call first) :
The/usr/share/cmake/Modules/FindBoost cmake: 177 (find_package)
CMakeLists. TXT: 53 (find_package)
CMake Error in CMakeLists. TXT:
Always find a source file:
IMPORTED
Tried extensions. C. c. c + +. Cc. CPP. CXX. M. m. mm. H. hh. H++. Hm. HPP
. HXX. In. TXX
- Build files have had written to:/home/admin/Build/release - cpp11
CodePudding user response:
The need to rely on the boost, you need to configure the boostCodePudding user response: