Skip to content

Build fails on Windows due to missing m.lib #11

@NeilStrickland

Description

@NeilStrickland

I tried to install pyknotid from PyPi using pip on Windows 11 and the build failed for two reasons. The first is that planarity would not build for the reason that I reported at hagberg/planarity#15. After fixing that, the pyknotid build failed at the linking stage with message LINK : fatal error LNK1181: cannot open input file 'm.lib'. Various internet sources suggested that m.lib is no longer needed so I cloned the repository and changed libraries=["m"] to libraries=[] in four places in setup.py; then I was able to build successfully. I do not know whether that is a satisfactory fix on other platforms.

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