Qucs electronic circuit design and simulation

I was run the 15.1 version 1.8 of this and updated to a newer experimental package v1.9 but it has the same problem when I get to simulating a circuit. Both installed 1 click style via yast.

This error message is generated as soon as I select simulate, That should just pop up another tabbed window.

/usr/bin/qucsator: undefined symbol: redirect_status_to_stdout

:'(Help. No other problems with the package. So far.

Out of interest I also tried compiling the latest verion - 2.0 but config complained about the version of Qt. Must be greater than 4.6, thought i was running 5,x

John

Here on Leap 15.1 it is running:

qucs --version
Qucs 0.0.18

So maybe it depends on you Repos:

zypper lr -d
zypper lr -d
#  | Alias                               | Name                                   | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                          | Service
---+-------------------------------------+----------------------------------------+---------+-----------+---------+----------+--------+----------------------------------------------------------------------------------------------+--------
 1 | http-download.opensuse.org-322c07a4 | home:bmwiedemann:cnc                   | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/repositories/home:/bmwiedemann:/cnc/openSUSE_Tumbleweed/        |        
 2 | http-download.opensuse.org-4bb7ca87 | multimedia:apps                        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/multimedia:/apps/openSUSE_Leap_15.1/               |        
 3 | http-download.opensuse.org-5302268f | home:mrbadguy                          | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/repositories/home:/mrbadguy/openSUSE_Leap_15.1/                 |        
 4 | http-download.opensuse.org-56b5dcc8 | openSUSE:Leap:15.1:Update              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.1/oss/                                           |        
 5 | http-download.opensuse.org-5b9827a5 | home:rawtherapee                       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/rawtherapee/openSUSE_Leap_15.1/              |        
 6 | http-download.opensuse.org-5e78e87a | devel:tools:building                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/devel:/tools:/building/openSUSE_Leap_15.1/         |        
 7 | http-download.opensuse.org-60abb759 | home:qantas94heavy                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/qantas94heavy/openSUSE_Leap_15.1/            |        
 8 | http-download.opensuse.org-8bd2c42f | multimedia:libs                        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/multimedia:/libs/openSUSE_Leap_15.1/               |        
 9 | http-download.opensuse.org-a994434f | graphics                               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/graphics/openSUSE_Leap_15.1/                       |        
10 | http-download.opensuse.org-aeec395e | KDE:Qt5                                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Qt5/openSUSE_Leap_15.1/                       |        
11 | http-download.opensuse.org-b51ac154 | electronics                            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/electronics/openSUSE_Leap_15.1/                    |        
12 | http-download.opensuse.org-b9265ca4 | science                                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/science/openSUSE_Leap_15.1/                        |        
13 | http-download.opensuse.org-c551e183 | openSUSE:Tools added via Rawtherapee   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Tools/openSUSE_15.1/                     |        
14 | http-download.opensuse.org-c88bec6f | openSUSE:Leap:15.1:Update              | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/update/leap/15.1/oss/                                           |        
15 | http-download.opensuse.org-cbf1275a | GNOME:Apps                             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/GNOME:/Apps/openSUSE_Leap_15.1/                    |        
16 | http-download.opensuse.org-ceeac961 | multimedia:photo Fotoxx                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/multimedia:/photo/openSUSE_Leap_15.1/              |        
17 | http-download.opensuse.org-f55403d7 | multimedia:color_management DisplayCal | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/multimedia:/color_management/openSUSE_Leap_15.1/   |        
18 | http-opensuse-guide.org-e08c3182    | libdvdcss repository                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_15.1/                                           |        
19 | http-packman.inode.at-513ce178      | Packman Repository                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_15.1/                                             |        
20 | openSUSE-Leap-15.1-1                | openSUSE-Leap-15.1-1                   | No      | ----      | ----    |   99     | rpm-md | hd:/?device=/dev/disk/by-id/usb-Kingston_DataTraveler_3.0_60A44C413CA0F140C9760044-0:0-part2 |        
21 | repo-debug                          | Debug Repository                       | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.1/repo/oss/                          |        
22 | repo-debug-non-oss                  | Debug Repository (Non-OSS)             | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.1/repo/non-oss/                      |        
23 | repo-debug-update                   | Update Repository (Debug)              | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.1/oss/                                     |        
24 | repo-debug-update-non-oss           | Update Repository (Debug, Non-OSS)     | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.1/non-oss/                                 |        
25 | repo-non-oss                        | Non-OSS Repository                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.1/repo/non-oss/                            |        
26 | repo-oss                            | Main Repository                        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.1/repo/oss/                                |        
27 | repo-source                         | Source Repository                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/source/distribution/leap/15.1/repo/oss/                         |        
28 | repo-source-non-oss                 | Source Repository (Non-OSS)            | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.1/repo/non-oss/                     |        
29 | repo-update                         | Main Update Repository                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.1/oss                                            |        
30 | repo-update-non-oss                 | Update Repository (Non-Oss)            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.1/non-oss/                                       |        

and

 qucs --version 
Qucs 0.0.19

Everything is ok until I get to simulation. both were found with opensuse software search. 1.8 for 15.1 and 1.9 experimental for 15.1.

John

I think 1.8 came from 15,1/science and 1.9 from 15.1/electronics.

John

I have no problems getting this far with the application

https://www.flickr.com/photos/48994619@N08/49212682636/in/dateposted-public/

Only when I click simulate and the official 0.18 version does exactly the same thing as the 0.19 version. Undefined symbol error. This is often mentioned as a linkage error on the web so assume this should be in a dev file some where.

Perhaps the best way for some one else to check it is to load one of the sample designs and then select simulation. I’d suggest

