OS: Ubuntu 22.04 (same issue exists on Ubuntu 20.04)
74daaefb43c8a2714f265c3bc8799e6da88d98c5 (develop branch - the current default when cloned)
Describe the problem
CMake fails to generate the build files when following the installation instructions.
-- The C compiler identification is GNU 11.3.0
-- The CXX compiler identification is GNU 11.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- FreeRTOS port does not exist for Linux! No RTOS targets made.
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Checking for module 'libusb-1.0'
-- Found libusb-1.0, version 1.0.25
-- ###/xcore_iot/modules/rtos/tools/fatfs_mkimage
-- ###/xcore_iot/modules/rtos/modules/sw_services/fatfs
-- Configuring for GCC
-- Configuring for GCC
-- Building with GNU
-- Configuring for GCC
-- Configuring done
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
XSCOPE_ENDPOINT_LIB
linked by target "xscope2psf" in directory ###/xcore_iot/examples/freertos/tracealyzer/host
linked by target "xscope_host_endpoint" in directory ###/xcore_iot/modules/xscope_fileio/xscope_fileio/host
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
Provide the exact sequence of commands / steps that you executed before running into the problem
git clone --recurse-submodules git@github.com:xmos/xcore_iot.git
cd xcore_iot
cmake -B build_host
Other info or logs
I tested this both on WSL Ubuntu 22.04 (the information above is from that test) and on a native Ubuntu 20.04 install with the same results.
System information
Describe the problem CMake fails to generate the build files when following the installation instructions.
Provide the exact sequence of commands / steps that you executed before running into the problem
Other info or logs I tested this both on WSL Ubuntu 22.04 (the information above is from that test) and on a native Ubuntu 20.04 install with the same results.