Skip to content

Build error linking leapct libraries to python site-packages on Windows 10 #127

@jsmaltz

Description

@jsmaltz

"pip install ." fails to link the leapct libraries resulting in a dll not found at runtime. Resolution is to manually link or copy library, and then the demos work. Error is below.

cmake version 3.18.4, VS2019, Python 3.10.0, pip 24.2:

Creating library H:/Documents/LEAP/win_build/lib/Release/leapct.lib and object H:/Documents/LEAP/win_build/lib/Release/leapct.exp
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library [H:\Documents\LEAP\win_build\src\leapct.vcxproj]
leapct.vcxproj -> H:\Documents\LEAP\win_build\bin\Release\libleapct.dll
Building Custom Rule H:/Documents/LEAP/CMakeLists.txt
The syntax of the command is incorrect.
running bdist_wheel

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