id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 13527,Boost 1.67.0 - Cannot link to boost_pythonPY_MAJOR_VERSIONPY_MINOR_VERSION...,toby.case@…,,"Cannot link to boost_python correctly. Using MSVC 2015 Update 3, boost_1_67_0\boost\python\detail\config.hpp line 108 does not expand as intended: (line 108) #define BOOST_LIB_NAME boost_python##PY_MAJOR_VERSION##PY_MINOR_VERSION This line expands to ""boost_pythonPY_MAJOR_VERSIONPY_MINOR_VERSION(...).lib"", which results in a linking error since the library is named ""boost_python36(...).lib"" My Python distribution is Anaconda 5.1 and patchlevel.h has: (line 19) #define PY_MAJOR_VERSION 3 (line 20) #define PY_MINOR_VERSION 6 Similarly, one will have difficulty with boost_1_67_0\boost\python\numpy\config.hpp line 64. I tried repeatedly to make the preprocessor directives work as intended but I cannot quite figure it out. I wish I could find where the library name is generated for the build, not just the link.",Bugs,closed,To Be Determined,None,Boost 1.67.0,Problem,obsolete,"python, link",