/usr/share/qucs/examples/Amp_Baseband_Low-noise.sch

My depository list includes a number of disabled ones - left over from previous problems and nothing is now installed from them. The “odd” ones are for photo applications, multimedia. I do have pulse utilities installed as well. That initially gave rise to my previous problem.

In some ways I would rather install odd applications like this from source as I then know exactly what needs to be added rather than risking getting some odd mix from a repo. This leaves the question why ./config fails with this message if I compile qucs 2.0

configure: error: Qt >= 4.6.0 is required

I had a similar problem on another application that used a version of automake. System was up to it’s needs but somehow it detected older versions. This one also had ./config and I had no problems that way just needed to load a couple of lib files from the 15.1 repo.

This is a bit of a bleat really but worrying as I suspect all would be ok on Ubuntu as that generally seems to be all that is checked and often all that is supported now. I’m a long term OpenSuse man and Suse before that.

It looks like the image I linked to hasn’t loaded. All that it indicated is that qucs has no problems at all producing schematic diagrams.

John

https://github.com/Qucs/qucs/issues/913

Although *buntu specific, perhaps may be of help?

I think its a version-mismatch from your enabled Repos…

Hi
I suspect it’s more likely something related to the now deprecated qt4 being used and some supporting library not working…

I see;


Warning: Bus::open: Connect ibus failed!
Debug: IBusInputContext::createInputContext: no connection to ibus-daemon

That sounds like it might relate as while I shouldn’t I tried running it as root and got that style of error message. Run as user doesn’t do that. Another ap I installed cleanly wouldn’t run. Turned out that I needed to be a member of the dial out group. I have wondered if it might be a permissions problem but have no idea which one it could be.

The Qt aspect suggests that 5 is not greater than 4.x that it requires.

My repo’s. Afraid I can’t see that it having anything to do with the problem as the official one does the same thing. I don’t think YAST pulled anything in when I installed both versions. The applications i have added are well supported for opensuse. Just photo related ones that are very popular. Used some for years on different releases without any problems at all. quantas94heavy is wine only. When needed I find play with linux far more reliable than straight wine. That leaves packman. The 2 versions came from qt5 repo’s so I am inclined to wonder if ok the built without problems but where not completely tested.

I’ll see what’s on github. :cry: This is frustrating. For what it is not a bad app that could do with a little tidying in places - pretty small changes really.

John

Hi
Yes, but if a library has been ported to qt5 and introduced to the Leap series, then your going to bang your head against the wall, it’s not like qt4 got deprecated overnight. I would suggest an upstream bug report asking them to port their code to something that is supported.

You could raise a qucs openSUSE bug but I suspect it may get closed, suffice to say I can duplicate with only the default repos, so it may have already been broken before the Leap release… Also realize it’s been dropped in Tumbleweed already since it’s qt4…

I’m not sure how upstream bugs are reported. Maybe some one can tell me how. A git search bought up signs of qt version fixes. There may also be a spin off from it that uses a different simulator.

John

Hi
Home page is Qucs project: Quite Universal Circuit Simulator

From GitHub - Qucs/qucs: Qucs Project official mirror

Bug trackers:

Thanks.

The spin off is called Qucs-S and uses ngspice for simulation. That is available in the repo. Qucs-S is only shown for tumbleweed. Suppose I could try it but … doesn’t sound like a good idea. If I try and compile this one it states must be version Qt4.

I may have found a solution to qucs-s compiles anyway.

John

The solution to compiling turned out to be searching for qt4 in YAST and adding the dev file. That allowed both qucs and qucs-s to compile but it took rather a long time on one during configure so I went out. There seem to be a lot of depreciated errors. Just installing the dev file didn’t help the one click opensuse versions.

Both now produce this error when I select simulation

  line 70: syntax error, unexpected Identifier, expecting '"'
 

However an example appears to work so that may be down to me moving things around in the schematic and the netlist changes not always working cleanly. :’( Or ???

John

I’ve now tried all versions of qucs. Qucs 0.02 seems to be ok but have only simulated an example. Qucs-S probably means hours searching for parts definitions to suite spice but it looks like the latest versions of that can also be made to work.

John

Hi
I see the Qucs-S developer uses OBS for building… ask them to build for openSUSE as well…

I’ve been getting on reasonably well with qucs “normal”. Just installed the dev file I mentioned and compiled qucs 0.02. All problems so far but for one 10mins ago are down to me and spice syntax. Latest one may be down to me or might be asking it to analyse too much. For a beta and I think all versions are it’s not bad. Some polish needed on the graphics really but they do work as is and offer some interesting features. It does appear to simulate correctly. :wink: It’s saved me building several microphone amps based loosely around one on the web which I found isn’t as good as it appears. Flawed in fact.

Qucs-S comes with warnings especially in the simulation area - favourite seems to be a very recent spice implementation. :slight_smile: Reminds me of a video on youtube - why Linux stinks. Several different groups of people working on the same functionality and imagine what they would achieve if they all worked together on the same thing. Qucs went it’s own way on spice as they reckon the existing ones are impossible to work on. :open_mouth: Reminds me of KDE3 and probably the demise of 4etc. Seems to happen quickly these days.

The main thing that seems to be lacking in this whole area is some easy method of importing spice files. They are apt to differ according to where they are coming from. Even analogue devices seem to have that problem in their free windows one. It can be done but using an appropriate symbol seems to be another matter. I’d have thought that the IEEE would have produces some standards but … no sign of them.

Latest Qucs-S also compiles with the dev file added. I’ve posted that Qt5 should come with a 4 library and also a 3 to 4 as several comments on the web say Qt is a no no with both of them.

John