Reputation: 3798
I have spend 2 hours to search how I can setup the protobuf in windows for java. I really tied by searching and didn't find any way. Some say download the binary protoc.exe
from https://github.com/google/protobuf/releases and some say download the source code then generate the binary.
I stopped my self by searching after reading about each page related to this from first google search. But still didn't find a way to solve it. There is no protoc.exe
file in google release page and I don't know how I can create it because I don't have good experience in C++ ( Just know the basics ).
So I posted the question here to get help. Please let me know how I can download protoc.exe
file. If not then how I can create it? I just downloaded protobuf-java-3.4.1.zip
from google release page.
Upvotes: 3
Views: 722
Reputation: 7638
You can find the precompiled binary on the 3.4.0 release.
The archive to download for windows is protoc-3.4.0-win32.zip
.
The 3.4.1
release contains only minor bugfixes, so they probably didn't bother to create the binary for it.
Upvotes: 2
Reputation: 1456
Download the package for CPP from the github https://github.com/google/protobuf/releases/tag/v3.4.1
Below is the download link, https://github.com/google/protobuf/releases/download/v3.4.1/protobuf-cpp-3.4.1.zip Extract it, goto "cmake" directory and read the readme.md doc. It lists line by line procedure for windows environment setup.
Upvotes: 0