|
|
|
@ -5,7 +5,7 @@ Table of contents |
|
|
|
|
|
|
|
1 Ngspice installation (LINUX) |
|
|
|
1.1 Prerequisites |
|
|
|
1.2 Install from tarball (e.g. ngspice-30.tar.gz) |
|
|
|
1.2 Install from tarball (e.g. ngspice-31.tar.gz) |
|
|
|
1.3 Install from git repository |
|
|
|
1.4 Advanced Install |
|
|
|
1.4.1 Most useful options |
|
|
|
@ -53,14 +53,14 @@ This file describes the procedures to install ngspice from sources. |
|
|
|
information on ngspice and its usage. |
|
|
|
|
|
|
|
|
|
|
|
1.2 Install from tarball (e.g. ngspice-30.tar.gz) |
|
|
|
1.2 Install from tarball (e.g. ngspice-31.tar.gz) |
|
|
|
|
|
|
|
This covers installation from a release distribution (for example |
|
|
|
ngspice-27.tar.gz, the so called tar ball). |
|
|
|
ngspice-31.tar.gz, the so called tar ball). |
|
|
|
|
|
|
|
After downloading the tar ball to a local directory unpack it using: |
|
|
|
|
|
|
|
$ tar -zxvf ngspice-30.tar.gz |
|
|
|
$ tar -zxvf ngspice-31.tar.gz |
|
|
|
|
|
|
|
Now change directories in to the top-level source directory (where this |
|
|
|
INSTALL file can be found). |
|
|
|
@ -460,8 +460,8 @@ Most of the options now following are not well maintained, are not tested or eve |
|
|
|
to the standard install (FLEX and BISON have to be made available in MSYS). |
|
|
|
Some links are given below which describe the procedures. |
|
|
|
|
|
|
|
Installing from the tarball, e.g. ngspice-30.tar.gz, is now simple: After |
|
|
|
expanding, you may just run ./compile_min.sh from the ngspice-30 directory. |
|
|
|
Installing from the tarball, e.g. ngspice-31.tar.gz, is now simple: After |
|
|
|
expanding, you may just run ./compile_min.sh from the ngspice-31 directory. |
|
|
|
|
|
|
|
The default installation location of ngspice is the Windows path |
|
|
|
C:\spice. The install path can be altered by passing --prefix=NEWPATH |
|
|
|
@ -475,7 +475,7 @@ Most of the options now following are not well maintained, are not tested or eve |
|
|
|
The procedure of compiling a distribution (for example, a tarball from |
|
|
|
the ngspice website), is as follows: |
|
|
|
|
|
|
|
$ cd ngspice-30 |
|
|
|
$ cd ngspice-31 |
|
|
|
$ mkdir release |
|
|
|
$ cd release |
|
|
|
$ ../configure --with-wingui ...and other options |
|
|
|
@ -603,7 +603,7 @@ Most of the options now following are not well maintained, are not tested or eve |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9.2 make ngspice with MS Visual Studio 2015/17 |
|
|
|
9.2 make ngspice with MS Visual Studio 2015/17/19 |
|
|
|
|
|
|
|
ngspice may be compiled with MS Visual Studio 2015 or newer. |
|
|
|
|
|
|
|
@ -627,13 +627,13 @@ Most of the options now following are not well maintained, are not tested or eve |
|
|
|
preprocessor definitions required to properly compile the code. |
|
|
|
strings.h has been necessary during setting up the project. |
|
|
|
|
|
|
|
Install Microsoft Visual Studio 2017 Community with C/C++. For |
|
|
|
Install Microsoft Visual Studio 2019 Community with C/C++. For |
|
|
|
example the German edition is available at no cost from |
|
|
|
https://www.visualstudio.com/de/vs/community/. |
|
|
|
|
|
|
|
Goto /ngspice/visualc. |
|
|
|
|
|
|
|
Start MS Visual Studio 2017 by double click onto vngspice.sln. |
|
|
|
Start MS Visual Studio 2019 by double click onto vngspice.sln. |
|
|
|
|
|
|
|
After MS Visual Studio has opened up, select debug or release version |
|
|
|
by checking 'Erstellen' , 'Konfigurations-Manager' 'Debug' or 'Release'. |
|
|
|
|