[ndnSIM] boost includes
alexander.afanasyev at ucla.edu
Sat Jul 13 16:46:16 PDT 2013
Btw. I'm not sure that adding ndn-name.h to queue.h is the right way to go. It basically introduces some circular module dependencies (ndnSIM depends on network and now network module depends on ndnSIM...). Just wonder why adding this include to a derivative queue (type that you're working on) is not enough?
The reason you're getting the error is that network module is not configured with boost libraries support. Even though you got rid of the error right now, you may have bigger problems later (at the linking stage). If you really want to keep the include, I would add boost dependencies into network module as well (similar how it is done in src/ndnSIM/wscript).
On Jul 13, 2013, at 3:36 PM, Natalya Rozhnova <natalya.rozhnova at lip6.fr> wrote:
> Hi Alex,
> My boost library has been installed to "/opt/local/include/boost" by default. I just created a symbolic link between /usr/include and /opt/local/include/boost. May be this is not a very good solution but it avoids to reinstall boost...
> 14.07.2013, 05:27, "Alex Afanasyev" <alexander.afanasyev at ucla.edu>:
>> Hi Natalya,
>> Just curious, what did you do to solve the problem?
>> On Jul 13, 2013, at 6:00 AM, Natalya Rozhnova <natalya.rozhnova at lip6.fr> wrote:
>>> Hi again,
>>> Problem is resolved. :)
>>> 13.07.2013, 19:46, "Natalya Rozhnova" <natalya.rozhnova at lip6.fr>:
>>>> Hi Alex,
>>>> I have a question about boost library. I'm using boost version 1.53 on mac os. Everything works fine until I include the file ndn-name.h to basic class queue.h of network module. I added ndnSIM module as a dependency in wscript of network module. But I get a following error:
>>>> ./ns3/ndn-name.h:35:25: error: boost/ref.hpp: No such file or directory
>>>> I don't understand why it doesn't compile when I include ndn-name.h in Network module and compile otherwise...
>>> -------- End of forwarded message --------
>>> Natalya Rozhnova
>>> PhD Student
>>> Université Pierre et Marie Curie - Sorbonne Universités - www.upmc.fr
>>> Laboratoire d'informatique de Paris 6 (LIP6) - Network and Performance Analysis Group (NPA) - www.lip6.fr
>>> Le Centre National de la Recherche Scientifique (CNRS) - www.cnrs.fr
>>> Content-Centric Networking - ccnx.org
>>> ANR CONNECT project - anr-connect.org
>>> ndnSIM mailing list
>>> ndnSIM at lists.cs.ucla.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM