¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

VC and 10.35 and Protocol Buffers


 

In MSVC, has anyone succeeded in downloading the protocol buffer code, and the extra linked project ABSL code, and gotten it to compile with the sample API projects?? Not me so far.
?
The TWS-API revision # of PB in the supplied files is 5029003, and it needs the .h files from the protocolbuf project to compile.
The closest I can find for PB source version is the 29.x branch.? Though this build is actually 5029005 - so I adjusted the # to match.
?
Next is the linked ABSL (abseil-cpp) project and the branch with LTS 2024-07-22 was likely the current one to match PB 29 at the time, and avoids a bunch of function / link errors that the master and other branches cause.
?
Next adjust the VC source to the PB demanded C++ v17 code.
?
This combination gets me almost compiled, but with one error I cannot solve:? error C2857: '#include' statement specified with the /Ycstdafx.h command-line option was not found in the source file.? All the included files are there, so something is still a miss.?? The google side is built without a global include file, but the VC project uses the stdafx.h.??? I can't get anything to agree here.
?
Stumped.
?
?
?