eclipse-cyclonedds / cyclonedds

Eclipse Cyclone DDS project
https://projects.eclipse.org/projects/iot.cyclonedds
Other
888 stars 363 forks source link

The library constructed by crosscompiling is incomplete #2141

Closed yuyuyuyi2001 closed 3 hours ago

yuyuyuyi2001 commented 1 day ago

I am trying to port cycleddds to SylixOS through cross compilation and have encountered some issues:

  1. When I started cross compilation, only a portion of the library files were built. I learned that this may be related to the setting in CMakeLists.txt: %( OM871Z}_@NJ5H)7{ (U2
option(BUILD_IDLC "Build IDL preprocessor" ${not_crosscompiling})
option(BUILD_DDSPERF "Build ddsperf tool" ${not_crosscompiling})

I want to know why only a portion of the libraries were generated. V4 Q291UMXIR0{1EGEW}4QR @ $33D)(%04Y@IT)AW{_ %Z(2

  1. and when I tried to start test case building with -DBUILD_Testing=ON, i received an error saying that I couldn't find cycleddsidlc library, I think this is related to question 1.
    CMake Error at cmake/Modules/Generate.cmake:35 (message):
    Unable to find IDLC C-backend library: cycloneddsidlc
    Call Stack (most recent call first):
    src/security/core/tests/CMakeLists.txt:16 (idlc_generate)
yuyuyuyi2001 commented 3 hours ago

I find,#794 maybe is my answer,and there is some good blog about crossingcompiling: https://blog.csdn.net/LIANGCELANGCE/article/details/140281300 https://blog.csdn.net/qq_42595610/article/details/131706113?fromshare=blogdetail&sharetype=blogdetail&sharerId=131706113&sharerefer=PC&sharesource=CSDN_19751223&sharefrom=from_link