Skip to content

Compilation error #86

Closed
Closed

Description

@jtroeth1

Hi There,

I am trying to compile FastDDS on Fedora 35, but I get the following error:

❯ /usr/bin/make [ 33%] Swig compile fastdds.i for python /home/jtroeth/software/Fast-DDS-python/fastdds_python/src/swig/fastdds/rtps/attributes/ThreadSettings.i:19: Error: Unable to find 'fastdds/rtps/attributes/ThreadSettings.hpp' make[2]: *** [src/swig/CMakeFiles/fastdds_python_swig_compilation.dir/build.make:76: src/swig/CMakeFiles/fastdds_python.dir/fastddsPYTHON.stamp] Error 1 make[2]: *** Deleting file 'src/swig/CMakeFiles/fastdds_python.dir/fastddsPYTHON.stamp' make[1]: *** [CMakeFiles/Makefile2:126: src/swig/CMakeFiles/fastdds_python_swig_compilation.dir/all] Error 2 make: *** [Makefile:146: all] Error 2

I assume the ThreadSettings.hpp is mean to be generated, but is not?

Versions:

  • swig 4.0.2
  • Fast CDR: master 71d2cc2
  • foonathan_memory_vendor: master 48e5e2c
  • FastDDS: master e318c5b99
  • FastDDS-python, main or v1.4.0
  • asio-devel 1.16.1-4.fc35

Thanks

Activity

  1. jtroeth1 commented on Jan 9, 2024

    @jtroeth1
    Author

    Removing ThreadSettings.i from fastdds_python/src/swig/fastdds.i allows for a successful build.

  2. JesusPoderoso commented on Jan 9, 2024

    @JesusPoderoso
    Contributor

    Hi @jtroeth1 thanks for using Fast DDS.
    I've checked that the Fast DDS commit hash you provided does not include the ThreadSettings feature that Fast DDS python expects. That feature was introduced later.
    I have tried to reproduce your issue locally and it works for me.
    Please, try to git pull all repositories and check again.

  3. JesusPoderoso commented on Jan 9, 2024

    @JesusPoderoso
    Contributor

    Also, I am moving this question to the support discussion forum as per Fast DDS CONTRIBUTING guidelines.

  4. locked and limited conversation to collaborators on Jan 9, 2024
  5. converted this issue into a discussion #87 on Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions