How to build Google's protobuf in Windows using MinGW?

后端 未结 3 1069
醉酒成梦
醉酒成梦 2020-11-30 06:06

I\'m using Codeblocks as my IDE with MingGW. I\'m trying to use google protocol buffers, but I\'m having trouble building the protobuf.

The readme file for protobu

3条回答
  •  無奈伤痛
    2020-11-30 06:26

    In my case Peter's answer did not work completely, I used the latest MinGW 4.8.1 + the MSys distribution (selected both MSys packages in mingw-get).

    My problem was that the prefix didn't really work, I could only find the files in C:\MinGW\msys\1.0\local . However, after copying the bin / include / libs folders to c:\mingw, the installation worked for me, too.

提交回复
热议问题