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
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") -
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
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"