You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I failed to cross compile the windows 64 bit binaries using x86_64-w64-mingw32.
mkdir host/build
cd host/build
cmake -DCMAKE_INSTALL_PREFIX=$prefix\
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TARGET_TOOLCHAIN}\
-DCMAKE_BUILD_TYPE=Release\
-DENABLE_BACKEND_LIBUSB=TRUE ..
make
It fails with:
[08:49:59] /workspace/srcdir/bladeRF/host/libraries/libbladeRF_test/test_ctrl/src/main.c: In function ‘main’:
[08:49:59] /workspace/srcdir/bladeRF/host/libraries/libbladeRF_test/test_ctrl/src/main.c:286:13: error: unknown conversion type character ‘z’ in format [-Werror=format=]
[08:49:59] printf("%16s %zu\n", tests[i]->name, stats[i].failures);
[08:49:59] ^
[08:49:59] /workspace/srcdir/bladeRF/host/libraries/libbladeRF_test/test_ctrl/src/main.c:286:13: error: too many arguments for format [-Werror=format-extra-args]
[08:49:59] /workspace/srcdir/bladeRF/host/libraries/libbladeRF_test/test_ctrl/src/main.c:286:13: error: unknown conversion type character ‘z’ in format [-Werror=format=]
[08:49:59] /workspace/srcdir/bladeRF/host/libraries/libbladeRF_test/test_ctrl/src/main.c:286:13: error: too many arguments for format [-Werror=format-extra-args]
[08:49:59] cc1: all warnings being treated as errors
[08:49:59] make[2]: *** [libraries/libbladeRF_test/test_ctrl/CMakeFiles/libbladeRF_test_ctrl.dir/build.make:77: libraries/libbladeRF_test/test_ctrl/CMakeFiles/libbladeRF_test_ctrl.dir/src/main.c.obj] Error 1
[08:49:59] make[2]: Leaving directory '/workspace/srcdir/bladeRF/host/build'
[08:49:59] make[1]: *** [CMakeFiles/Makefile2:893: libraries/libbladeRF_test/test_ctrl/CMakeFiles/libbladeRF_test_ctrl.dir/all] Error 2
The text was updated successfully, but these errors were encountered:
I failed to cross compile the windows 64 bit binaries using
x86_64-w64-mingw32
.It fails with:
The text was updated successfully, but these errors were encountered: