Thanks! But it still not work.
I have set the platform toolset to "v140_xp" for shared ngspice project and all code model projects. And rebuild dll file and cm files. But it still not work on Windows XP.
this is not a ngspice problem, but a problem of the setup of your Visual Studio 2015 installation.
MS claims that one can do compilation for Windows XP with VS2015.
There are some blog entries around claiming the same.
You have a VS2015 (or VS2017) installation on another computer.
You are interested in Windows XP, an old and meanwhile unsupported OS.
ngspice is an open source project.
So may I ask you to figure out a proper setup for this use and report it here?
Regards
Holger
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I have changed the sharedspice project's property, set "platform toolset" to "Windows XP (v140_xp)". But it still not work.
I give up on Windows XP and migrate to Windows 7.
Thanks
Last edit: fiveight 2017-10-27
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All:
I find that NgSpice-27 DLL can not start simulate on Windows XP. Is this a feature?
Thanks!
Windows XP is a pretty much outdated 32 bit operating system.
The current ngspice-27 is a set of 64 bit executables.
You may test the 32-bit variant of ngspice-27 that is available from our download web site at http://ngspice.sourceforge.net/download.html . The direct link for downloading is http://ngspice.sourceforge.net/experimental/ngspice-27_32.7z .
Please give a feedback if this is working for you.
Holger
Dose http://ngspice.sourceforge.net/experimental/ngspice-27_32.7z special for 32 bit windows?
Days ago, I download ngspice-27 source code from
https://sourceforge.net/projects/ngspice/files/ng-spice-rework/27/ngspice-27.tar.gz/download
I use VS2015 to build shared ngspice DLL file with solution config "ReleaseOMP" and platform config "x86".
After I get ngspice.dll file, it works good on Windows 7 32bit, but can not work on Windows XP 32bit.
Last edit: fiveight 2017-10-19
On 2017-10-19 10:04, fiveight wrote:
AFAIR, for XP you must select a different platform toolset (V140_xp)
in the project setup.
-marcel
A little more info is here:
https://stackoverflow.com/questions/35664861/how-to-target-windows-xp-in-microsoft-visual-studio-c
and
https://msdn.microsoft.com/en-us/library/jj851139.aspx
Holger
Last edit: Holger Vogt 2017-10-19
Thanks! But it still not work.
I have set the platform toolset to "v140_xp" for shared ngspice project and all code model projects. And rebuild dll file and cm files. But it still not work on Windows XP.
I can not access http://ngspice.sourceforge.net/experimental/ngspice-27_32.7z for The GFW.
Last edit: fiveight 2017-10-20
I have download ngspice.dll from http://ngspice.sourceforge.net/experimental/ngspice-27_32.7z
It can not work on Windows XP 32bit indeed. But it can work on Windows 7 32bit.
fiveight,
this is not a ngspice problem, but a problem of the setup of your Visual Studio 2015 installation.
MS claims that one can do compilation for Windows XP with VS2015.
There are some blog entries around claiming the same.
You have a VS2015 (or VS2017) installation on another computer.
You are interested in Windows XP, an old and meanwhile unsupported OS.
ngspice is an open source project.
So may I ask you to figure out a proper setup for this use and report it here?
Regards
Holger
Hi
I have changed the sharedspice project's property, set "platform toolset" to "Windows XP (v140_xp)". But it still not work.
I give up on Windows XP and migrate to Windows 7.
Thanks
Last edit: fiveight 2017-10-27
Did you consider using MINGW for compilation?
Holger
Thanks!
VS2015 is just fine. I have migrate to Windows 7.
There is a 32-bit version of ngspice for Windows XP available at our download site http://ngspice.sourceforge.net/download.html.
Holger
Last edit: Holger Vogt 2017-11-01
This time ngspice.dll can work on Windows XP.
Thanks!