xmos / xcore_iot

Other
30 stars 40 forks source link

'Step 2. Install Host Applications' in documentation fails to build #630

Closed chacalnoir closed 5 months ago

chacalnoir commented 5 months ago

System information

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.

chacalnoir commented 5 months ago

Missed seeing this issue elsewhere in the resolved. Removing.