Precompiled Version of probuf for VS2017

1,076 views
Skip to first unread message

Frank Willen

unread,
Jan 26, 2018, 10:22:17 AM1/26/18
to Protocol Buffers
Hi,

I want to use the protocol buffers for a mixed solution (C+, C#, both in VS2017). Where can I download precompiled libs, headers and the protoc.exe? Or is it neccessary to build the probuffers for everyone?

Thanks for your support?

Grettings 
Frank

Marc Gravell

unread,
Jan 26, 2018, 10:52:42 AM1/26/18
to Frank Willen, Protocol Buffers
Protoc is available for multiple OSes here: https://github.com/google/protobuf/releases/tag/v3.5.1

Note sure about pre-compiled libs; for Java, they're on mvnrepository; for C# they're on NuGet, etc.

--
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 protobuf+unsubscribe@googlegroups.com.
To post to this group, send email to prot...@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.



--
Regards,

Marc

Frank Willen

unread,
Jan 29, 2018, 6:59:04 AM1/29/18
to Protocol Buffers
Hi Marc,

many thanks for your reply. I already found the versions for different languages on github but didn't found a way to use these directly. But this can be based on my ignorance of probuffer ;-).

Actually I would proceed this way:
1.: download and extract protobuf-all-3.5.1.zip
2.: Generate Makefile with CMake
3.: Generate Protoc.exe, libs and Headers with <nmake.exe >
4.: test the build with <nmake.exe Check>
5.: generate with <nmake.exe install>
6.: Create Proto-File and translate it into code with protoc.exe
7.: C++: include generated files and headers from install-Folder
8.: C#: include generated files and select the correct version of protobuffer in NuGet.


Instead of steps 1 - 5 I only want to download a zip-file with Protoc.exe, the libs and headers for C++ and want to proceed with step 6. In C# this is possible (NuGet). Is there any way in C++ I don't know?

Regards,
Frank



Am Freitag, 26. Januar 2018 16:52:42 UTC+1 schrieb Marc Gravell:
Protoc is available for multiple OSes here: https://github.com/google/protobuf/releases/tag/v3.5.1

Note sure about pre-compiled libs; for Java, they're on mvnrepository; for C# they're on NuGet, etc.
On 26 January 2018 at 15:22, 'Frank Willen' via Protocol Buffers <prot...@googlegroups.com> wrote:
Hi,

I want to use the protocol buffers for a mixed solution (C+, C#, both in VS2017). Where can I download precompiled libs, headers and the protoc.exe? Or is it neccessary to build the probuffers for everyone?

Thanks for your support?

Grettings 
Frank

--
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 protobuf+u...@googlegroups.com.

To post to this group, send email to prot...@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.



--
Regards,

Marc

Stuart Dootson

unread,
Jan 29, 2018, 11:49:58 AM1/29/18
to Frank Willen, Protocol Buffers
Hi Frank

One option might be to use Microsoft's vcpkg package manager for Visual C++ (https://github.com/Microsoft/vcpkg). That does steps 1-5 for you (once you've done the couple of steps of installing vcpkg...). If you're using other open source C++ libraries, they might be available through vcpkg as well, giving you a consistent process for third party libraries...

Stuart Dootson

-- 
Regards,

Marc

-- 

Frank Willen

unread,
Jan 30, 2018, 10:16:28 AM1/30/18
to Protocol Buffers
Hi Stuart,

I will take a look at vcpkg and decide, which way we will proceed. 

Thank you

Regards,
Frank
Reply all
Reply to author
Forward
0 new messages