Hi, How does one build Boost (1.62) with VS15 (Preview 4)? I know it's not officially supported.. C:\VC\boost>bootstrap.bat Building Boost.Build engine 'cl' is not recognized as an internal or external command, operable program or batch file. Failed to build Boost.Build engine. Please consult bootstrap.log for further diagnostics. -- Olaf
On Fri, Sep 30, 2016 at 4:29 PM, Olaf van der Spek
Hi,
How does one build Boost (1.62) with VS15 (Preview 4)? I know it's not officially supported..
Olaf: For Boost to build using any Visual Studio version, you need to have the command-line tools set up. Usually this means just having the right directories in your PATH. See this knowledge base article: https://msdn.microsoft.com/en-us/library/f2ccy3wt.aspx Another way to get the right environment is to launch the "Visual Studio Command Prompt" which is just an instance of Command Prompt that has the variables set. To find it, go to the Start menu and search for "Command" you will find something like "MSBuild Command Prompt for VS2015" Hope this helps!
On Fri, Sep 30, 2016 at 10:37 PM, Vinnie Falco
On Fri, Sep 30, 2016 at 4:29 PM, Olaf van der Spek
wrote: Hi,
How does one build Boost (1.62) with VS15 (Preview 4)? I know it's not officially supported..
Olaf:
For Boost to build using any Visual Studio version, you need to have the command-line tools set up. Usually this means just having the right directories in your PATH. See this knowledge base article:
https://msdn.microsoft.com/en-us/library/f2ccy3wt.aspx
Another way to get the right environment is to launch the "Visual Studio Command Prompt" which is just an instance of Command Prompt that has the variables set. To find it, go to the Start menu and search for "Command" you will find something like "MSBuild Command Prompt for VS2015"
Thx build.bat (and other stuff) is missing support for VC15 (note: not 14/2015), normally the path stuff is taken care of automatically. -- Olaf
On 1 October 2016 at 00:59, Olaf van der Spek
build.bat (and other stuff) is missing support for VC15 (note: not 14/2015), normally the path stuff is taken care of automatically.
The build process works fine on my WIN10.1607 machine with VS2015 - Update 3 (and its' updates) installed. Just to be safe, put the boost source code in a directory, with a short name, without spaces and preferably in a root. WIN10.1607 now supports long paths, but this feature is off by default. Start the command prompt as an administrator from the pulldown VS2015 menu. Pick the correct 32 or 64 bits environment. Run bootstrap.bat and then issue your bjam commands. degski
VS2015 works fine, it's VS15 (2017/2018?) that doesn't work..
https://blogs.msdn.microsoft.com/visualstudio/2016/08/22/visual-studio-15-pr...
On Sat, Oct 1, 2016 at 7:17 AM, degski
On 1 October 2016 at 00:59, Olaf van der Spek
wrote: build.bat (and other stuff) is missing support for VC15 (note: not 14/2015), normally the path stuff is taken care of automatically.
The build process works fine on my WIN10.1607 machine with VS2015 - Update 3 (and its' updates) installed. Just to be safe, put the boost source code in a directory, with a short name, without spaces and preferably in a root. WIN10.1607 now supports long paths, but this feature is off by default.
Start the command prompt as an administrator from the pulldown VS2015 menu. Pick the correct 32 or 64 bits environment. Run bootstrap.bat and then issue your bjam commands.
degski
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
-- Olaf
On Sat, Oct 1, 2016 at 2:36 AM, Olaf van der Spek
VS2015 works fine, it's VS15 (2017/2018?) that doesn't work..
https://blogs.msdn.microsoft.com/visualstudio/2016/08/22/ visual-studio-15-preview-4/
It sounds like support for msvc-15.0 needs to be added to the build tools.
On 10/2/2016 8:00 PM, Tom Kent wrote:
On Sat, Oct 1, 2016 at 2:36 AM, Olaf van der Spek
wrote: VS2015 works fine, it's VS15 (2017/2018?) that doesn't work..
https://blogs.msdn.microsoft.com/visualstudio/2016/08/22/ visual-studio-15-preview-4/
It sounds like support for msvc-15.0 needs to be added to the build tools.
It hasn't been officially released, has it ? has Microsoft targeted a date for it to be released in the near future ?
On Mon, Oct 3, 2016 at 2:40 AM, Edward Diener
On 10/2/2016 8:00 PM, Tom Kent wrote:
On Sat, Oct 1, 2016 at 2:36 AM, Olaf van der Spek
wrote: VS2015 works fine, it's VS15 (2017/2018?) that doesn't work..
https://blogs.msdn.microsoft.com/visualstudio/2016/08/22/ visual-studio-15-preview-4/
It sounds like support for msvc-15.0 needs to be added to the build tools.
It hasn't been officially released, has it ?
No. Is that a problem? Preview versions have been released and it'd be nice to be able to use Boost with them without work arounds.
has Microsoft targeted a date for it to be released in the near future ?
Nothing has been announced yet. -- Olaf
On 1 October 2016 at 08:17, degski
On 1 October 2016 at 00:59, Olaf van der Spek
wrote: build.bat (and other stuff) is missing support for VC15
Would be great if, after Windows 8 was followed up by Windows 10, to bump the compiler to the same number as the VS version. My bad, Sorry! degski
Olaf van der Spek-3 wrote
How does one build Boost (1.62) with VS15 (Preview 4)? I know it's not officially supported..
C:\VC\boost>bootstrap.bat Building Boost.Build engine 'cl' is not recognized as an internal or external command, operable program or batch file.
The patch to build with VC15 is in the develop branch: https://github.com/boostorg/build/commit/ae5e63a1315493dfb2fc60c4d537674fa63... Marcel -- View this message in context: http://boost.2283326.n4.nabble.com/How-to-build-Boost-with-VS15-tp4688491p46... Sent from the Boost - Dev mailing list archive at Nabble.com.
On Sat, Oct 1, 2016 at 7:43 AM, Marcel Raad
Olaf van der Spek-3 wrote
How does one build Boost (1.62) with VS15 (Preview 4)? I know it's not officially supported..
C:\VC\boost>bootstrap.bat Building Boost.Build engine 'cl' is not recognized as an internal or external command, operable program or batch file.
The patch to build with VC15 is in the develop branch: https://github.com/boostorg/build/commit/ae5e63a1315493dfb2fc60c4d537674fa63...
Thanks. Why isn't it in 1.62 though? BTW: Gmail says: "Why is this message in Spam? It has a from address in teamviewer.com but has failed teamviewer.com's required tests for authentication. Learn more" -- Olaf
participants (6)
-
degski
-
Edward Diener
-
Marcel Raad
-
Olaf van der Spek
-
Tom Kent
-
Vinnie Falco