Hi, I was trying to build the SampleRuntime app and got stuck with the below error, umesh@umesh-VirtualBox:~/Projects/runtime/tools$ sudo ./build-runtime.sh -t “/opt/pxc/sdk/AXCF2152/2019.6” -a “2019.6.3 (19.6.3.22423 )” -n “AXCF2152”
[sudo] password for umesh:
Version:19.6.3.22423
CMAKE Configure
-- Setting ARP_TOOLCHAIN_NATIVE_SYSROOT=‘/opt/pxc/sdk/AXCF2152/2019.6/sysroots/x86_64-pokysdk-linux’
-- Setting ARP_TOOLCHAIN_TARGET_SYSROOT=‘/opt/pxc/sdk/AXCF2152/2019.6/sysroots/cortexa9t2hf-neon-pxc-linux-gnueabi’
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- Check for working C compiler: /opt/pxc/sdk/AXCF2152/2019.6/sysroots/x86_64-pokysdk-linux/usr/bin/arm-pxc-linux-gnueabi/arm-pxc-linux-gnueabi-gcc
-- Check for working C compiler: /opt/pxc/sdk/AXCF2152/2019.6/sysroots/x86_64-pokysdk-linux/usr/bin/arm-pxc-linux-gnueabi/arm-pxc-linux-gnueabi-gcc – works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /opt/pxc/sdk/AXCF2152/2019.6/sysroots/x86_64-pokysdk-linux/usr/bin/arm-pxc-linux-gnueabi/arm-pxc-linux-gnueabi-g++
-- Check for working CXX compiler: /opt/pxc/sdk/AXCF2152/2019.6/sysroots/x86_64-pokysdk-linux/usr/bin/arm-pxc-linux-gnueabi/arm-pxc-linux-gnueabi-g++ – works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMAKE_MODULE_PATH:/opt/pxc/sdk/AXCF2152/2019.6/cmake
CMake Error at CMakeLists.txt:45 (target_link_options):
Unknown CMake command “target_link_options”. -- Configuring incomplete, errors occurred!
See also “/home/umesh/Projects/runtime/tools/CMakeFiles/CMakeOutput.log”.
See also “/home/umesh/Projects/runtime/tools/CMakeFiles/CMakeError.log”.
Error: could not load cache
Error: could not load cache Regards, Umesh