rmartin5 / aqua-sim-ng

Aqua-Sim on NS3
85 stars 42 forks source link

Compiling problem #17

Closed Harry9494 closed 5 years ago

Harry9494 commented 5 years ago

aqua-sim-signal-cache.cc file does not complile. error: 'creal' was not declared in this scope (line 423) error: 'cexp' was not declared in this scope (line 429)

Would you know why I get this error? I try to run it on Virtualbox (Fedora 30).

lizhuoran1019 commented 3 years ago

Hi, I have been troubled by this problem for a long time. Could you tell me how you solved it?

shihchun commented 3 years ago

Follow the install guide to install the ns3

ns3 official guide

my blog

asciicast

You should install NS3, build and make sure it module works on your machine first.

Then debug with newest version with ns3 3.29, I download from Zheng Peng's Wiki, but it might not available now.

but files still here.

wget http://hudson.ccny.cuny.edu/download/aquasim-ng.tgz

Cuz the GCC version and some dependency, u might need to modify something to make it works. That’s what I did.

for example real -> std::real, cexp -> exp, ... etc...