Boost C++ Libraries: Ticket #13169: Context breaks with using python jam file https://svn.boost.org/trac10/ticket/13169 <p> With </p> <pre class="wiki">using python : 3.6 # Version : c:\\Users\\gfurn\\AppData\\Local\\Programs\\Python\\Python36\\python.exe # Python Path : c:/Users/gfurn/AppData/Local/Programs/Python/Python36/include # include path : c:/Users/gfurn/AppData/Local/Programs/Python/Python36/lib # lib path(s) : &lt;define&gt;BOOST_ALL_NO_LIB=1 ; }}} as a user.jam, the following build messages are emitted on trunk. {{{ ...updating 10 targets... msvc.compile.asm bin.v2\libs\context\build\msvc-14.1\debug\link-static\threading-multi\asm\make_i386_ms_pe_masm.obj The system cannot find the file specified. call "C:\Users\gfurn\AppData\Local\Temp\b2_msvc_14.1_vcvars32_.cmd" &gt;nul ml -coff -nologo -c -Zp4 -Cp -Cx -DBOOST_ALL_NO_LIB=1 -DBOOST_ALL_NO_LIB=1,&lt;python&gt;3.6,&lt;target-os&gt;windows:&lt;python.interpreter&gt;c:\Users\gfurn\AppData\Local\Programs\Python\Python36\python.exe -DBOOST_CONTEXT_EXPORT= -DBOOST_CONTEXT_SOURCE -D_WIN32_WINNT=0x0601 -DBOOST_ALL_NO_LIB=1 -DBOOST_ALL_NO_LIB=1,&lt;python&gt;3.6,&lt;target-os&gt;windows:&lt;python.interpreter&gt;c:\Users\gfurn\AppData\Local\Programs\Python\Python36\python.exe -DBOOST_CONTEXT_EXPORT= -DBOOST_CONTEXT_SOURCE -D_WIN32_WINNT=0x0601 /Zi /Zd /W3 -Fo "bin.v2\libs\context\build\msvc-14.1\debug\link-static\threading-multi\asm\make_i386_ms_pe_masm.obj" "libs\context\src\asm\make_i386_ms_pe_masm.asm" ...failed msvc.compile.asm bin.v2\libs\context\build\msvc-14.1\debug\link-static\threading-multi\asm\make_i386_ms_pe_masm.obj... msvc.compile.asm bin.v2\libs\context\build\msvc-14.1\debug\link-static\threading-multi\asm\jump_i386_ms_pe_masm.obj The system cannot find the file specified. call "C:\Users\gfurn\AppData\Local\Temp\b2_msvc_14.1_vcvars32_.cmd" &gt;nul ml -coff -nologo -c -Zp4 -Cp -Cx -DBOOST_ALL_NO_LIB=1 -DBOOST_ALL_NO_LIB=1,&lt;python&gt;3.6,&lt;target-os&gt;windows:&lt;python.interpreter&gt;c:\Users\gfurn\AppData\Local\Programs\Python\Python36\python.exe -DBOOST_CONTEXT_EXPORT= -DBOOST_CONTEXT_SOURCE -D_WIN32_WINNT=0x0601 -DBOOST_ALL_NO_LIB=1 -DBOOST_ALL_NO_LIB=1,&lt;python&gt;3.6,&lt;target-os&gt;windows:&lt;python.interpreter&gt;c:\Users\gfurn\AppData\Local\Programs\Python\Python36\python.exe -DBOOST_CONTEXT_EXPORT= -DBOOST_CONTEXT_SOURCE -D_WIN32_WINNT=0x0601 /Zi /Zd /W3 -Fo "bin.v2\libs\context\build\msvc-14.1\debug\link-static\threading-multi\asm\jump_i386_ms_pe_masm.obj" "libs\context\src\asm\jump_i386_ms_pe_masm.asm" ...failed msvc.compile.asm bin.v2\libs\context\build\msvc-14.1\debug\link-static\threading-multi\asm\jump_i386_ms_pe_masm.obj... msvc.compile.asm bin.v2\libs\context\build\msvc-14.1\debug\link-static\threading-multi\asm\ontop_i386_ms_pe_masm.obj The system cannot find the file specified. call "C:\Users\gfurn\AppData\Local\Temp\b2_msvc_14.1_vcvars32_.cmd" &gt;nul ml -coff -nologo -c -Zp4 -Cp -Cx -DBOOST_ALL_NO_LIB=1 -DBOOST_ALL_NO_LIB=1,&lt;python&gt;3.6,&lt;target-os&gt;windows:&lt;python.interpreter&gt;c:\Users\gfurn\AppData\Local\Programs\Python\Python36\python.exe -DBOOST_CONTEXT_EXPORT= -DBOOST_CONTEXT_SOURCE -D_WIN32_WINNT=0x0601 -DBOOST_ALL_NO_LIB=1 -DBOOST_ALL_NO_LIB=1,&lt;python&gt;3.6,&lt;target-os&gt;windows:&lt;python.interpreter&gt;c:\Users\gfurn\AppData\Local\Programs\Python\Python36\python.exe -DBOOST_CONTEXT_EXPORT= -DBOOST_CONTEXT_SOURCE -D_WIN32_WINNT=0x0601 /Zi /Zd /W3 -Fo "bin.v2\libs\context\build\msvc-14.1\debug\link-static\threading-multi\asm\ontop_i386_ms_pe_masm.obj" "libs\context\src\asm\ontop_i386_ms_pe_masm.asm" ...failed msvc.compile.asm bin.v2\libs\context\build\msvc-14.1\debug\link-static\threading-multi\asm\ontop_i386_ms_pe_masm.obj... ...skipped &lt;pbin.v2\libs\context\build\msvc-14.1\debug\link-static\threading-multi&gt;libboost_context-vc141-mt-gd-1_65.lib for lack of &lt;pbin.v2\libs\context\build\msvc-14.1\debug\link-static\threading-multi&gt;asm\make_i386_ms_pe_masm.obj... ...skipped &lt;pstage\lib&gt;libboost_context-vc141-mt-gd-1_65.lib for lack of &lt;pbin.v2\libs\context\build\msvc-14.1\debug\link-static\threading-multi&gt;libboost_context-vc141-mt-gd-1_65.lib... msvc.compile.asm bin.v2\libs\context\build\msvc-14.1\release\link-static\threading-multi\asm\make_i386_ms_pe_masm.obj The system cannot find the file specified. call "C:\Users\gfurn\AppData\Local\Temp\b2_msvc_14.1_vcvars32_.cmd" &gt;nul ml -coff -nologo -c -Zp4 -Cp -Cx -DBOOST_ALL_NO_LIB=1 -DBOOST_ALL_NO_LIB=1,&lt;python&gt;3.6,&lt;target-os&gt;windows:&lt;python.interpreter&gt;c:\Users\gfurn\AppData\Local\Programs\Python\Python36\python.exe -DBOOST_CONTEXT_EXPORT= -DBOOST_CONTEXT_SOURCE -DBOOST_DISABLE_ASSERTS -DNDEBUG -D_WIN32_WINNT=0x0601 -DBOOST_ALL_NO_LIB=1 -DBOOST_ALL_NO_LIB=1,&lt;python&gt;3.6,&lt;target-os&gt;windows:&lt;python.interpreter&gt;c:\Users\gfurn\AppData\Local\Programs\Python\Python36\python.exe -DBOOST_CONTEXT_EXPORT= -DBOOST_CONTEXT_SOURCE -DBOOST_DISABLE_ASSERTS -DNDEBUG -D_WIN32_WINNT=0x0601 /W3 -Fo "bin.v2\libs\context\build\msvc-14.1\release\link-static\threading-multi\asm\make_i386_ms_pe_masm.obj" "libs\context\src\asm\make_i386_ms_pe_masm.asm" ...failed msvc.compile.asm bin.v2\libs\context\build\msvc-14.1\release\link-static\threading-multi\asm\make_i386_ms_pe_masm.obj... msvc.compile.asm bin.v2\libs\context\build\msvc-14.1\release\link-static\threading-multi\asm\ontop_i386_ms_pe_masm.obj The system cannot find the file specified. call "C:\Users\gfurn\AppData\Local\Temp\b2_msvc_14.1_vcvars32_.cmd" &gt;nul ml -coff -nologo -c -Zp4 -Cp -Cx -DBOOST_ALL_NO_LIB=1 -DBOOST_ALL_NO_LIB=1,&lt;python&gt;3.6,&lt;target-os&gt;windows:&lt;python.interpreter&gt;c:\Users\gfurn\AppData\Local\Programs\Python\Python36\python.exe -DBOOST_CONTEXT_EXPORT= -DBOOST_CONTEXT_SOURCE -DBOOST_DISABLE_ASSERTS -DNDEBUG -D_WIN32_WINNT=0x0601 -DBOOST_ALL_NO_LIB=1 -DBOOST_ALL_NO_LIB=1,&lt;python&gt;3.6,&lt;target-os&gt;windows:&lt;python.interpreter&gt;c:\Users\gfurn\AppData\Local\Programs\Python\Python36\python.exe -DBOOST_CONTEXT_EXPORT= -DBOOST_CONTEXT_SOURCE -DBOOST_DISABLE_ASSERTS -DNDEBUG -D_WIN32_WINNT=0x0601 /W3 -Fo "bin.v2\libs\context\build\msvc-14.1\release\link-static\threading-multi\asm\ontop_i386_ms_pe_masm.obj" "libs\context\src\asm\ontop_i386_ms_pe_masm.asm" ...failed msvc.compile.asm bin.v2\libs\context\build\msvc-14.1\release\link-static\threading-multi\asm\ontop_i386_ms_pe_masm.obj... msvc.compile.asm bin.v2\libs\context\build\msvc-14.1\release\link-static\threading-multi\asm\jump_i386_ms_pe_masm.obj The system cannot find the file specified. call "C:\Users\gfurn\AppData\Local\Temp\b2_msvc_14.1_vcvars32_.cmd" &gt;nul ml -coff -nologo -c -Zp4 -Cp -Cx -DBOOST_ALL_NO_LIB=1 -DBOOST_ALL_NO_LIB=1,&lt;python&gt;3.6,&lt;target-os&gt;windows:&lt;python.interpreter&gt;c:\Users\gfurn\AppData\Local\Programs\Python\Python36\python.exe -DBOOST_CONTEXT_EXPORT= -DBOOST_CONTEXT_SOURCE -DBOOST_DISABLE_ASSERTS -DNDEBUG -D_WIN32_WINNT=0x0601 -DBOOST_ALL_NO_LIB=1 -DBOOST_ALL_NO_LIB=1,&lt;python&gt;3.6,&lt;target-os&gt;windows:&lt;python.interpreter&gt;c:\Users\gfurn\AppData\Local\Programs\Python\Python36\python.exe -DBOOST_CONTEXT_EXPORT= -DBOOST_CONTEXT_SOURCE -DBOOST_DISABLE_ASSERTS -DNDEBUG -D_WIN32_WINNT=0x0601 /W3 -Fo "bin.v2\libs\context\build\msvc-14.1\release\link-static\threading-multi\asm\jump_i386_ms_pe_masm.obj" "libs\context\src\asm\jump_i386_ms_pe_masm.asm" ...failed msvc.compile.asm bin.v2\libs\context\build\msvc-14.1\release\link-static\threading-multi\asm\jump_i386_ms_pe_masm.obj... ...skipped &lt;pbin.v2\libs\context\build\msvc-14.1\release\link-static\threading-multi&gt;libboost_context-vc141-mt-1_65.lib for lack of &lt;pbin.v2\libs\context\build\msvc-14.1\release\link-static\threading-multi&gt;asm\make_i386_ms_pe_masm.obj... ...skipped &lt;pstage\lib&gt;libboost_context-vc141-mt-1_65.lib for lack of &lt;pbin.v2\libs\context\build\msvc-14.1\release\link-static\threading-multi&gt;libboost_context-vc141-mt-1_65.lib... ...failed updating 6 targets... ...skipped 4 targets... }}} The problem appears to be the &lt;define&gt; line, as commenting that out makes everything work. </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13169 Trac 1.4.3