eclipse-iceoryx / iceoryx2

Eclipse iceoryx2™ - true zero-copy inter-process-communication in pure Rust
https://iceoryx.io
Apache License 2.0
1.03k stars 40 forks source link

Header files missing after executing "make install" #515

Closed xfsaid closed 1 week ago

xfsaid commented 1 week ago

iceoryx2-ffi/cxx/cmake/install.cmake

install(
    # the '/' at the end is important in order to not have the 'include' folder installed but only the content
    DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/
    DESTINATION ${DESTINATION_INCLUDEDIR}
    COMPONENT dev
)

I found that the installation of C++ related header files is here, but there are many missing. For example:

#include "iox/duration.hpp"
#include "iox/expected.hpp"
#include "iox/log/logstream.hpp"
#include "iox/logging.hpp"
#include "iox/assertions.hpp"
#include "iox/error_reporting/configuration.hpp"

I don't know if anyone is completing these. If not, I think I need to complete them myself.

elBoberido commented 1 week ago

Those headers come from iceoryx_hoofs. For ease of use, the iceoryx_hoofs dependency is automatically fetched in developer setups. Please have a look https://github.com/eclipse-iceoryx/iceoryx2/blob/main/iceoryx2-ffi/cxx/README.md on how to use iceoryx_hoofs in a production setup.