Skip to content

Error building Python module #7

Description

@d-dolan

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions