named-data-iot / ndn-lite

A lightweight NDN protocol stack with high-level application support including security bootstrapping, access control, trust management, etc.
https://ndn-lite.named-data.net
GNU Lesser General Public License v3.0
44 stars 16 forks source link

There is no decoder.c & encoder.c in encode folder #42

Closed Heath68 closed 5 years ago

Heath68 commented 5 years ago

When I build the example in IDE,it remind me that there is no encoder.c&decoder.c,I checked the folder and I didn`t find them,either.

zjkmxy commented 5 years ago

Yes, because all functions are static inline. Those .c files don't exist from beginning. Maybe your project configuration has some problem? What's your platform? NRF?

Heath68 commented 5 years ago

SES,I ran the ndn-iot-package-over-nordic-sdk BLE example,but SES reminded me those errors.

Zhiyi-Zhang commented 5 years ago

@peurpdapeurp @RoySCU Any ideas on this issue?

peurpdapeurp commented 5 years ago

Yes; this is an issue that was brought up in the ndn-lite-over-nordic-sdk repository as well, and is currently being addressed; it is likely that this is because the ndn-lite-over-nordic-sdk repository was not updated for some time and was no longer compatible with the newest version of ndn-lite. I am in the process of updating it now. The duplicate of this issue in the other repository is here: https://github.com/named-data-iot/ndn-iot-package-over-nordic-sdk/issues/3