-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation on Windows 11 #203
Comments
this is not solution, let's say workaround for now to exclude inductance extension which you will not use for python interface for now:
|
The zip should come with pre-build python packages. Have a look in the python folder and the readme on how to just install these packages... |
Hi LubomirJagos, Hi thliebig, Really happy to see your replies. Sorry I took a while to get back to you. Jones |
Hello, I am facing similar issue. My process of installing went as follows:
Do you have any solution beside excluding inductance extension? Best regards |
@LubomirJagos42 I attempted this workaround and it still throws the error ('LEtype': is not a member of 'CSPropLumpedElement') when I attempt the following command: python setup.py build_ext -I "C:\opt\openEMS\include" -L "C:\opt\openEMS" |
I think you are trying to build the newest version of the python extension against a not up to date openEMS/CSXCAD library (dll). That will no work.. Please only download the pre-build version and just install the pre-compiled python modules or at least use the original (older) python sources... |
Building software on Windows is a major pain the in the ... I really think you should switch to a proper operating system 😏 |
@thliebig Lol. No worries; my next step was going to be to attempt a Linux install. I will try the Pre-Build version again, in case I messed it up the first time. |
Hi,
I followed the instructions here: https://docs.openems.de/install.html (Basically just extracting the downloaded zip folder into C drive).
I did the next steps give here: https://docs.openems.de/python/install.html#windows
git clone --recursive https://github.com/thliebig/openEMS-Project.git
cd openEMS-Project/CSXCAD/python
So far so good...
But when attempting to install with:
python setup.py build_ext -IC:\opt\openEMS\include -LC:\opt\openEMS
I get the following errors (copying here only the last few lines, but the same error is repeated 100 times):
C:\OpenSourceSI\openEMS-Project\CSXCAD\python\CSXCAD\CSProperties.cpp(47892): error C2039: 'LEtype': is not a member of 'CSPropLumpedElement'
C:\OpenSourceSI\openEMS\include\CSXCAD/CSPropLumpedElement.h(26): note: see declaration of 'CSPropLumpedElement'
C:\OpenSourceSI\openEMS-Project\CSXCAD\python\CSXCAD\CSProperties.cpp(47893): error C2039: 'LEtype': is not a member of 'CSPropLumpedElement'
C:\OpenSourceSI\openEMS\include\CSXCAD/CSPropLumpedElement.h(26): note: see declaration of 'CSPropLumpedElement'
C:\OpenSourceSI\openEMS-Project\CSXCAD\python\CSXCAD\CSProperties.cpp(47893): error C2039: 'LEtype': is not a member of 'CSPropLumpedElement'
C:\OpenSourceSI\openEMS\include\CSXCAD/CSPropLumpedElement.h(26): note: see declaration of 'CSPropLumpedElement'
C:\OpenSourceSI\openEMS-Project\CSXCAD\python\CSXCAD\CSProperties.cpp(47893): error C2039: 'LEtype': is not a member of 'CSPropLumpedElement'
C:\OpenSourceSI\openEMS\include\CSXCAD/CSPropLumpedElement.h(26): note: see declaration of 'CSPropLumpedElement'
C:\OpenSourceSI\openEMS-Project\CSXCAD\python\CSXCAD\CSProperties.cpp(47898): error C2039: 'LEtype': is not a member of 'CSPropLumpedElement'
C:\OpenSourceSI\openEMS\include\CSXCAD/CSPropLumpedElement.h(26): note: see declaration of 'CSPropLumpedElement'
C:\OpenSourceSI\openEMS-Project\CSXCAD\python\CSXCAD\CSProperties.cpp(47898): fatal error C1003: error count exceeds 100; stopping compilation
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe' failed with exit code 2
Please help with fixing this issue.
Regards,
Jones
The text was updated successfully, but these errors were encountered: