Extension python wrapping (python36_d.lib not found)

Hello all,

Is it possible to use the release python built by debug Slicer to be used in extensions for wrapping?

@jcfr @lassoan @pieper


To myself:

Yes, it is an error in the library to automatically use the python_d library. In this case, Swig looks for python36_d.lib unless configured using the SWIG_PYTHON_INTERPRETER_NO_DEBUG preprocessor define.


As you may have noticed, independently of the configuration you choose to build Slicer (Release, RelWithDebInfo, … , Debug), CPython is always built in Release/

This should not prevent you from wrapping your code.

Could you provide more details about the error you got and how to reproduce it ?