How to build Google’s protobuf in Windows using MinGW

CMAKE Config


mingw32-make & install

  1. c:\protobuf-3.5.1build>mingw32-make
  2. Scanning dependencies of target libprotobuf-lite
  3. [  0%] Building CXX object CMakeFiles/libprotobuf-lite.dir/C_/protobuf-3.5.1/src/google/protobuf/arena.cc.obj
  4. [  1%] Building CXX object CMakeFiles/libprotobuf-lite.dir/C_/protobuf-3.5.1/src/google/protobuf/arenastring.cc.obj
  5. [  1%] Building CXX object CMakeFiles/libprotobuf-lite.dir/C_/protobuf-3.5.1/src/google/protobuf/extension_set.cc.obj
  6. [  2%] Building CXX object CMakeFiles/libprotobuf-lite.dir/C_/protobuf-3.5.1/src/google/protobuf/generated_message_table_driven_lite.cc.obj
  7. ......
  8.  
  9. c:\protobuf-3.5.1build>mingw32-make install
  10. [ 12%] Built target libprotobuf-lite
  11. [ 52%] Built target libprotobuf
  12. [ 52%] Built target js_embed
  13. [ 99%] Built target libprotoc
  14. [100%] Built target protoc
  15. Install the project...
  16. -- Install configuration: ""
  17. -- Installing: C:/protobuf-3.5.1-qt5.9/lib/libprotobuf-lite.a
  18. -- Installing: C:/protobuf-3.5.1-qt5.9/lib/libprotobuf.a
  19. -- Installing: C:/protobuf-3.5.1-qt5.9/lib/libprotoc.a
  20. -- Installing: C:/protobuf-3.5.1-qt5.9/bin/protoc.exe
  21. ......

Leave a Reply

Your email address will not be published. Required fields are marked *