Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cJSON build fails on Infineon proto board #884

Closed
mveljko78 opened this issue Aug 20, 2024 · 1 comment
Closed

cJSON build fails on Infineon proto board #884

mveljko78 opened this issue Aug 20, 2024 · 1 comment

Comments

@mveljko78
Copy link

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

@mveljko78
Copy link
Author

add to .cyignore

$(SEARCH_cJSON)/tests
$(SEARCH_cJSON)/fuzzing
$(SEARCH_cJSON)/test.c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant