From https://github.com/trabucayre/openFPGALoader * branch master -> FETCH_HEAD Already up to date. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. -- Checking for module 'hidapi-libusb' -- Package 'hidapi-libusb', required by 'virtual:world', not found -- Checking for module 'hidapi-hidraw' -- Package 'hidapi-hidraw', required by 'virtual:world', not found -- Checking for module 'hidapi' -- Package 'hidapi', required by 'virtual:world', not found -- Checking for module 'libudev' -- Package 'libudev', required by 'virtual:world', not found libudev not found, disabling udev support and -D parameter Gowin GWU2X support enabled libgpiod v1 support enabled hidapi-libusb not found: cmsis_dap support disabled Xilinx Virtual Server support enabled Remote bitbang client support enabled -- Configuring done (0.1s) -- Generating done (0.0s) -- Build files have been written to: /home/wjones/src/FPGA/openFPGALoader/build [1/2] Building CXX object CMakeFiles/openFPGALoader.dir/src/libgpiodJtagBitbang.cpp.o FAILED: CMakeFiles/openFPGALoader.dir/src/libgpiodJtagBitbang.cpp.o sccache /usr/bin/g++ -DATTACH_KERNEL -DBLASTERII_DIR=\"\" -DDATA_DIR=\"/home/wjones/.local/share\" -DENABLE_GOWIN_GWU2X=1 -DENABLE_LIBGPIOD=1 -DENABLE_REMOTEBITBANG=1 -DENABLE_XVC=1 -DFTDI_VERSION=105 -DHAS_ZLIB=1 -DISE_DIR=\"/opt/Xilinx/14.7\" -DUSE_DEVICE_ARG -DVERSION=\"v1.0.0\" -I/usr/include/libusb-1.0 -I/usr/include/libftdi1 -O3 -std=gnu++11 -MD -MT CMakeFiles/openFPGALoader.dir/src/libgpiodJtagBitbang.cpp.o -MF CMakeFiles/openFPGALoader.dir/src/libgpiodJtagBitbang.cpp.o.d -o CMakeFiles/openFPGALoader.dir/src/libgpiodJtagBitbang.cpp.o -c /home/wjones/src/FPGA/openFPGALoader/src/libgpiodJtagBitbang.cpp /home/wjones/src/FPGA/openFPGALoader/src/libgpiodJtagBitbang.cpp: In constructor ‘LibgpiodJtagBitbang::LibgpiodJtagBitbang(const jtag_pins_conf_t*, const std::string&, uint32_t, int8_t)’: /home/wjones/src/FPGA/openFPGALoader/src/libgpiodJtagBitbang.cpp:124:43: error: ‘GPIOD_LINE_REQUEST_DIRECTION_INPUT’ was not declared in this scope; did you mean ‘GPIOD_LINE_DIRECTION_INPUT’? 124 | _tdo_line = get_line(_tdo_pin, 0, GPIOD_LINE_REQUEST_DIRECTION_INPUT); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | GPIOD_LINE_DIRECTION_INPUT /home/wjones/src/FPGA/openFPGALoader/src/libgpiodJtagBitbang.cpp:125:43: error: ‘GPIOD_LINE_REQUEST_DIRECTION_OUTPUT’ was not declared in this scope; did you mean ‘GPIOD_LINE_DIRECTION_OUTPUT’? 125 | _tdi_line = get_line(_tdi_pin, 0, GPIOD_LINE_REQUEST_DIRECTION_OUTPUT); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | GPIOD_LINE_DIRECTION_OUTPUT /home/wjones/src/FPGA/openFPGALoader/src/libgpiodJtagBitbang.cpp: In destructor ‘virtual LibgpiodJtagBitbang::~LibgpiodJtagBitbang()’: /home/wjones/src/FPGA/openFPGALoader/src/libgpiodJtagBitbang.cpp:151:17: error: ‘gpiod_line_release’ was not declared in this scope; did you mean ‘gpiod_line_request’? 151 | gpiod_line_release(_tms_line); | ^~~~~~~~~~~~~~~~~~ | gpiod_line_request /home/wjones/src/FPGA/openFPGALoader/src/libgpiodJtagBitbang.cpp:154:17: error: ‘gpiod_line_release’ was not declared in this scope; did you mean ‘gpiod_line_request’? 154 | gpiod_line_release(_tck_line); | ^~~~~~~~~~~~~~~~~~ | gpiod_line_request /home/wjones/src/FPGA/openFPGALoader/src/libgpiodJtagBitbang.cpp:157:17: error: ‘gpiod_line_release’ was not declared in this scope; did you mean ‘gpiod_line_request’? 157 | gpiod_line_release(_tdi_line); | ^~~~~~~~~~~~~~~~~~ | gpiod_line_request /home/wjones/src/FPGA/openFPGALoader/src/libgpiodJtagBitbang.cpp:160:17: error: ‘gpiod_line_release’ was not declared in this scope; did you mean ‘gpiod_line_request’? 160 | gpiod_line_release(_tdo_line); | ^~~~~~~~~~~~~~~~~~ | gpiod_line_request /home/wjones/src/FPGA/openFPGALoader/src/libgpiodJtagBitbang.cpp: In member function ‘gpiod_line* LibgpiodJtagBitbang::get_line(unsigned int, int, int)’: /home/wjones/src/FPGA/openFPGALoader/src/libgpiodJtagBitbang.cpp:170:28: error: ‘gpiod_chip_get_line’ was not declared in this scope; did you mean ‘gpiod_chip_get_info’? 170 | gpiod_line *line = gpiod_chip_get_line(_chip, offset); | ^~~~~~~~~~~~~~~~~~~ | gpiod_chip_get_info /home/wjones/src/FPGA/openFPGALoader/src/libgpiodJtagBitbang.cpp:176:9: error: ‘gpiod_line_request_config’ was not declared in this scope; did you mean ‘gpiod_request_config’? 176 | gpiod_line_request_config config = { | ^~~~~~~~~~~~~~~~~~~~~~~~~ | gpiod_request_config /home/wjones/src/FPGA/openFPGALoader/src/libgpiodJtagBitbang.cpp:182:45: error: ‘config’ was not declared in this scope 182 | int ret = gpiod_line_request(line, &config, val); | ^~~~~~ /home/wjones/src/FPGA/openFPGALoader/src/libgpiodJtagBitbang.cpp:182:56: error: invalid use of incomplete type ‘struct gpiod_line_request’ 182 | int ret = gpiod_line_request(line, &config, val); | ^ In file included from /home/wjones/src/FPGA/openFPGALoader/src/libgpiodJtagBitbang.hpp:14, from /home/wjones/src/FPGA/openFPGALoader/src/libgpiodJtagBitbang.cpp:9: /usr/include/gpiod.h:90:8: note: forward declaration of ‘struct gpiod_line_request’ 90 | struct gpiod_line_request; | ^~~~~~~~~~~~~~~~~~ /home/wjones/src/FPGA/openFPGALoader/src/libgpiodJtagBitbang.cpp: In member function ‘int LibgpiodJtagBitbang::update_pins(int, int, int)’: /home/wjones/src/FPGA/openFPGALoader/src/libgpiodJtagBitbang.cpp:218:21: error: ‘gpiod_line_set_value’ was not declared in this scope; did you mean ‘gpiod_line_value’? 218 | if (gpiod_line_set_value(_tdi_line, tdi) < 0) | ^~~~~~~~~~~~~~~~~~~~ | gpiod_line_value /home/wjones/src/FPGA/openFPGALoader/src/libgpiodJtagBitbang.cpp:223:21: error: ‘gpiod_line_set_value’ was not declared in this scope; did you mean ‘gpiod_line_value’? 223 | if (gpiod_line_set_value(_tms_line, tms) < 0) | ^~~~~~~~~~~~~~~~~~~~ | gpiod_line_value /home/wjones/src/FPGA/openFPGALoader/src/libgpiodJtagBitbang.cpp:228:21: error: ‘gpiod_line_set_value’ was not declared in this scope; did you mean ‘gpiod_line_value’? 228 | if (gpiod_line_set_value(_tck_line, tck) < 0) | ^~~~~~~~~~~~~~~~~~~~ | gpiod_line_value /home/wjones/src/FPGA/openFPGALoader/src/libgpiodJtagBitbang.cpp: In member function ‘int LibgpiodJtagBitbang::read_tdo()’: /home/wjones/src/FPGA/openFPGALoader/src/libgpiodJtagBitbang.cpp:252:16: error: ‘gpiod_line_get_value’ was not declared in this scope; did you mean ‘gpiod_line_value’? 252 | return gpiod_line_get_value(_tdo_line); | ^~~~~~~~~~~~~~~~~~~~ | gpiod_line_value ninja: build stopped: subcommand failed. error: Recipe `_rebuild-ofl` failed with exit code 1 error: Recipe `rebuild-toolchain` failed with exit code 1