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

How to reference a static library #129

Open
cheng5230 opened this issue Jul 27, 2024 · 3 comments
Open

How to reference a static library #129

cheng5230 opened this issue Jul 27, 2024 · 3 comments
Assignees

Comments

@cheng5230
Copy link

How to reference a static library (lib_cttpc. a) in Matter's project (light)

Added lib_httpc. a library in the makefile of project_ hp
image
Compiling matter light project error: httpc_cn_connect not found
image

@xshuqun
Copy link
Collaborator

xshuqun commented Jul 30, 2024

Did you try adding the header into the source file you had utilize httpc API?
#include <httpc/httpc.h>

@xshuqun xshuqun self-assigned this Jul 30, 2024
@cheng5230
Copy link
Author

Did you try adding the header into the source file you had utilize httpc API? #include <httpc/httpc.h>
I have added the httpc API, but still receive an error message stating that I cannot find the httpc related API interface
image

@xshuqun
Copy link
Collaborator

xshuqun commented Jul 30, 2024

I don't see any issue when using httpc api on v1.3-release tag. You can check my changes below:
example_matter_light.txt

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

2 participants