[Ndn-interest] something about configuring

Alex Afanasyev aa at cs.fiu.edu
Tue Mar 20 08:32:43 PDT 2018


If you want to add custom compiler flags, you need to use CXXFLAGS and LDFLAGS environment variables, for example

CXXFLAGS=-I/usr/include/python2.7 LDFLAGS="-L/usr/lib/python2.7 -lpython2.7" ./waf configure

--
Alex

> On Mar 20, 2018, at 8:19 AM, jinyangl at mail.ustc.edu.cn wrote:
> 
> Hi,
> 
> I use "#include "Python.h" in some NFD files, but some errors have occurred("Python.h No such file or directory").
> However, I can find "Python.h" in my Ubuntu in directory /usr/include/python2.7. I also used "./waf configure -I/usr/include/python2.7 -L/usr/lib/python2.7 -lpython2.7" to configure in NFD, but failed(when i used the command to configure other C++ file not in NFD , it succeeded).
> 
> Can you solve my problem ?
> 
> jinyangl at mail.ustc.edu.cn

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 873 bytes
Desc: Message signed with OpenPGP
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20180320/2f0f624c/attachment.sig>


More information about the Ndn-interest mailing list