-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Description
When using --build-type=Debug
on Windows with MSVC then during link-time the following error is raised:
LINK : fatal error LNK1104: cannot open file 'python39_d.lib'
This is because the Python header files themselves pull in the right library by name but the logic in CMaker.get_python_library
always uses the non-debug library, so during link the library isn't found:
scikit-build/skbuild/cmaker.py
Line 366 in c0741f9
candidate_implementations = ['python'] |
I think instead on Windows CMaker should use _d
suffixed libraries if the build type is Debug.
blakeNaccarato and m4reQ
Metadata
Metadata
Assignees
Labels
No labels