草庐IT

ImageMarker

全部标签

c++ - 如何使用 cmake 链接 boost.system

我使用cmake生成的makefile来编译依赖于boost文件系统库的c++文件。在链接过程中,我收到以下错误:Undefinedsymbols:"boost::system::get_generic_category()",referencedfrom:__static_initialization_and_destruction_0(int,int)inFaceRecognizer.cpp.o__static_initialization_and_destruction_0(int,int)inFaceRecognizer.cpp.o__static_initialization

c++ - 如何使用 cmake 链接 boost.system

我使用cmake生成的makefile来编译依赖于boost文件系统库的c++文件。在链接过程中,我收到以下错误:Undefinedsymbols:"boost::system::get_generic_category()",referencedfrom:__static_initialization_and_destruction_0(int,int)inFaceRecognizer.cpp.o__static_initialization_and_destruction_0(int,int)inFaceRecognizer.cpp.o__static_initialization