Coder Social home page Coder Social logo

embeddedrtps-linux's People

Contributors

cleboennen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

capitaneanu

embeddedrtps-linux's Issues

Compile error on Ubuntu 23.04

Compile error with gcc 12.3 on Ubuntu 23.04

Missing includes in TopicData.h :
#include <functional> #include <string>

Build instructions fail - foonathan and fastcdr issues

Hello @akampmann, I had a quick look at this and bumped into the following while executing the build instructions as provided in the README:

In file included from /home/ubuntu/embeddedRTPS-Linux/fastdds/Fast-DDS-Test/multicast-performance/McastResponder.cpp:20:
/home/ubuntu/embeddedRTPS-Linux/fastdds/Fast-DDS-Test/multicast-performance/McastResponder.h: In constructor ‘McastResponder::McastResponder(bool, bool)’:
/home/ubuntu/embeddedRTPS-Linux/fastdds/Fast-DDS-Test/multicast-performance/McastResponder.h:67:7: warning: ‘McastResponder::m_reliable’ will be initialized after [-Wreorder]
   67 |  bool m_reliable;
      |       ^~~~~~~~~~
/home/ubuntu/embeddedRTPS-Linux/fastdds/Fast-DDS-Test/multicast-performance/McastResponder.h:63:3: warning:   ‘McastResponder::SubListener McastResponder::m_listener’ [-Wreorder]
   63 |  }m_listener;
      |   ^~~~~~~~~~
/home/ubuntu/embeddedRTPS-Linux/fastdds/Fast-DDS-Test/multicast-performance/McastResponder.cpp:34:1: warning:   when initialized here [-Wreorder]
   34 | McastResponder::McastResponder(bool multicast, bool reliable)
      | ^~~~~~~~~~~~~~
[ 98%] Building CXX object fastdds/Fast-DDS-Test/multicast-performance/CMakeFiles/MulticastPerformance_fastdds.dir/MulticastPerformanceTest.cpp.o
[ 98%] Linking CXX executable ../../../MulticastPerformance_fastdds
/usr/bin/ld: cannot find -lfastcdr
/usr/bin/ld: cannot find -lfoonathan_memory
collect2: error: ld returned 1 exit status
make[2]: *** [fastdds/Fast-DDS-Test/multicast-performance/CMakeFiles/MulticastPerformance_fastdds.dir/build.make:134: MulticastPerformance_fastdds] Error 1
make[1]: *** [CMakeFiles/Makefile2:1832: fastdds/Fast-DDS-Test/multicast-performance/CMakeFiles/MulticastPerformance_fastdds.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

Find below a dockerfile that allows to reproduce this systematically. Not sure what's your dev. environment or the expectation in here. Could you please comment on this?

Dockerfile for reproduction
# Instructions:
# - build:
#     docker build -t embeddedrtpslinux .
# - run:
#     docker run -it embeddedrtpslinux /bin/bash

FROM osrf/ros:foxy-desktop

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
      git build-essential cmake

WORKDIR /home/ubuntu
RUN git clone --recursive https://github.com/embedded-software-laboratory/embeddedRTPS-Linux

WORKDIR /home/ubuntu/embeddedRTPS-Linux
# build it
RUN mkdir build && cd build && cmake .. && make

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.