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

fix fastcdr #6

Closed
daohu527 opened this issue Jun 11, 2024 · 2 comments
Closed

fix fastcdr #6

daohu527 opened this issue Jun 11, 2024 · 2 comments
Labels

Comments

@daohu527
Copy link
Collaborator

fix includes not work

https://github.com/daohu527/core/blob/6d02840b4ddf40c071c1a405840ad7cafa673b18/bazel/third_party/fastcdr.BUILD#L3-L12

for now we need run instead

export CPLUS_INCLUDE_PATH="/usr/local/fast-rtps/include"
@daohu527 daohu527 added the P0 label Jun 18, 2024
@daohu527
Copy link
Collaborator Author

daohu527 commented Jul 3, 2024

Build fastrtps will report error

/usr/bin/ld: /opt/conda/lib/libgtest.so.1.11.0: undefined reference to `std::__throw_bad_array_new_length()@GLIBCXX_3.4.29'
collect2: error: ld returned 1 exit status
make[2]: *** [test/unittest/rtps/common/CMakeFiles/SequenceNumberTests.dir/build.make:85: test/unittest/rtps/common/SequenceNumberTests] Error 1
make[1]: *** [CMakeFiles/Makefile2:1414: test/unittest/rtps/common/CMakeFiles/SequenceNumberTests.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
In file included from /workspaces/core/scripts/deps/Fast-DDS/include/fastrtps/rtps/builtin/data/../../../attributes/../qos/../rtps/common/all_common.h:28,

Upgrading or downgrading gcc version (7, 11) is no problem, gcc 9 has problems

@daohu527
Copy link
Collaborator Author

  • cyber/transport
  • cyber/service_discovery

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant