After decompressing the file RTSDK-2.0.0.L1.linux.rrg.tar.gz, I followed the documentation to first run LinuxSoLink, then use cmake to build it. The command I used is:
cmake -H. -Bcmake_gcc831
The process didn't show any error in the middle, but in the end it showed:
[100%] Built target cjson Install the project... -- Install configuration: "Release" -- Installing: /home/wdeng/RTSDK-2.0.0.L1.linux.rrg/cmake_gcc831/install/include/cjson/cJSON.h -- Installing: /home/wdeng/RTSDK-2.0.0.L1.linux.rrg/cmake_gcc831/install/lib64/pkgconfig/libcjson.pc -- Installing: /home/wdeng/RTSDK-2.0.0.L1.linux.rrg/cmake_gcc831/install/lib64/libcjson.a -- Installing: /home/wdeng/RTSDK-2.0.0.L1.linux.rrg/cmake_gcc831/install/lib64/cmake/cJSON/cjson.cmake -- Installing: /home/wdeng/RTSDK-2.0.0.L1.linux.rrg/cmake_gcc831/install/lib64/cmake/cJSON/cjson-release.cmake -- Installing: /home/wdeng/RTSDK-2.0.0.L1.linux.rrg/cmake_gcc831/install/lib64/cmake/cJSON/cJSONConfig.cmake -- Installing: /home/wdeng/RTSDK-2.0.0.L1.linux.rrg/cmake_gcc831/install/lib64/cmake/cJSON/cJSONConfigVersion.cmake [100%] Completed 'cjson' [100%] Built target cjson -- Skipping Eta Doxygen Build: BUILD_ETA_DOXYGEN:OFF -- Skipping Ema Doxygen Build: BUILD_EMA_DOXYGEN:OFF -- Configuring incomplete, errors occurred! See also "/home/wdeng/RTSDK-2.0.0.L1.linux.rrg/cmake_gcc831/CMakeFiles/CMakeOutput.log".
In the CMakeOutput.log file, I don't see any errors. The tail of the file is:
Determining if the pthread_create exist passed with the following output: Change Dir: /home/wdeng/RTSDK-2.0.0.L1.linux.rrg/cmake_gcc831/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_17bc5/fast" /usr/bin/gmake -f CMakeFiles/cmTC_17bc5.dir/build.make CMakeFiles/cmTC_17bc5.dir/build gmake[1]: Entering directory '/mnt/jbod/home/wdeng/RTSDK-2.0.0.L1.linux.rrg/cmake_gcc831/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_17bc5.dir/CheckSymbolExists.c.o /usr/bin/cc -m64 -DCOMPILE_64BITS -fPIC -D_DEFAULT_SOURCE=1 -DLinux -DLINUX -Dx86_Linux_4X -Dx86_Linux_5X -Dx86_Linux_6X -DLinuxVersion=4 -pthread -D_iso_stdcpp_ -D_POSIX_SOURCE=1 -D_POSIX_C_SOURCE=199506L -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -DNDEBUG -O3 -fbuiltin -o CMakeFiles/cmTC_17bc5.dir/CheckSymbolExists.c.o -c /home/wdeng/RTSDK-2.0.0.L1.linux.rrg/cmake_gcc831/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_17bc5 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_17bc5.dir/link.txt --verbose=1 /usr/bin/cc -m64 -DCOMPILE_64BITS -fPIC -D_DEFAULT_SOURCE=1 -DLinux -DLINUX -Dx86_Linux_4X -Dx86_Linux_5X -Dx86_Linux_6X -DLinuxVersion=4 -pthread -D_iso_stdcpp_ -D_POSIX_SOURCE=1 -D_POSIX_C_SOURCE=199506L -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -DNDEBUG -O3 -fbuiltin CMakeFiles/cmTC_17bc5.dir/CheckSymbolExists.c.o -o cmTC_17bc5 gmake[1]: Leaving directory '/mnt/jbod/home/wdeng/RTSDK-2.0.0.L1.linux.rrg/cmake_gcc831/CMakeFiles/CMakeTmp' File /home/wdeng/RTSDK-2.0.0.L1.linux.rrg/cmake_gcc831/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include <pthread.h> int main(int argc, char** argv) { (void)argv; #ifndef pthread_create return ((int*)(&pthread_create))[argc]; #else (void)argc; return 0; #endif }
I'd like to upload the full log file here but when I tried it I got a permission denied error.
My system is CentOS 8 with cmake 3.11.4 and gcc 8.3.1.
Your help is greatly appreciated. Thank you!