Skip to content

Windows build (and/or instructions) not working #133

@twynb

Description

@twynb

Problem: When attempting to build chromaprint.dll on windows, the install instructions don't apply. Also, at least in my case, the windows build fails to run.

The smaller problem: The instructions in the README.md only describe building using make. As cmake generates a VS .sln file and .vcxproject files rather than a makefile, the instructions don't apply, you have to build using visual studio. This part is just a documentation issue, it did compile without compilation errors.

The bigger problem: On my system (Windows 10.0.19045, with the gyan.dedv ffmpeg 5.1.2 build), attempting to build chromaprint does create a .dll file. However, attempting to open it (from the PyAcoustID library in my case) throws an error: Could not find module 'C:\Program Files (x86)\chromaprint\bin\chromaprint.dll' (or one of its dependencies). Try using the full path with constructor syntax.

The location of chromaprint.dll as well as the ffmpeg/bin folder are both in the system PATH, and looking through the resulting chromaprint.dll using a dependency walker, I cannot find any dependencies that aren't from ffmpeg or system32.

Perhaps noteworthy: The fpcalc.exe command line tool also compiled during building works without issues, as far as I can tell. Looking at it with the dependency walker, it does seem to include chromaprint.dll, which it says loads correctly. It does however also say that the checksum for the chromaprint.dll is 0x00000000, which it flags as incorrect.

Is this user error on my end or can others also reproduce this problem? If it's the former, what's my mistake here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions