<div dir="ltr">So I just can't seem to work it out. For every potential fix, it always fails. I wonder if someone just has a working VM image where ndnSIM 2.7 (or even older as long as CsTrace works..) so I could just run my tests without losing sleep over this :). <br><br>Regards!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 26 Mar 2024 at 21:17, Patrick Zidek <<a href="mailto:Patrick.Zidek@myport.ac.uk">Patrick.Zidek@myport.ac.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks, Davide! ..Exactly what I tried. <br><br>Ubuntu 18.04 in a VM, tried building without pybindgen too.<div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">test@ubuntu:~$ lsb_release -a|grep Description<ul><li>Description: Ubuntu 18.04.6 LTS</li></ul></blockquote><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">sudo apt-get update<br>sudo apt install build-essential libsqlite3-dev libboost-all-dev libssl-dev git python-setuptools castxml<br>sudo apt install python-dev python-pygraphviz python-kiwi python-gnome2 ipython libcairo2-dev python3-gi libgirepository1.0-dev python-gi python-gi-cairo gir1.2-gtk-3.0 gir1.2-goocanvas-2.0 python-pip<br>sudo pip install --upgrade pip<br>sudo pip install pygraphviz pycairo PyGObject pygccxml</blockquote><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">mkdir ndnSIM<br>cd ndnSIM<br>git clone --branch ns-3.29 <a href="https://github.com/named-data-ndnSIM/ns-3-dev.git" target="_blank">https://github.com/named-data-ndnSIM/ns-3-dev.git</a> ns-3<br>git clone --branch ndnSIM-2.7 --recursive <a href="https://github.com/named-data-ndnSIM/ndnSIM.git" target="_blank">https://github.com/named-data-ndnSIM/ndnSIM.git</a> ns-3/src/ndnSIM<br>cd ns-3<br>./waf configure --disable-python --enable-examples<br> ./waf</blockquote><div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><br></div><div>And I'm getting the following errors:<br>1. In ndn-cxx/encoding/tlv.hpp:<br> error: ‘ValueType’ was not declared in this scope<br><br>2. In ndn-cxx/encoding/block-helpers.hpp:<br> error: ‘std::make_unique’ has not been declared<br><br>3. In ndn-cxx/encoding/block-helpers.hpp:<br> error: ‘enable_if_t’ in namespace ‘std’ does not name a template type<br><br>4. In ndn-cxx/util/time.hpp:<br> error: ‘enable_if_t’ in namespace ‘std’ does not name a template type<br><br>5. In ndn-cxx/util/time.hpp:<br> error: expected ‘>’ before ‘<’ token<br><br>6. In ndn-cxx/util/signal/signal.hpp:<br> error: lambda capture initializers only available with -std=c++14 or -std=gnu++14 [-Werror]<br><br>7. In NFD/core/common.hpp:<br> error: ‘string_literals’ is not a namespace-name<br><br>8. In NFD/core/common.hpp:<br> error: expected namespace-name before ‘;’ token<br><br>I've tried many times and sadly issues keep occurring.<br><br></div><div><font color="#000000">Kind regards</font><br></div><div><br></div><font color="#000000">Patrick</font></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 26 Mar 2024 at 19:53, Davide Pesavento <<a href="mailto:davidepesa@gmail.com" target="_blank">davidepesa@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Patrick,<br>
<br>
On Tue, Mar 26, 2024 at 3:27 PM Patrick Zidek via Ndn-interest<br>
<<a href="mailto:ndn-interest@lists.cs.ucla.edu" target="_blank">ndn-interest@lists.cs.ucla.edu</a>> wrote:<br>
><br>
> Hello.<br>
><br>
> Was anyone able to install ndnSIM 2.7 (not the current version) as that is the last version that supported the CsTracer (<a href="https://www.lists.cs.ucla.edu/pipermail/ndnsim/2023-May/006526.html" rel="noreferrer" target="_blank">https://www.lists.cs.ucla.edu/pipermail/ndnsim/2023-May/006526.html</a>).<br>
><br>
> I would very much like to get it to work but my ./waf build keeps failing. I am convinced this is because the packages are too new and I cannot seem to be able to downgrade everything to how the old version would want it.<br>
<br>
What is the error message? I'd try to build/run this old version of<br>
ndnSIM on a comparably old version of Ubuntu, such as 18.04, perhaps<br>
in a VM. Might have better luck.<br>
<br>
><br>
> I was also not sure what branches exactly I'd need for ndnSIM 2.7, I tried the following:<br>
> git clone --branch ns-3.29 <a href="https://github.com/named-data-ndnSIM/ns-3-dev.git" rel="noreferrer" target="_blank">https://github.com/named-data-ndnSIM/ns-3-dev.git</a> ns-3<br>
<br>
ns-3.29 should be correct based on the release notes:<br>
<a href="https://ndnsim.net/2.7/RELEASE_NOTES.html" rel="noreferrer" target="_blank">https://ndnsim.net/2.7/RELEASE_NOTES.html</a><br>
<br>
> git clone --branch 0.20.1 <a href="https://github.com/named-data-ndnSIM/pybindgen.git" rel="noreferrer" target="_blank">https://github.com/named-data-ndnSIM/pybindgen.git</a> pybindgen<br>
<br>
Not sure about this (I didn't check), but pybindgen should not be<br>
required if you don't need the python bindings.<br>
<br>
> git clone --branch ndnSIM-2.7 --recursive <a href="https://github.com/named-data-ndnSIM/ndnSIM.git" rel="noreferrer" target="_blank">https://github.com/named-data-ndnSIM/ndnSIM.git</a> ns-3/src/ndnSIM<br>
><br>
> If anyone could assist, I'd be very grateful.<br>
><br>
> Thank you.<br>
><br>
> Patrick<br>
> _______________________________________________<br>
> Ndn-interest mailing list<br>
> <a href="mailto:Ndn-interest@lists.cs.ucla.edu" target="_blank">Ndn-interest@lists.cs.ucla.edu</a><br>
> <a href="https://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest" rel="noreferrer" target="_blank">https://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a><br>
</blockquote></div>
</blockquote></div>