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

Wrong include headers for uuid on Ubuntu 18.04 #112

Open
osrf-migration opened this issue Sep 9, 2019 · 0 comments
Open

Wrong include headers for uuid on Ubuntu 18.04 #112

osrf-migration opened this issue Sep 9, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@osrf-migration
Copy link

Original report (archived issue) by Silvio Traversaro (Bitbucket: traversaro).


Prerequisites

  • Put an X between the brackets on this line if you have done all of the following:

Description

On Ubuntu 18.04, ignition-transport4 includes the uuid/uuid.h, but it should include directly the uuid.h file as the UUID include directories are <prefix>/include/uuid, not <prefix>/include.

Steps to Reproduce

  1. Inspect the UUID_INCLUDE_DIRS CMake variable.

Expected behavior:

It should contain a directory that contains a uuid/uuid.h file, that is then included in https://github.com/ignitionrobotics/ign-transport/blob/a9318bdb9a233e32a27bbe71f99d534b23315b7a/include/ignition/transport/Uuid.hh#L32 .

Actual behavior:

The directory contains a uuid.h file .

Reproduces how often:

All the time.

Versions

Ubuntu 18.04, ignition-transport 4.

Additional Information

The problem does not emerge because uuid is tipically installed either in the system prefix /usr or it shares the prefix with other dependencies, and so the <prefix>/include directory is added to the include paths in any case. However it could create problems if uuid is installed in a separated prefix.

@osrf-migration osrf-migration added major bug Something isn't working labels Apr 15, 2020
@chapulina chapulina removed the major label May 25, 2020
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