tkn-tub / ns3-gym

ns3-gym - The Playground for Reinforcement Learning in Networking Research
GNU General Public License v2.0
521 stars 197 forks source link

ns3-gym installation issues about I can't find the 'opengym.h' #23

Closed Cheryl0605 closed 4 years ago

Cheryl0605 commented 4 years ago

Dear author,When I was learning ns3gym, I encountered some problems.

First, I ran sudo. /waf clean

and then I ran sudo. / waf-d debug --enable-example --enable-tests configure

and then ran sudo. /waf and the following errors occurred:

**../src/opengym/test/opengym-test-suite.cc:4:25: fatal error: ns3/opengym.h: No such file or directory compilation terminated.

Waf: Leaving directory `/home/zst/cheryl/ns3-gym/ns-allinone-3.26/ns3-gym-master/build' Build failed -> task in 'ns3-opengym-test' failed with exit status 1 (run with -v to display more information)**

I want to find the 'opengym.h',but I failed,can you tell me how to deal with this problem?

afellan commented 4 years ago

there's no opengym.h, you can fix it by using a different header file from the module, like opengym_interface.h Running the configuration with --enable-test option on, triggers this error.