Boost C++ Libraries: Ticket #10817: missing argument global-setup https://svn.boost.org/trac10/ticket/10817 <p> I was attempting to build boost on Win 8.1 with just the MS VC++ Compiler for Python (microsoft.com/en-us/download/details.aspx?id=44266) so no Visual Studio installed. </p> <p> I encountered the error below when running <code>b2</code>. Modifying project-config.jam to have the line <code>using msvc : : : &lt;setup&gt; ;</code> allow the build to continue to completion. </p> <pre class="wiki">c:\boost_1_57_0&gt;b2 --debug-configuration notice: found boost-build.jam at C:/boost_1_57_0/boost-build.jam notice: loading Boost.Build from C:/boost_1_57_0/tools/build/src notice: Searching 'C:\Windows' 'C:\Users\IEUser' 'C:\Users\IEUser' 'C:\boost_1_57_0\tools/build/src' 'C:\boost_1_57_0' ' C:/boost_1_57_0/tools/build/src/kernel' 'C:/boost_1_57_0/tools/build/src/util' 'C:/boost_1_57_0/tools/build/src/build' ' C:/boost_1_57_0/tools/build/src/tools' 'C:/boost_1_57_0/tools/build/src/contrib' 'C:/boost_1_57_0/tools/build/src/.' for site-config configuration file 'site-config.jam'. notice: Configuration file 'site-config.jam' not found in 'C:\Windows' 'C:\Users\IEUser' 'C:\Users\IEUser' 'C:\boost_1_5 7_0\tools/build/src' 'C:\boost_1_57_0' 'C:/boost_1_57_0/tools/build/src/kernel' 'C:/boost_1_57_0/tools/build/src/util' ' C:/boost_1_57_0/tools/build/src/build' 'C:/boost_1_57_0/tools/build/src/tools' 'C:/boost_1_57_0/tools/build/src/contrib' 'C:/boost_1_57_0/tools/build/src/.'. notice: Searching 'C:\Users\IEUser' 'C:\Users\IEUser' 'C:\boost_1_57_0\tools/build/src' 'C:\boost_1_57_0' 'C:/boost_1_57 _0/tools/build/src/kernel' 'C:/boost_1_57_0/tools/build/src/util' 'C:/boost_1_57_0/tools/build/src/build' 'C:/boost_1_57 _0/tools/build/src/tools' 'C:/boost_1_57_0/tools/build/src/contrib' 'C:/boost_1_57_0/tools/build/src/.' for user-config configuration file 'user-config.jam'. notice: Configuration file 'user-config.jam' not found in 'C:\Users\IEUser' 'C:\Users\IEUser' 'C:\boost_1_57_0\tools/bui ld/src' 'C:\boost_1_57_0' 'C:/boost_1_57_0/tools/build/src/kernel' 'C:/boost_1_57_0/tools/build/src/util' 'C:/boost_1_57 _0/tools/build/src/build' 'C:/boost_1_57_0/tools/build/src/tools' 'C:/boost_1_57_0/tools/build/src/contrib' 'C:/boost_1_ 57_0/tools/build/src/.'. notice: Searching '.' for project-config configuration file 'project-config.jam'. notice: Loading project-config configuration file 'project-config.jam' from '.'. notice: will use 'cl.exe' for msvc, condition &lt;toolset&gt;msvc C:/boost_1_57_0/tools/build/src/tools\msvc.jam:1075: in configure-really *** argument error * rule generate-setup-cmd ( version : command : parent : options * : cpu : global-setup : default-global-setup-options : default-setup ) * called with: ( default : C:\Users\IEUser\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\bin : C: \Users\IEUser\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC : : i386 : : x86 : vcvars32.bat ) * missing argument global-setup C:/boost_1_57_0/tools/build/src/tools\msvc.jam:809:see definition of rule 'generate-setup-cmd' being called C:/boost_1_57_0/tools/build/src/tools\msvc.jam:201: in configure C:/boost_1_57_0/tools/build/src/tools\msvc.jam:153: in msvc.init C:/boost_1_57_0/tools/build/src/build\toolset.jam:43: in toolset.using C:/boost_1_57_0/tools/build/src/build\project.jam:1007: in using project-config.jam:3: in modules.load C:/boost_1_57_0/tools/build/src\build-system.jam:249: in load-config C:/boost_1_57_0/tools/build/src\build-system.jam:412: in load-configuration-files C:/boost_1_57_0/tools/build/src\build-system.jam:524: in load C:\boost_1_57_0\tools\build\src/kernel\modules.jam:289: in import C:\boost_1_57_0\tools\build\src/kernel/bootstrap.jam:139: in boost-build C:\boost_1_57_0\boost-build.jam:17: in module scope </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10817 Trac 1.4.3 calumlind@… Wed, 26 Nov 2014 12:26:34 GMT <link>https://svn.boost.org/trac10/ticket/10817#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10817#comment:1</guid> <description> <p> Just to follow up, using <code>msvc : : : &lt;setup&gt; ;</code> does cause the following output at every operation so it is a hacky workaround. </p> <pre class="wiki">'""' is not recognized as an internal or external command, operable program or batch file. </pre><p> Setting it to a valid batch script such as <code>vcvars32.bat</code> does not work and the build errors straight away (I don't have a trace for that) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Wed, 03 Dec 2014 11:18:23 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10817#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10817#comment:2</guid> <description> <p> I'm also being affected by this however I can't workaround it in the way that the previous poster can. This is a serious regression. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Wed, 03 Dec 2014 11:18:54 GMT</pubDate> <title>severity changed https://svn.boost.org/trac10/ticket/10817#comment:3 https://svn.boost.org/trac10/ticket/10817#comment:3 <ul> <li><strong>severity</strong> <span class="trac-field-old">Problem</span> → <span class="trac-field-new">Regression</span> </li> </ul> Ticket cire2174-mail@… Thu, 11 Dec 2014 10:28:53 GMT <link>https://svn.boost.org/trac10/ticket/10817#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10817#comment:4</guid> <description> <p> I had the same issue on windows seven with the same SDK (VC for Python). I managed to have a successfull build with the following parameter in project-config.jam : </p> <pre class="wiki">using msvc : 9.0 : : &lt;setup&gt;"C:\\Python27\\Visual C++ for Python\\vcvarsall.bat" ; </pre><p> </p> <p> giving the following options : </p> <pre class="wiki">.\b2 -a variant=release link=shared address-model=64 toolset=msvc-9.0 </pre><p> Here is the result : </p> <pre class="wiki"> Creating library bin.v2\libs\wave\build\msvc-9.0\release\address-model-64\threading-multi\boost_wave-vc90-mt-1_57.lib and object bin.v2\libs\wave\build\msvc-9.0\release\address-model-64\threading-multi\boost_wave-vc90-mt-1_57.exp msvc.manifest.dll bin.v2\libs\wave\build\msvc-9.0\release\address-model-64\threading-multi\boost_wave-vc90-mt-1_57.dll common.copy stage\lib\boost_wave-vc90-mt-1_57.dll bin.v2\libs\wave\build\msvc-9.0\release\address-model-64\threading-multi\boost_wave-vc90-mt-1_57.dll 1 fichier(s) copié(s). common.copy stage\lib\boost_wave-vc90-mt-1_57.lib bin.v2\libs\wave\build\msvc-9.0\release\address-model-64\threading-multi\boost_wave-vc90-mt-1_57.lib 1 fichier(s) copié(s). ...updated 620 targets... The Boost C++ Libraries were successfully built! The following directory should be added to compiler include paths: F:/SandBox/boost_1_57_0 The following directory should be added to linker library paths: F:\SandBox\boost_1_57_0\stage\lib </pre> </description> <category>Ticket</category> </item> </channel> </rss>