I am experiencing a similar issue. Any suggestions. I get file not found for port_def.inc. Installed protoc using vcpkg.
On Tuesday 18 August 2020 at 19:20:29 UTC-4 Nithya Murali wrote: > I am on Windows 10 and trying to install the protoc compiler - I used the > following to install it: > > vcpkg install protobuf protobuf:x64-windows > > protoc --version returns "libprotoc 3.13.0" as expected > > However, in the process of installing a python library (pycld3) which > requires protoc, I'm getting the following error: > > *Cannot open include file: 'google/protobuf/port_dec.inc': No such file or > directory* > error: command "C:\\Program Files (x86)\\Microsoft Visual > Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.27.29110\\bin\\Hostx86\\x64\\cl.exe" > > failed with exit status 2 > > Do I need to set anything further in the path besides the protoc binary > and CMake? > -- 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/6086d0e2-847e-48f6-8b87-99329be0faa0n%40googlegroups.com.
