[protobuf] GzipOutputStream unresolved external symbol

2014-07-16 Thread Henry Poon
Hi, I am using the 2.5.0 version of the protobuf lib and so far it has been okay serializing stuff to file using FileOutputStream. However, I am now trying to use GzipOutputStream, but writing code like the following causes a linker error for unresolved external symbol: rawDataOutput_ = new

[protobuf] Re: GzipOutputStream unresolved external symbol

2014-07-17 Thread Henry Poon
Never mind. Problem solved. This was because I did not make the modifications to the solution to compile with zlib. Stumbled onto the instructions here: https://code.google.com/p/protobuf/source/browse/trunk/vsprojects/readme.txt?r=173 On Wednesday, July 16, 2014 3:55:21 PM UTC-7, Henry