Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

g2o 编译 error Parse error at "std" #302

Open
Teresa-Teng opened this issue May 5, 2024 · 1 comment
Open

g2o 编译 error Parse error at "std" #302

Teresa-Teng opened this issue May 5, 2024 · 1 comment

Comments

@Teresa-Teng
Copy link

编译g2o时出现下面的错误,
usr/include/c++/9/bits/functexcept.:42: Parse error at "std"
make[2]: *** [g2o/apps/g2o_viewer/CMakeFiles/viewer_library.dir/build.make:74: g2o/apps/g2o_viewer/moc_properties_widget.cpp] Error 1
make[2]: *** Waiting for unfinished jobs....

usr/include/c++/9/bits/cpp_type_traits.:69: Parse error at "std"
make[2]: *** [g2o/apps/g2o_viewer/CMakeFiles/viewer_library.dir/build.make:70: g2o/apps/g2o_viewer/moc_main_window.cpp] Error 1
make[1]: *** [CMakeFiles/Makefile2:1559: g2o/apps/g2o_viewer/CMakeFiles/viewer_library.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

是qt 的moc 工具在 生成下面的cpp 文件时出现错误
[ 45%] Generating moc_properties_widget.cpp
[ 46%] Generating moc_main_window.cpp

但是搜索不到解决办法。

@BTREE-C802
Copy link

BTREE-C802 commented May 5, 2024 via email

@Teresa-Teng Teresa-Teng closed this as not planned Won't fix, can't repro, duplicate, stale May 5, 2024
@Teresa-Teng Teresa-Teng reopened this May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants