I was trying to build the C files in ffi/bindings/c by doing "cmake ." and I got this error
No local rodbus, fetching remote library version 1.0.0
[ 11%] Performing download step (download, verify and extract) for 'rodbus-populate'
-- File already exists but no hash specified (use URL_HASH):
file='/home/yacoub/Desktop/Modbus/rodbus/ffi/bindings/c/_deps/rodbus-subbuild/rodbus-populate-prefix/src/rodbus-1.0.0.zip'
Old file will be removed and new file downloaded from URL.
-- Downloading...
dst='/home/yacoub/Desktop/Modbus/rodbus/ffi/bindings/c/_deps/rodbus-subbuild/rodbus-populate-prefix/src/rodbus-1.0.0.zip'
timeout='none'
-- Using src='https://github.com/stepfunc/rodbus/releases/download/1.0.0/rodbus-1.0.0.zip'
-- Retrying...
-- Using src='https://github.com/stepfunc/rodbus/releases/download/1.0.0/rodbus-1.0.0.zip'
-- Retry after 5 seconds (attempt #2) ...
-- Using src='https://github.com/stepfunc/rodbus/releases/download/1.0.0/rodbus-1.0.0.zip'
-- Retry after 5 seconds (attempt #3) ...
-- Using src='https://github.com/stepfunc/rodbus/releases/download/1.0.0/rodbus-1.0.0.zip'
-- Retry after 15 seconds (attempt #4) ...
-- Using src='https://github.com/stepfunc/rodbus/releases/download/1.0.0/rodbus-1.0.0.zip'
-- Retry after 60 seconds (attempt #5) ...
-- Using src='https://github.com/stepfunc/rodbus/releases/download/1.0.0/rodbus-1.0.0.zip'
CMake Error at rodbus-subbuild/rodbus-populate-prefix/src/rodbus-populate-stamp/download-rodbus-populate.cmake:159 (message):
Each download failed!
error: downloading 'https://github.com/stepfunc/rodbus/releases/download/1.0.0/rodbus-1.0.0.zip' failed
status_code: 22
status_string: "HTTP response code said error"
log:
--- LOG BEGIN ---
Trying 140.82.114.3:443...
Please update the CMakeLists.txt file
From set(RODBUS_BACKUP_VERSION "1.0.0") -------> set(RODBUS_BACKUP_VERSION "1.3.1")
Hello @jadamcrain,
I was trying to build the C files in ffi/bindings/c by doing "cmake ." and I got this error
Please update the CMakeLists.txt file From set(RODBUS_BACKUP_VERSION "1.0.0") -------> set(RODBUS_BACKUP_VERSION "1.3.1")
Thank you :)