cJSON build fails on Infineon proto board
mveljko78 opened this issue · 1 comments
I am trying to add cJSON to a project based on CY8CPROTO-064B0S3
I have used make bsp-assistant ,then make getlibs and added cJSON
But build fails with following error:
Compiling app file ProductionCode2.c
Compiling app file TestProductionCode.c
Compiling app file TestProductionCode2.c
Compiling app file TestProductionCode2_Runner.c
Compiling app file TestProductionCode_Runner.c
Compiling app file all_tests.c
Compiling app file UnityHelper.c
In file included from libs/cJSON/tests/unity/examples/example_3/helper/UnityHelper.c:2:
libs/cJSON/tests/unity/examples/example_3/helper/UnityHelper.h:4:10: fatal error: Types.h: No such file or directory
4 | #include "Types.h"
compilation terminated.
make[1]: *** [../mtb_shared/core-make/release-v3.3.1/make/core/build.mk:273: C:/Users/Veljko/Documents/Pulsli/pulsli-fw/project/build/APP_CY8CPROTO-064B0S3/Debug/libs/cJSON/tests/unity/examples/example_3/helper/UnityHelper.o] Error 1
make: *** [../mtb_shared/core-make/release-v3.3.1/make/core/main.mk:385: secondstage_build] Error 2
add to .cyignore
$(SEARCH_cJSON)/tests
$(SEARCH_cJSON)/fuzzing
$(SEARCH_cJSON)/test.c