runtime_version.h is available from protobuf itself and not generated.

Assume I installed protobuf to INSTALL_PREFIX:
   >> find ${INSTALL_PREFIX}/include -name 'runtime_version.h'
   ${INSTALL_PREFIX}/include/google/protobuf/runtime_version.h

You can find the source directory in the protobuf repo [1].

[1]: 
https://github.com/protocolbuffers/protobuf/blob/v28.1/src/google/protobuf/runtime_version.h
On Sunday, September 15, 2024 at 9:17:15 AM UTC-7 Dương Lê wrote:

> Hello everyone,
> I'm currently working with Protobuf in C++ and I'm trying to generate the 
> necessary header files, such as runtime_version.h. I've followed the 
> instructions in the CMake README, but unfortunately, I haven't had any 
> success.
> Could someone provide guidance on how to properly create these header 
> files? Any tips or examples would be greatly appreciated!
> Thank you in advance for your help!
>

-- 
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/f5f48718-610d-497f-be40-369ddb26ed1bn%40googlegroups.com.

Reply via email to