Giter VIP home page Giter VIP logo

Comments (5)

SzymonSzott avatar SzymonSzott commented on August 26, 2024

The error doesn't occur in a stand-alone ns-3-dev repo. After:

./waf -d optimized configure; ./waf
cp examples/wireless/wifi-multi-tos.cc scratch/my-multi-tos.cc
./waf --run my-multi-tos

the my-multi-tos script is executed correctly even though build/build-status.py contains:

# Programs that are runnable.
ns3_runnable_programs = ['build/scratch/ns3-dev-my-multi-tos-optimized', 'build/scratch/ns3-dev-scratch-simulator-optimized', 'build/scratch/subdir/ns3-dev-subdir-optimized']

from sem.

DvdMgr avatar DvdMgr commented on August 26, 2024

The most straightforward solution to this would be to detect whether the path proposed by build-status contains the scratch folder, and in that case default the script_executable to build/scratch/script-name, since this seems to always be the case for files built from the scratch folder.

I've looked into fixing this at the root by modifying the wscript, but I am not confident with the build system yet to modify that file. I think the solution described above should be good enough!

from sem.

DvdMgr avatar DvdMgr commented on August 26, 2024

@SzymonSzott, are you working on this currently?

If not, I can try and tackle this!

from sem.

iirzyk avatar iirzyk commented on August 26, 2024

I think i did it already, just going to commit changes and u can check whether it suits you!

from sem.

DvdMgr avatar DvdMgr commented on August 26, 2024

Fixed in #15

from sem.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.