Skip to content

命令行错误:宏定义无效: BOOST BOOST_ALL_NO_LIB-DBOOST_ALL_NO_LIB ALL NO LIB-DBOOST ALL NO LIB  #40

Open
@Tomta10

Description

@Tomta10

Desktop (please complete the following information):

  • Windows OS Version: [e.g. windows 11]
  • SLMaster Version: [e.g. 1.2.5]
  • OpenCV Version: [e.g. 4.5.2]
  • VTK Version: [e.g. 9.2.0]
  • PCL Version: [e.g. 1.12.1]
  • Qt Version: [e.g. 5.15.1]

Describe the compilation issue
你好。我在vs2019编译时很多文件夹出现宏定义无效: BOOST BOOST_ALL_NO_LIB-DBOOST_ALL_NO_LIB ALL NO LIB-DBOOST ALL NO LIB 的错误,生成的项目中似乎和gTest库有关的都失败了
image
另外这里是具体的错误消息,似乎是gTest库的函数无法解析:
image

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions