thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rodney Aaron Stainback (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (THRIFT-4635) Please target VS2017 and v141 cpp toolchain
Date Sat, 15 Sep 2018 10:42:00 GMT

    [ https://issues.apache.org/jira/browse/THRIFT-4635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16616259#comment-16616259
] 

Rodney Aaron Stainback edited comment on THRIFT-4635 at 9/15/18 10:41 AM:
--------------------------------------------------------------------------

So the weirdest thing is happening.

If I run:
{code:java}
cmake -G "Visual Studio 15 2017 Win64" -T v141,host=x64 -DCMAKE_CONFIGURATION_TYPES=Release
-DWITH_PLUGIN=OFF .. && `
cmake --build . {code}
 
 I get error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v100')
cannot be found.
  
  
 If I run:
{code:java}
cmake -G "Visual Studio 15 2017 Win64" -T v141,host=x64 -DCMAKE_CONFIGURATION_TYPES=Release
-DWITH_PLUGIN=OFF .. && `
msbuild Project.sln {code}
 
 It works, this is so crazy!!

 


was (Author: acehack):
So the weirdest thing is happening.

If I run:
{color:#d4d4d4} cmake -G {color}{color:#ce9178}"Visual Studio 15 2017 Win64"{color}{color:#d4d4d4}
-T v141,host=x64 -DCMAKE_CONFIGURATION_TYPES=Release -DWITH_PLUGIN=OFF .. && `{color}
{color:#d4d4d4} cmake --build .{color}
 
I get error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot
be found.
 
 
If I run:
{color:#d4d4d4} cmake -G {color}{color:#ce9178}"Visual Studio 15 2017 Win64"{color}{color:#d4d4d4}
-T v141,host=x64 -DCMAKE_CONFIGURATION_TYPES=Release -DWITH_PLUGIN=OFF .. && `{color}
{color:#d4d4d4} msbuild Project.sln{color}
 
It works, this is so crazy!!

> Please target VS2017 and v141 cpp toolchain
> -------------------------------------------
>
>                 Key: THRIFT-4635
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4635
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Build Process
>    Affects Versions: 0.11.0
>            Reporter: Rodney Aaron Stainback
>            Priority: Major
>
> I'm am trying to automate builds on docker and right now the project targets v100 i.e.
VS2010 cpp toolchain.  This can not be changed via the command line.  Please upgrade the
solution.  Thanks.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message