[Ndn-interest] Compiling ndn-cxx program without waf

César A. Bernardini mesarpe at gmail.com
Wed Nov 2 03:18:42 PDT 2016


You have to include the path towards the library in the gcc command.

The error is highlighting that it can not find the face.hpp file. I am not
sure, but I think is -I (capital i) and the path towards the file.

2016-11-02 10:31 GMT+01:00 Matteo Bertolino <Matteo.Bertolino at eurecom.fr>:

> Good morning,
> I would like to compile an ndn-cxx program without use the waf command.
>
> I tried:  g++ -o out matproducer.cpp -std=c++11 $(pkg-config --cflags
> --libs
> libndn-cxx)
>
> and
>
> g++ matproducer.cpp `pkg-config --cflags --libs libndn.cxx`
>
> But I obtain this error:
>
> matproducer.cpp:5:20: fatal error: face.hpp: No such file or directory
>  #include "face.hpp"
>                     ^
> compilation terminated.
>
> Any suggestions?
> Thank you very much,
> Matteo
>
> ------------------------------------------------------------
> -------------------
> This message was sent using EURECOM Webmail: http://webmail.eurecom.fr
>
> _______________________________________________
> Ndn-interest mailing list
> Ndn-interest at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20161102/ac01bf30/attachment.html>


More information about the Ndn-interest mailing list