Build Issue: QCBOR_1_1 macro is missing
mohamed-arm opened this issue · 1 comments
mohamed-arm commented
~/t_cose# env CRYPTO_LIB=/usr/local/lib/libmbedcrypto.a CRYPTO_INC="-I $MBEDTLS_INCLUDE_DIR" QCBOR_LIB="-lqcbor -lm" make -f Makefile.psa -e
cc -I inc -I test -I src -I /tmp/mbedtls/include -I /usr/local/include -Os -fPIC -DT_COSE_USE_PSA_CRYPTO -c -o src/t_cose_sign1_sign.o src/t_cose_sign1_sign.c
src/t_cose_sign1_sign.c:20:2: error: #error t_cose requires QCBOR 1.1 or greater
20 | #error t_cose requires QCBOR 1.1 or greater
The version macros were updated in QCBOR(Commit).
-#define QCBOR_1_1
+#define QCBOR_VERSION_MAJOR 1
+#define QCBOR_VERSION_MINOR 3
+#define QCBOR_VERSION_PATCH 0
laurencelundblade commented
Fixed by #279 and 1.1.2 release