Skip to content
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

header files not found #235

Open
AutoEM opened this issue Oct 13, 2024 · 2 comments
Open

header files not found #235

AutoEM opened this issue Oct 13, 2024 · 2 comments

Comments

@AutoEM
Copy link

AutoEM commented Oct 13, 2024

hi,

got the following error:

C:\openEMS-Project\CSXCAD\python\CSXCAD\CSPrimitives.cpp(1257): fatal error C1083: Cannot open include file: 'CSXCAD/ParameterObjects.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit code 2

ParameterObjects.h is in 'CSXCAD\src' folder. How would I change this thank you?

@SupaTuba
Copy link

I assume you're doing the installation from the guide. I had this issue with the formatting of the -Include parameter in the following command, as listed on the installation guide.

Original: python setup.py build_ext -IC:\opt\openEMS\include -LC:\opt\openEMS

Altered Version: python setup.py build_ext -I "C:\opt\openEMS\include" -L "C:\opt\openEMS"

And replace opt with actual filepath

@SengerM
Copy link
Contributor

SengerM commented Nov 3, 2024

#239 may also fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants