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

Building reference errors (Create3Hmi.cc) #213

Open
pabloresa opened this issue Aug 30, 2023 · 1 comment
Open

Building reference errors (Create3Hmi.cc) #213

pabloresa opened this issue Aug 30, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@pabloresa
Copy link

Describe the bug
Multiple reference errors, but solvable during building:

/usr/include/ignition/plugin1/gz/plugin/detail/Register.hh:28:10: fatal error: gz/utilities/SuppressWarning.hh: No existe el archivo o el directorio 28 | #include <gz/utilities/SuppressWarning.hh>

/usr/include/ignition/plugin1/gz/plugin/Info.hh:57:9: error: ‘IGN_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING’ does not name a type; did you mean ‘IGN_MSGS_WARN_IGNORE__DLL_INTERFACE_MISSING’? 57 | IGN_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IGN_MSGS_WARN_IGNORE__DLL_INTERFACE_MISSING /usr/include/ignition/plugin1/gz/plugin/Info.hh:59:9: error: ‘IGN_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING’ does not name a type; did you mean ‘IGN_MSGS_WARN_RESUME__DLL_INTERFACE_MISSING’? 59 | IGN_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IGN_MSGS_WARN_RESUME__DLL_INTERFACE_MISSING /usr/include/ignition/plugin1/gz/plugin/Info.hh:64:9: error: ‘IGN_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING’ does not name a type; did you mean ‘IGN_MSGS_WARN_RESUME__DLL_INTERFACE_MISSING’? 64 | IGN_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IGN_MSGS_WARN_RESUME__DLL_INTERFACE_MISSING /usr/include/ignition/plugin1/gz/plugin/Info.hh:74:9: error: ‘InterfaceCastingMap’ does not name a type 74 | InterfaceCastingMap interfaces; | ^~~~~~~~~~~~~~~~~~~ /usr/include/ignition/plugin1/gz/plugin/Info.hh:75:9: error: ‘IGN_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING’ does not name a type; did you mean ‘IGN_MSGS_WARN_RESUME__DLL_INTERFACE_MISSING’? 75 | IGN_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IGN_MSGS_WARN_RESUME__DLL_INTERFACE_MISSING /usr/include/ignition/plugin1/gz/plugin/Info.hh:84:9: error: ‘IGN_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING’ does not name a type; did you mean ‘IGN_MSGS_WARN_RESUME__DLL_INTERFACE_MISSING’? 84 | IGN_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IGN_MSGS_WARN_RESUME__DLL_INTERFACE_MISSING /usr/include/ignition/plugin1/gz/plugin/Info.hh:89:9: error: ‘IGN_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING’ does not name a type; did you mean ‘IGN_MSGS_WARN_RESUME__DLL_INTERFACE_MISSING’? 89 | IGN_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IGN_MSGS_WARN_RESUME__DLL_INTERFACE_MISSING /usr/include/ignition/plugin1/gz/plugin/Info.hh:94:9: error: ‘IGN_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING’ does not name a type; did you mean ‘IGN_MSGS_WARN_RESUME__DLL_INTERFACE_MISSING’? 94 | IGN_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IGN_MSGS_WARN_RESUME__DLL_INTERFACE_MISSING /usr/include/ignition/plugin1/gz/plugin/Plugin.hh:207:7: error: ‘IGN_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING’ does not name a type; did you mean ‘IGN_MSGS_WARN_IGNORE__DLL_INTERFACE_MISSING’? 207 | IGN_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IGN_MSGS_WARN_IGNORE__DLL_INTERFACE_MISSING /usr/include/ignition/plugin1/gz/plugin/Plugin.hh:210:7: error: ‘IGN_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING’ does not name a type; did you mean ‘IGN_MSGS_WARN_RESUME__DLL_INTERFACE_MISSING’? 210 | IGN_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IGN_MSGS_WARN_RESUME__DLL_INTERFACE_MISSING /Create3Hmi.cc:12: /usr/include/ignition/plugin1/gz/plugin/EnablePluginFromThis.hh:79:7: error: ‘IGN_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING’ does not name a type; did you mean ‘IGN_MSGS_WARN_IGNORE__DLL_INTERFACE_MISSING’? 79 | IGN_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IGN_MSGS_WARN_IGNORE__DLL_INTERFACE_MISSING /usr/include/ignition/plugin1/gz/plugin/EnablePluginFromThis.hh:81:7: error: ‘IGN_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING’ does not name a type; did you mean ‘IGN_MSGS_WARN_RESUME__DLL_INTERFACE_MISSING’? 81 | IGN_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IGN_MSGS_WARN_RESUME__DLL_INTERFACE_MISSING
/usr/include/ignition/plugin1/gz/plugin/Plugin.hh:207:7: error: ‘IGN_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING’ does not name a type; did you mean ‘IGN_MSGS_WARN_IGNORE__DLL_INTERFACE_MISSING’? 207 | IGN_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IGN_MSGS_WARN_IGNORE__DLL_INTERFACE_MISSING /usr/include/ignition/plugin1/gz/plugin/Plugin.hh:210:7: error: ‘IGN_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING’ does not name a type; did you mean ‘IGN_MSGS_WARN_RESUME__DLL_INTERFACE_MISSING’? 210 | IGN_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IGN_MSGS_WARN_RESUME__DLL_INTERFACE_MISSING In file included from /usr/include/ignition/plugin1/gz/plugin/detail/Register.hh:30, from /usr/include/ignition/plugin1/gz/plugin/Register.hh:22, from /usr/include/ignition/plugin1/ignition/plugin/Register.hh:18, from /home/pablo/dev_opencv/src/create3_sim-humble/irobot_create_ignition/irobot_create_ignition_plugins/Create3Hmi/Create3Hmi.cc:12: /usr/include/ignition/plugin1/gz/plugin/EnablePluginFromThis.hh:79:7: error: ‘IGN_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING’ does not name a type; did you mean ‘IGN_MSGS_WARN_IGNORE__DLL_INTERFACE_MISSING’? 79 | IGN_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IGN_MSGS_WARN_IGNORE__DLL_INTERFACE_MISSING /usr/include/ignition/plugin1/gz/plugin/EnablePluginFromThis.hh:81:7: error: ‘IGN_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING’ does not name a type; did you mean ‘IGN_MSGS_WARN_RESUME__DLL_INTERFACE_MISSING’? 81 | IGN_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IGN_MSGS_WARN_RESUME__DLL_INTERFACE_MISSING

