Skip to content

G2o编译问题 #95

@ye-tingfeng

Description

@ye-tingfeng

在g2o编译通过后,在thrid_patry/g2o文件中形成一个build文件,其中包含了build/g20/config.h文件。
但在整体空间中编译发现无法连接到thrid_patry/g2o/g2o/openmp_mutex.h中的 “#include "g2o/config.h"
图片

需要在packages.cmake中添加build路径:
include_directories(${PROJECT_SOURCE_DIR}/thirdparty/g2o/build/)
请问高博,这个问题是g2o库的CMakeList文件问题还是?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions