-
Notifications
You must be signed in to change notification settings - Fork 199
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
Porting to ns 3.36 #63
Comments
I second this. I tried installing NS3-Gym in NS3-3.36.1 (including converting wscript files to CMakeLists.txt), but I am facing to many errors while building it. (Just a note, using NS3-3.35 is OK, however, I am using other tools that are built for NS3-3.36 and it is difficult for me to convert them to work on NS3-3.35) I hope the developers consider this soon |
I worked on it a bit, and currently it is good enough. I attach two files, a CMakeLists.txt that needs to be added in the |
Thank you, prototact, for the files. They were very helpful to me (I am a beginner in the CMake world). However, I still get the same errors: _> In file included from /home/*******/ns-allinone-3.36.1/ns-3.36.1/contrib/opengym/model/opengym_interface.h:26,
This error happened after I also copied the zmq.hpp file from the ZeroMQ repository. Anyone is facing these errors? it only occurs with NS3-3.36.x version, not with previous versions (e.g., 3.35) |
I'm also not succeeding to patch the porting with the examples you provided @prototact |
Here is the corrected CMakeLists.txt file. @prototact had a couple of missed brackets :) However, NS3-Gym still won't work. Another point: NS3-Gym requires SQLite to be installed. |
Thank you for the quick reply @ahmadmr81 ... I decided to run an older version of ns-3.35 as i have no experience in porting software. I'd be glad to help contributing if someone could provide me some guidelines on how to do it. |
Hi Orfeas (@prototact), |
I have a problem porting the module to ns3.36 even with the two files provided. I get the following error when I run "./ns3"
The complete output of "./ns3 build" can be found here. And in the output of "./ns3 configure" :
More in detail, I have successfully compiled opengym in previous versions of ns3 using waf on the same machine, so I guess there should be sth wrong with new CMake stuff. |
I opened a new issue but actually im having exactly the same errors... |
Hi!
Are there some general directions on how to port the module to ns 3.36 ?
The text was updated successfully, but these errors were encountered: