Distuils MSVC link failure between libraries
10 Aug
2017
10 Aug
'17
11:30 a.m.
Hi there, I'm trying to create multiple C++ extensions that have dependencies between them. This works fine on Linux with gcc, but I get link failures on Windows with MSVC due to this https://github.com/python/cpython/blob/master/Lib/distutils/_msvccompiler.py... "*IMPLIB*" is an optional argument, when not specified, the generation of exp/lib files default to the same filename and directory as the dll. If precompiled extensions are to be published with MSVC and expected to be linked against (maybe this is not recommended?) the lib files are required so it seems a bit peculiar to me to not have them with the dll as is the default behavior. Proof of concept https://github.com/0xz/distutils_msvc/blob/master/setup.py Thanks Philip
2438
Age (days ago)
2443
Last active (days ago)
1 comments
2 participants
participants (2)
-
Chris Barker - NOAA Federal
-
P