Google's Protocol Buffers (protobuf) on OSX
Michael Sumulong last edited by
I have a Qt project that uses Google's Protocol Buffers library and I have been able to successfully compile the project under Linux and Windows but I am having difficulty getting the Qt project to link properly with the protobuf library. I can compile the protobuf using the normal ./configure && make && make install commands. However once I compile my Qt project that uses protobuf, I get a compiler error saying "Undefined symbols for architecture x86_64."
mcosta last edited by
Hi and welcome to the devnet,
I use protobuf too (in Windows, Linux and OSX).
In our OSX environment we build protobuf with
$PROTOBUF_SRC_DIR/configure --silent --prefix=$PREFIX --disable-shared --enable-dependency-tracking=no