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

[BUG] /ros/assert.h:130:9: error: no match for ‘operator!’ #69

Open
PengZai opened this issue Nov 7, 2024 · 0 comments
Open

[BUG] /ros/assert.h:130:9: error: no match for ‘operator!’ #69

PengZai opened this issue Nov 7, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@PengZai
Copy link

PengZai commented Nov 7, 2024

Describe the bug
A clear and concise description of what the bug is.

hi guys,

when I set catkin config -DCMAKE_BUILD_TYPE=Debug, instead of Release, I came across a problem when I run catkin build. There is an error on the process of compiling kimera_pgmo_rviz. it said

Errors << kimera_pgmo_rviz:make /home/zhipeng/vscode_projects/catkin_ws/logs/kimera_pgmo_rviz/build.make.000.log
In file included from /home/zhipeng/vscode_projects/catkin_ws/src/kimera_pgmo/kimera_pgmo_rviz/src/mesh_visual.cpp:12:
/home/zhipeng/vscode_projects/catkin_ws/src/kimera_pgmo/kimera_pgmo_rviz/src/mesh_visual.cpp: In member function ‘Ogre::Material& kimera_pgmo::MeshVisual::getMaterial() const’:
/opt/ros/noetic/include/ros/assert.h:130:9: error: no match for ‘operator!’ (operand type is ‘Ogre::SharedPtrOgre::Material’)

that's weird. how can I fix it? please help me.

by the way, I compile this project based on Ubuntu 20.04 of WSL(windows subsystem for Linux)

Snipaste_2024-11-07_18-37-55

System Information:

  • OS [e.g. Ubuntu 18.04, Ubuntu 20.04]:
  • Any build warnings? [yes/no]:
  • Any non-system dependency versions that you know of? [yes/no]:

Additional Information:
If possible and/or relevant, please take a look here and try to obtain the following (attached as files preferrably):

  • A backtrace (either from gdb or from Hydra directly)
  • The current workspace configuration
  • The current workspace contents
@PengZai PengZai added the bug Something isn't working label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants