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

Pedro Batista pedosb at gmail.com
Wed Nov 2 03:32:11 PDT 2016


I think you should include "ndn-cxx/face.hpp" instead of "face.hpp".


--
Pedro Batista
PhD Student, Federal University of Pará - http://www.ufpa.br

On Wed, Nov 2, 2016 at 11:18 AM, César A. Bernardini <mesarpe at gmail.com>
wrote:

> 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
>>
>
>
> _______________________________________________
> 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/304c658b/attachment.html>


More information about the Ndn-interest mailing list