VictorLee

Results 36 comments of VictorLee

> @ZhenshengLee I'm not sure why bindgen doesn't have issues with `cpp2c_WaitSet` since that is also a C++ class. Maybe because it is located in `iceoryx_binding_c` instead of `iceoryx_posh`. >...

> You can of course create a patch for iceoryx and make it a pure C API. We just didn't encounter this problems until now since it seems the C...

> I had a look at your patch but I think it's not really correct since a C++ compiler is now necessary to use the C binding. Did you try...

I give it a test to your theory, and rustc bindgen will treat all api as demangled symbol, and output `undefined reference` error, like this. ```sh /usr/bin/ld: /usr/local/lib/libiceoryx_binding_c.a(c_runtime.cpp.o): in function...

> Here is a nice article to this topic: https://arne-mertz.de/2018/10/calling-cpp-code-from-c-with-extern-c/ This pattern is great. ```cpp extern "C" { #include "foo.h" } ``` but this is the issue. ```cpp extern "C"...

@BH1SCW Actually this issue was closed as rejected. > It seems that this bug still not be fixed yet? No, the official tool rust-bindgen from rust is not supported by...

> I found a workaround : > > Add : set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC") OK, this should be another issue about compiling. > I am not sure if this is a...

I have the same issue, any solution?

> As said in the description, I don't have these problems with ROS2 Foxy, which defaults to FastDDS 2.0.2. I've met this problem in ROS2 Foxy, which is fastdds2.0.3.

@dHofmeister your requirement is related with https://github.com/ZhenshengLee/perception_cupoch/issues/3 https://github.com/ZhenshengLee/perception_cupoch/tree/noetic#cupoch this will help to use cupoch with ros2 and cpp. https://github.com/ros2cuda/cupoch-fat/commit/20d9cb532527724fcc03546826733be4c64f4b95 https://github.com/ros2cuda/cupoch-fat/commit/61aa98cf663a13e548f9b74fd78a86ccd2f3ad9b https://github.com/ros2cuda/cupoch-fat/commit/352f39ab54587e5a0663af8c6e80f4e086cc70f2 these are useful custom changes to make cupoch cpp...