[Ndn-interest] Custom class error: No such file or directory

Adhy Satya adhysatya820 at gmail.com
Tue Jun 27 12:58:40 PDT 2017


I wrote a class to read my nodes' location and put it in ~/ndn-cxx/src
folder and compiled with ./waf successfully.

Waf: Entering directory `/home/adhy/ndn-cxx/build'
[104/177] Compiling src/Node.cpp
[168/177] Linking build/libndn-cxx.so
[170/177] Linking build/bin/ndnsec
[171/177] Linking build/examples/client
[172/177] Linking build/examples/consumer-with-timer
[173/177] Linking build/examples/producer
[174/177] Linking build/examples/server
[175/177] Linking build/examples/consumer
[176/177] Symlinking build/libndn-cxx.so
Waf: Leaving directory `/home/adhy/ndn-cxx/build'
'build' finished successfully (16.091s)

The problem is when I try to use the custom class in an example by
declaring the library #include <ndn-cxx/Node.hpp> I get this error:

Waf: Entering directory `/home/adhy/ndn-cxx/build'
[ 34/179] Compiling examples/custom-producer/custom-producer.cpp
../examples/custom-producer/custom-producer.cpp:28:28: fatal error:
ndn-cxx/Node.hpp: No such file or directory
compilation terminated.

Waf: Leaving directory `/home/adhy/ndn-cxx/build'

How do I solve this issue?

Thank you,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20170627/b68742be/attachment.html>

More information about the Ndn-interest mailing list