v0.0.20 ADMS compile difficulties
ma-laforge opened this issue · 4 comments
I created a simple VerilogA V(out, xGND) <+ abs(V(in, xGND))
test block in 2015 that worked magnificently in March 2015 (whatever version of Qucs was available then).
I wanted to experiment further with Qucs' VerilogA capabilities - so I installed v0.0.20 using apt
, as outlined in
-->http://qucs.sourceforge.net/install.html.
...but I hit a few walls:
- Opened my
V_absolute.va
verilog-A model - Clicked
Project|Build Verilog-A module...
- Noticed the "make" statement in admsXml Dock:
make -f /usr/include/qucs-core/va2cpp.makefile ADMSXML=/usr/bin/admsXml PREFIX=/usr MODEL=V_absolute
- But wait! Qucs did not install
/usr/include/qucs-core
! - Ok, after reading a bit, I found that
qucs-core
was renamed -->qucsator
. - Ok!? so I run
sudo ln -s qucsator qucs-core
- Awesome! simulation starts... but now I get a message that
disciplines.vams
cannot be found. - ...Neither can I!?! Plus my version of admsXml is old (circa 2015!?)
- So I download the latest release of ADMS (v2.3.7).
- And I install from tarball as explained in the
README
:
tar xvfz adms-x.x.x.tar.gz
cd adms-x.x.x
./configure --prefix=/usr
make install
- Awesome! I now have a
disciplines.vams
&constants.vams
in/usr/include/adms
- I also have a recent version of
admsXms
now!
I think there are issues
with the ADMS distribution bundled with Qucs. It was sort of tough to get up and running.
Apologies if I don't answer all your questions correctly. I am not 100% certain what you are asking me to do.
My installation
I can see references to ppa:qucs/qucs in install.html, did you use this (and what is it)?
Yes. I applied the procedure that appeared to be the most common with Ubuntu installations I have done in the past:
sudo apt-add-repository ppa:qucs/qucs
sudo apt-get update
sudo apt-get install qucs
I am using Ubuntu 18.04 (64-bit), so it installed the following version (screen grab from Synaptic package manager):
Better installation method
You could also try the 0.0.20-rc2 snapshot.
I got something to work at the moment, so I'll stick with it for now. But out of curiosity, if I were to install it, would I apply the following procedure?:
tar xvfz qucs[version].tar.gz
cd qucs[version]
./configure
make install
(using the tarball in the releases section)?
Please reopen if you have further questions or refer to the other tickets about 0.0.20.