C1083: Cannot open include file: 'boost/system/error_code.hpp': No such file or directorycmake_minimum_required(VERSION 3.12)
find_package(}/include PUBLI
我已经将包含下的spdlog目录复制到我的项目目录的根目录,但是当我试图编译时,我得到了包含错误,因为spdlog头中的#include指令都是绝对的(相对于项目根),而不是相对的,gcc找不到这些文件: fatal error: spdlog/common.h: No such file or directory除了将spdlog库中的所有包含更改为相对项外我还使用CMake编译我的项目;我在我的项目<em
下面是我的CMake设置:cmake_minimum_required(VERSION 3.22)set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIRto make the system