-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Required information
Operating system:
- Cross compiled in Linux Mint for VxWorks 7 for the following board: https://www.ti.com/tool/TMDX654IDKEVM#description (aarch64-wrs-vxwork or armv7-wrs-vxworks-eabihf) adapting the following instructions: https://github.com/ekxide/iceoryx2/blob/vxworks-mvp/doc/development-setup/vxworks.md
Rust version:
Output of: rustc --version: 1.82.0
Cargo version:
Output of: cargo --version: 1.82.0
iceoryx2 version:
https://github.com/ekxide/iceoryx2/tree/vxworks-mvp
Detailed log output:
target/ffi/build/generated/iceoryx_platform/include/iceoryx_platform/platform_settings.hpp:20:10: fatal error: 'linux/limits.h' file not found
#include <linux/limits.h>
1 error generated.
Observed result or behaviour:
Can not compile iceoryx2 c++ bindings
Expected result or behaviour:
The iceoryx2 c++ bindings can be compiled
Conditions where it occurred / Performed steps:
Create VSB and a VIP for the board. Create a custom sdkenv.sh.
Within the Wind River Workbench Development Terminal call the following commands:
- source sdkenv.sh
- cargo build --package iceoryx2
- mkdir iceHoof
- cd iceHoof
- git clone --depth 1 --branch v2.95.5 https://github.com/eclipse-iceoryx/iceoryx.git target/iceoryx/src
- cmake -S target/iceoryx/src/iceoryx_platform -B target/iceoryx/build/platform -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=target/install -DIOX_PLATFORM_MINIMAL_POSIX=ON -DCMAKE_SYSTEM_NAME=VxWorks
- cmake --build target/iceoryx/build/platform
- cmake --install target/iceoryx/build/platform
- cmake -S target/iceoryx/src/iceoryx_hoofs -B target/iceoryx/build/hoofs -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=target/install -DCMAKE_PREFIX_PATH="$(pwd)/target/install" -DIOX_USE_HOOFS_SUBSET_ONLY=ON -DCMAKE_SYSTEM_NAME=VxWorks
- cmake --build target/iceoryx/build/hoofs
- cmake --install target/iceoryx/build/hoofs
- cd ..
- cargo build --release --package iceoryx2-ffi
- cmake -S . -B target/ffi/build -DCMAKE_INSTALL_PREFIX=target/install -DCMAKE_PREFIX_PATH="$(pwd)/iceHoof/target/install" -DRUST_BUILD_ARTIFACT_PATH="$(pwd)/target/aarch64-wrs-vxworks/release"
- cmake --build target/ffi/build
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working