This repository has been archived by the owner on Oct 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Build Linux
guitorri edited this page Oct 27, 2014
·
5 revisions
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install libqt4-dev libqt4-qt3support
sudo apt-get install automake libtool gperf flex bison
sudo apt-get install git
sudo apt-get install cmake
Extra for ADMS compiled with Autotools
sudo apt-get install libxml2 libxml2-dev
sudo apt-get install zlib1g zlib1g-dev
sudo cpan -i XML::LibXML
sudo apt-get install libgd2-xpm-dev
sudo cpan -f GD
Either (1) clone the Git repository or (2) download a repository snapshot.
cd
mkdir git; cd git
git clone git://git.code.sf.net/p/qucs/git qucs
-
Download a snapshot from the repository:
-
Extract into
~/git/qucs
cd ~/git/qucs-git/qucs
sh autogen.sh
./configure --enable-maintainer-mode --prefix=/home/`id -un`/local/qucs-auto
make install
cd ~/git/qucs-git/qucs-core/
sh bootstrap.sh
./configure --enable-maintainer-mode --prefix=/home/`id -un`/local/qucs-auto
make install
From the terminal
export QUCSDIR=/home/`id -un`/local/qucs-auto
~/local/qucs-auto/bin/qucs
Note that the CMake build is mostly functional, however still experimental.
A version of ADMS with CMake build can be found here
cd ~/git/qucs-git/qucs
mkdir build; cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/home/[username]/local/qucs-cmake
make install
cd ~/git/qucs-git/qucs-core/
mkdir build; cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/home/[username]/local/qucs-cmake -DADMSXML=/path/to/admsXml
make install
- After
install
, remember to copyamdsXml
also into~local/qucs-cmake/bin
so it can be used by Qucs.
From the terminal
export QUCSDIR=home/[username]/local/qucs-cmake
~/local/qucs-cmake/bin/qucs.app/Contents/MacOS/qucs
- Note that the
CMakeLists.txt
files can be used as projects on the QtCreator IDE. It makes it easier for new contributors.
[ Home | Development | Examples ]