1 Create a build directory under the root directory and enter compilation
2 Solve the failure of idlc_generate under the ARM architecture
1. First comment out the idlc_generate instruction in the CMakeLists.txt file (and delete the statement that references the target library file)
2. Copy the HelloWorldData.cpp and hpp files generated by the C++ version under X86, and change the address of the header file introduced in cpp
3 The first error cmake
Linux terminal input:
cmake-DCMAKE_PREFIX_PATH=/home/ubuntu/Documents/ARM_C_CycloneDDS/cyclonedds-master/install_DDS_ARM -DCMAKE_TOOLCHAIN_FILE=/home/ubuntu/Documents/ARM_C_CycloneDDS/cyclonedds-master/arm.cmake -DENABLE_SSL=NO ..
specify:
arm.cmake
The file address
ARM下C++
installation location
SSL
is not enabled
But the error is as follows: