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

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

Open
jsmaltz opened this issue Oct 27, 2024 · 2 comments
Open

Comments

@jsmaltz
Copy link

jsmaltz commented Oct 27, 2024

"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

@kylechampley
Copy link
Collaborator

Is this still an issue or is it resolved in the other issue you started?

@jsmaltz
Copy link
Author

jsmaltz commented Oct 28, 2024

It appears to be an independent issue and was resolved only my a manual workaround.

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