I'm trying to build the latest GPB with:
Microsoft Visual Studio Pro 2012, 
CMake 3.14.4 on Windows 10.
-Switching protobuf_WITH_ZLIB off
-Setting CMAKE_INSTALL_PREFIX to C:\<my user name 
here>\Documents\protobuf\install
-Setting protobuf_BUILD_TESTS to off 
CMake configured and generated w/o error but then

>nmake install
...
Scanning dependencies of target libprotobuf-lite
[  0%] Building CXX object 
CMakeFiles/libprotobuf-lite.dir/C_/Users/ClarkRG/Documents/protobuf/src/google/protobuf/any_lite.cc.obj/
any_lite.cc
C:\Users\ClarkRG\Documents\protobuf\src\google/protobuf/stubs/port.h(118) : 
fatal error C1004: unexpected end-of-file found

It builds fine in MSVS 2019.  
Elsewhere I see claims that the minimum MSVS version for GPB is 2008.
Seems _MSC_VER is...off somehow?

Thoughts?

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/d5b9b5d0-f942-4648-ba65-ce85cb8ce862%40googlegroups.com.

Reply via email to