-
Notifications
You must be signed in to change notification settings - Fork 213
Build Linux
Guilherme Brondani Torri edited this page Mar 18, 2020
·
16 revisions
Note:
- Check Travis script to see how the
develop
branch is being build on every change.
sudo apt-get update
sudo apt-get install build-essential libqt4-dev libqt4-qt3support automake libtool gperf flex bison git cmake
Extra for ADMS compiled with Autotools
sudo apt-get install libxml2 libxml2-dev zlib1g zlib1g-dev
sudo cpan -i XML::LibXML
sudo apt-get install libgd2-xpm-dev
sudo apt-get install libgd-perl
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
This information is most likely obsolete or outdated. See the INSTALL and README (or README.md) files contained in the the respective project directories.
cd ~/git/qucs/qucs
sh autogen.sh
./configure --enable-maintainer-mode --prefix=/home/$(whoami)/local/qucs/
make install
make check # to run tests (optional)
cd ~/git/qucs/qucs-core/
sh bootstrap.sh
./configure --enable-maintainer-mode --prefix=/home/$(whoami)/local/qucs
make install
make check # to run tests (optional)
From the terminal
export QUCSDIR=/home/$(whoami)/local/qucs
~/local/qucs/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/qucs
mkdir build; cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/home/[username]/local/qucs-cmake
make install
cd ~/git/qucs/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 ]