No model_json.h in /qorc-sdk/qf_apps/qf_ssi_ai_app/src/datasave.c

Post Reply
juanyi
Posts: 19
Joined: Thu Jan 28, 2021 7:38 am

I was trying to use the Sensiml knowledgepack to SSI_AI app, following the steps published by @Chris Knorowski https://www.youtube.com/watch?v=AjR3vV7Q9fQ
. Compilation error pop up as below:

Code: Select all

In file included from /mnt/c/QF/qorc-sdk/qf_apps/qf_ssi_ai_app/src/datasave.c:22:
/mnt/c/QF/qorc-sdk/qf_apps/qf_ssi_ai_app/IOP_MQTTSN/inc/iop_messages.h:28: warning: "__packed" redefined
   28 | #define __packed
      |
In file included from /usr/share/gcc-arm-none-eabi-9-2020-q2-update/arm-none-eabi/include/stdio.h:35,
                 from /mnt/c/QF/qorc-sdk/qf_apps/qf_ssi_ai_app/src/datasave.c:18:
/usr/share/gcc-arm-none-eabi-9-2020-q2-update/arm-none-eabi/include/sys/cdefs.h:247: note: this is the location of the previous definition
  247 | #define __packed __attribute__((__packed__))
      |
/mnt/c/QF/qorc-sdk/qf_apps/qf_ssi_ai_app/src/datasave.c:564:10: fatal error: model_json.h: No such file or directory
  564 | #include "model_json.h"
      |          ^~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [/mnt/c/QF/qorc-sdk/qf_apps/qf_ssi_ai_app/GCC_Project/output/datasave.o] Error 1
I searched through the entire library folder but can't find this file, any clue?
phil_quik
Posts: 36
Joined: Mon May 18, 2020 12:33 am

the file is under \qorc-sdk\qf_apps\qf_ssi_ai_app\knowledgepack\sensiml\model_json.h
juanyi
Posts: 19
Joined: Thu Jan 28, 2021 7:38 am

Thanks, found it. It wasn't there before
Post Reply