Home > Software engineering >  Protobuf using mingw, compile a static library, how to use in visual studio 200 x.
Protobuf using mingw, compile a static library, how to use in visual studio 200 x.

Time:10-14

1. Using mingw, through a variety of torture, finally successfully compile the protobuf static library (download the latest code on the lot, the previous version have vs project, can be normal compile, link),
2. Write a simple test program with visual studio 2008, link the mingw compiler. A file, the tip of a pile of errors, are linking phase, should be the problem of the library,
So play successful?

CodePudding user response:

These two kinds of static library format is different, nature can't use,

CodePudding user response:

Mingw should be made up of the Linux library, VS have no way to use directly
  • Related