Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install ofswitch13-5.2.0 into NS3.36.1 error #50

Open
cnetboy opened this issue Nov 8, 2023 · 3 comments
Open

install ofswitch13-5.2.0 into NS3.36.1 error #50

cnetboy opened this issue Nov 8, 2023 · 3 comments

Comments

@cnetboy
Copy link

cnetboy commented Nov 8, 2023

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
Copy link
Owner

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
Copy link
Author

cnetboy commented Nov 15, 2023

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants