Re: [protobuf] 3.2.0 with Visual Studio 2017 C++ - installation problem with cmake

2017-04-11 Thread 'Feng Xiao' via Protocol Buffers
On Tue, Apr 11, 2017 at 4:11 AM, Karsten Saunte wrote: > Hi Feng > > "Visual Studio 15 2017" is supported. > > The above command line refers to "NMake makefiles" not visual studio. > > Anyway tried your suggestion with -G "Visual Studio 15 2017" > > This fails with "-- The C

Re: [protobuf] 3.2.0 with Visual Studio 2017 C++ - installation problem with cmake

2017-04-11 Thread Karsten Saunte
Hi Feng "Visual Studio 15 2017" is supported. The above command line refers to "NMake makefiles" not visual studio. Anyway tried your suggestion with -G "Visual Studio 15 2017" This fails with "-- The C compiler identification is unknown" (which worked with the "NMake makefiles" profile") -

Re: [protobuf] 3.2.0 with Visual Studio 2017 C++ - installation problem with cmake

2017-04-10 Thread 'Feng Xiao' via Protocol Buffers
Can you try "cmake --help"? It should print a list of Visual Compilers it supports. If VS 2017 is on the supported list, just invoke cmake with: cmake -G "Visual Studio [VERSION_NUMBER]" ../.. and it should generate a protobuf.sln file that you can open with VS 2017. On Mon, Apr 10, 2017 at 7:11

[protobuf] 3.2.0 with Visual Studio 2017 C++ - installation problem with cmake

2017-04-10 Thread Karsten Saunte
Hi New to protocol buffers, downloaded 3.2.0 and followed the guide in cmake/README.md It fails at this step * To start using a *Release* configuration: C:\Path\to\protobuf\cmake\build>mkdir release & cd release C:\Path\to\protobuf\cmake\build\release>cmake -G "NMake Makefiles"