Git Product home page Git Product logo

Comments (11)

ra3xdh avatar ra3xdh commented on May 23, 2024

Thank you for sharing this important information. Yes, I will update defaults as soon as Xyce-6.8 will be released. Ideal solution will be to recognize Xyce version and suggest proper defaults. I will probably try to add an option "Find available simulators" in the "Simulator settings" dialog. Also Qucs-S could request to automatically scan system for available simulators at the first start.

from qucs_s.

ra3xdh avatar ra3xdh commented on May 23, 2024

I have just updated default paths for Xyce. The runxyce script was removed from paths. Look at c45bc09

from qucs_s.

tvrusso avatar tvrusso commented on May 23, 2024

Great. Thank you. I would like to try out the new qucs_s stuff on the current branch, but have not built qucs_s since you created this new repo.

I just tried building qucs_s by following the instructions in README.md (and since I'm building current, I'm leaving off "-DWITH_SPICE=ON"), and am getting a compile error. Here's what I tried:

git clone <qucs_s repo>
cd qucs_s
git checkout current
mkdir builddir
cd builddir
cmake .. -DCMAKE_INSTALL_PREFIX=<my install path>
make

This gets me:

[  0%] Generating moc_componentdialog.cxx
[  0%] Generating moc_spicedialog.cxx
[  0%] Generating moc_optimizedialog.cxx
[  0%] Generating moc_spicefile.cxx
Scanning dependencies of target components
[  1%] Building CXX object qucs/components/CMakeFiles/components.dir/DLS_1ton.cpp.o
In file included from /users/tvrusso/src/qucs_s/qucs/components/DLS_1ton.cpp:11:
In file included from /users/tvrusso/src/qucs_s/qucs/components/DLS_1ton.h:14:
/users/tvrusso/src/qucs_s/qucs/components/component.h:23:10: fatal error: 
      'element.h' file not found
#include "element.h"
              ^
1 error generated.

Can you let me know what I'm doing wrong?

from qucs_s.

tvrusso avatar tvrusso commented on May 23, 2024

I just tried creating the build dir under qucs_s/qucs (the way the instructions on https://ra3xdh.github.io/ said to do for the old repo) instead of under qucs_s (the "top level" directory from the clone I thought that README.md referred to), and that seems to work. Or at least, I don't get that compile error.

from qucs_s.

tvrusso avatar tvrusso commented on May 23, 2024

OK, when I modified my build procedure to be:

git clone <qucs_s repo>
cd qucs_s
git checkout current
cd qucs
mkdir builddir
cd builddir
cmake .. -DCMAKE_INSTALL_PREFIX=<my install path>
make
make install

it works fine and creates the qucs-s executable (only). I can also build qucs-activefilter and its friends separately by making a build directory in that subdirectory and doing another cmake/make.

But if I make the build directory directly under qucs_s (which I presume should build qucs-s and all the other programs) the result is that failure to find "element.h"

from qucs_s.

ra3xdh avatar ra3xdh commented on May 23, 2024

from qucs_s.

tvrusso avatar tvrusso commented on May 23, 2024

Thank you, Vadim.

For whatever it's worth, I've seen this same problem on two different operating systems with two different compiler suites (FreeBSD with clang and Red Hat Linux with gcc). There must be some CMake issue that's not putting the "qucs_s/qucs" directory into the compiler's search path, but I am not able to spot it myself.

from qucs_s.

ra3xdh avatar ra3xdh commented on May 23, 2024

Yes, I can reproduce this issue. I have only found that it appears after the 9a1a7b1 , but I cannot found why.

from qucs_s.

ra3xdh avatar ra3xdh commented on May 23, 2024

It become clearer now. Something went wrong with qucs_SOURCE_DIR variable. I will try to fix it today or tomorrow.

from qucs_s.

ra3xdh avatar ra3xdh commented on May 23, 2024

I have fixed this problem. Look at the commit https://github.com/ra3xdh/qucs_s/commits/current on the current branch.

from qucs_s.

tvrusso avatar tvrusso commented on May 23, 2024

Nice. Thank you for the fix. I've got it all built now.

Looking forward to checking out some of the other additions you've made related to Xyce (sensitivity and .step work).

from qucs_s.

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.