From f07a17878a4f9cf168e2ec74e4488336f83f2ddb Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sat, 10 Oct 2020 10:18:03 +0200 Subject: [PATCH] Clarify win_bison location --- visualc/how-to-ngspice-vstudio.txt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/visualc/how-to-ngspice-vstudio.txt b/visualc/how-to-ngspice-vstudio.txt index 83c2bf1b0..79659c6df 100644 --- a/visualc/how-to-ngspice-vstudio.txt +++ b/visualc/how-to-ngspice-vstudio.txt @@ -1,4 +1,4 @@ -ngspice may be compiled by MS Visual Studio Community 2015. +ngspice may be compiled by MS Visual Studio Community 2019. For compilation you need the GNU bison parser generator. @@ -8,8 +8,13 @@ from http://sourceforge.net/projects/winflexbison/files/ Create the directory - ../../flex-bison -relative from this directory right here, and unzip there. + ..\..\flex-bison +relative to the current directory ngspice/visualc, and +unzip win_flex_bison-latest.zip there. So for example +if you have D:\myspice\ngspice, you will then have +directory D:\myspice\flex-bison which contains +win_bison.exe and others. + We will invoke the win_bison.exe file in this directory during the visual studio compilation.