You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm now integrating libcbor library into my iOS project and I had all the source files included in the project. When I try to compile the library I got many errors:
Use of undeclared identifier 'CBOR_BUFFER_GROWTH' in strings.c, maps.c etc.
Too many arguments to function call: cbor_string_set_handle(item, handle, len)
...
many thanks for any suggestion.
The text was updated successfully, but these errors were encountered:
Hi @devinDevin, I cannot really tell without having the exact errors at hand, but it seems like you are trying to integrate the library by including the source code in your project.
That would definitely explain your first issue, since until v0.4, CBOR_BUFFER_GROWTH was only used for object compilation and was provided via compiler defines (-DCBOR_BUFFER_GROWTH). This is now fixed.
For the second issue, I don't see a good reason why that should happen. Could you please provide more info?
Thank you for reporting this, and sorry about the late response. 🎅
I'm now integrating libcbor library into my iOS project and I had all the source files included in the project. When I try to compile the library I got many errors:
...
many thanks for any suggestion.
The text was updated successfully, but these errors were encountered: