-
Notifications
You must be signed in to change notification settings - Fork 74
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 |
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: