tkn-tub / ns3-gym

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

some problem in ./waf build #30

Closed zlh004 closed 4 years ago

zlh004 commented 4 years ago

I meet some problem in ./waf build, like following, does anyone help me? Thanks a lot. TIM截图20200609161505 Build failed -> task in 'ns3-opengym' failed with exit status 1 (run with -v to display more information)

pgawlowicz commented 4 years ago

please try to clone and build the project again.

zlh004 commented 4 years ago

can i beg the details? does it means clone 'ns3-gym-master' to another folder, then build it again? (p.s, i build it in virtualbox ubuntu 20.04, what's the impact of this?) thanks a lot

pgawlowicz commented 4 years ago

yep, just pull new code and build it again

zlh004 commented 4 years ago

i tried it, but it didn't seem to work. is there any other way to solve this problem please? thank u all the same

pgawlowicz commented 4 years ago

did you clean the project using: ./waf clean

are you sure that you have checked out the last commit?

zlh004 commented 4 years ago

it means using './waf clean' after clone, then build it again? let me have a try, thank u

zlh004 commented 4 years ago

i didn't notice the last commit either

zlh004 commented 4 years ago

yesterday's network is not very good, after downloading the file today, the problem has been solved thank u

ChloeInSpring commented 1 year ago

I have the same problem today. Could you explain in detail how to solve it? Looking forward to your reply. Thank u

yesterday's network is not very good, after downloading the file today, the problem has been solved thank u

yntao-hust commented 1 year ago

@zlh004 @pgawlowicz Hello, I also meet the same problem as above, and try to solve it by following the guide in the dialogue above, but it doesn't work. I restate the detail:

  1. clone the folder 'ns3-gym-master', maybe we name it 'ns3-gym-master-plus'.
  2. enter the directory 'ns3-gym-master-plus'.
  3. execute the command './waf configure'.
  4. execute the command './waf clean' and './waf build' respectively.

Is it correct? I follow the steps but it still doesn't work. Any other method, or is there something wrong with my steps? Tks a lot. Regards

pgawlowicz commented 1 year ago

Hi @yntao-hust I believe that the repo has to be cloned into opengym directory:

git clone https://github.com/tkn-tub/ns3-gym.git ./opengym

BR, Piotr