Giter VIP home page Giter VIP logo

Comments (3)

eschkufz avatar eschkufz commented on September 27, 2024

This is probably related to your other ticket about the regression tests failing.

By default, cascade will try to resolve includes against your installation directory (/usr/local/ for example) and the current working directory. The way it gets this path at runtime is kind of convoluted: it looks up cascade's location in your file system and then goes up a level. So if it finds cascade in /usr/local/bin/, it will assume that cascade is installed in /usr/local.

This all happens in System::src_root(), which is found in src/cascade/common/system.h. If I had to guess, I would bet that this method isn't working correctly on your machine and it's returning an empty string.

Here's an easy way to check. Try checking out my most recent commit to issue-214, rebuilding your code, and running cascade --enable_info. Right after it says "Started logical simulation" you'll now see a line that prints out what cascade thinks the installation directory is. If there's nothing there, or the path looks wrong, we'll know that's our problem, and that System::src_root() is where to look.

from cascade.

yurivict avatar yurivict commented on September 27, 2024

This PR fixes the problem of global path on BSDs: #220

But regression tests still fail.

from cascade.

eschkufz avatar eschkufz commented on September 27, 2024

Closing this ticket. We'll pick back up in the regression test failing ticket.

from cascade.

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.