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

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


Mateo, could you share the compilation error or the G++ output.

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

> I followed your suggestion including all path until the end of compilation
> error. Unfortunately, , when I try to execute the file, I obtain "
> executable format error".
>
> I absolutely need a way to compile ndn-cxx file without waf. Does nobody
> already tried to do it?
>
> Matteo
>
>
> Quoting "César A. Bernardini" <mesarpe at gmail.com>:
>
> 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
>>>
>>>
>>
>
>
> ------------------------------------------------------------
> -------------------
> This message was sent using EURECOM Webmail: http://webmail.eurecom.fr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20161102/975a7211/attachment.html>


More information about the Ndn-interest mailing list