Reputation: 127
When I am running the command
./waf --run hello-simulator
Waf: Entering directory `/home/n/build'
Waf: Leaving directory `/home/n/build'
Build commands will be stored in build/compile_commands.json
'build' finished successfully (6.072s)
Build is finishing successfully but no output of the program showing.
Upvotes: 1
Views: 1669
Reputation: 21
I faced the same problem, turns out my waf
was not properly configured. so try the below commands to configure it again. (reason for this maybe sudden interruption or just wrong sequence of configuration)
configuring waf
cd ns-3.32 (your version might be different)
CXXFLAGS="-O3" ./waf configure
./waf -d optimised configure; ./waf
./waf --disable-python configure
./waf --enable-sudo configure
./waf distclean
rm -rf build
./build.py
Upvotes: 2