/usr/include/ignition/plugin1/gz/plugin/detail/Register.hh:376:1: error: ‘IGN_UTILS_WARN_IGNORE__NON_VIRTUAL_DESTRUCTOR’ was not declared in this scope; did you mean ‘IGN_MSGS_WARN_IGNORE__DELETE_NON_VIRTUAL_DESTRUCTOR’? 376 | IGN_UTILS_WARN_IGNORE__NON_VIRTUAL_DESTRUCTOR | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IGN_MSGS_WARN_IGNORE__DELETE_NON_VIRTUAL_DESTRUCTOR /usr/include/ignition/plugin1/gz/plugin/detail/Register.hh:382:1: error: ‘IGN_UTILS_WARN_RESUME__NON_VIRTUAL_DESTRUCTOR’ was not declared in this scope; did you mean ‘IGN_MSGS_WARN_RESUME__DELETE_NON_VIRTUAL_DESTRUCTOR’? 382 | IGN_UTILS_WARN_RESUME__NON_VIRTUAL_DESTRUCTOR | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IGN_MSGS_WARN_RESUME__DELETE_NON_VIRTUAL_DESTRUCTOR

SOLUTION: Change the references as Colcon suggest (ie: nano for Register.hh, EnablePluginFromThis.hh and Info.hh and creating the file "gz/utilities/SuppressWarning.hh")

To Reproduce
Following the building instructions after "colcon build --symlink-install"

@pabloresa pabloresa added the bug Something isn't working label Aug 30, 2023
@alsora
Copy link
Contributor

alsora commented Aug 30, 2023

Hi, this error is likely due to a misconfiguration or other problem in your system setup, you may be using a wrong version of gazebo.
Using the correct version (Gazebo Ignition Fortress) the error is not reproducible.

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