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

Error building Python module #7

Open
d-dolan opened this issue Aug 18, 2021 · 2 comments
Open

Error building Python module #7

d-dolan opened this issue Aug 18, 2021 · 2 comments

Comments

@d-dolan
Copy link

d-dolan commented Aug 18, 2021

Hi, I ran into an issue when building the Python module on Windows 10. I am using the Annaconda command prompt because I don't have Python on my Windows PATH.

I have Visual Studio, CMake and SWIG installed (SWIG was installed through Annaconda). I also used Chocolatey to get the 'make' command in setup.py to work on Windows.

I cloned the repository, changed to the 'python' directory and ran 'python setup.py build'. I got the error:

'ais_decoder_wrap.cpp(3132): fatal error C1083: Cannot open include file: 'ais_decoder/ais_quick.h': No such file or directory'.

The directory 'ais_decoder/' was created inside 'python' but it didn't contain ais_quick.h I got the same issue when I tried to building manually with CMake (into the python directory) and then runnning 'python setyp.py install'.

I tried the manual build but wasn't able to get the c++ command to work (I tried installing g++ instead but the installation failed).

This project would be perfect for my task, any help would be greatly appreciated. Thank you!

@aduvenhage
Copy link
Owner

Thank you for you message. I will look at this ASAP.

@d-dolan
Copy link
Author

d-dolan commented Sep 9, 2021

Hi, I just wanted to see if there is an update with that? Thank you

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

2 participants