ljerezchaves / ofswitch13

OFSwitch13: OpenFlow 1.3 module for ns-3.
http://www.lrc.ic.unicamp.br/ofswitch13/
GNU General Public License v2.0
24 stars 16 forks source link

install ofswitch13-5.2.0 into NS3.36.1 error #50

Open cnetboy opened 8 months ago

cnetboy commented 8 months ago

I have install ofswitch13, the version 5.2.0 into ubuntu18.04TLS and NS3.36.1 following the step in the manul, but it is off(missing dependency). error

error2

how can solve this problem?

ljerezchaves commented 8 months ago

It seems that you don't have boost library installed in you system. Try installing libboost-all-dev with apt-get first and then reconfigure & recompile the simulator.

cnetboy commented 8 months ago

Thanks very much, I have solved the problem about Boost by udpate the cmakelist.txt in ofswitch13. I add the path about boost into cmakelist. Here,I have another error here when i build the ofswtich13 in ns3.36.1 . error6 how to solve it?

ljerezchaves commented 8 months ago

Hi, it seems that there's something wrong with compatible versions of BOFUSS and OFSwitch13 in this compilation. This "problem" was fixed in commit #8280159652ffc4051f84145e81e16a09a1a48189.

Anyway, ns-3.36 was the first release with cmake support, and many compilation bugs were fixed since then (both in ns-3 an in OFSwitch13). My suggestion is to bump to ns-3.39 with OFSwitch13 in version 5.2.2 (or ns-3.40 with OFSwitch13 in development branch) If for any reason this is not possible, you can look at the most updated version of OFSwitch13 code and apply the changes that may fix these compilation issues.