MINGW32下google protobuffer 中 examples的 c++例子的编译方法
来源:互联网 发布:windows samba shared 编辑:程序博客网 时间:2024/05/19 10:15
1.msys 安装pkg-config
参照http://mysuperbaby.iteye.com/blog/906223
下载pkg-config-0.23-2.zip及glib_2.18.4-1_win32.zip
http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config_0.23-3_win32.zip
http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.18/glib_2.18.4-1_win32.zip
把glib_2.18.4-1_win32.zip中的libglib-2.0-0.dll与pkg-config.exe放在/mingw/bin/目录.
2. 设置环境变量
export PKG_CONFIG=/mingw/bin/pkg-config.exe
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
3.重启msys
4.make cpp
5.可在makefile中加make 2>&1 | tee build.log
用以察看编译输出日志
- MINGW32下google protobuffer 中 examples的 c++例子的编译方法
- 使用mingw32编译QT下mysql驱动的流程
- linux下交叉编译mingw32的openssl库
- qwt 在QT+mingw32里的编译方法
- vs2013编译 protoBuffer编译出现的问题
- sqlite3 在 mingw32 中编译碰到的怪事
- unity中ProtoBuffer的使用
- mingw32 下编译 zlib
- DEVCPP5 设置使用mingw32的编译环境
- gcc g++ c++ mingw32-c++.exe mingw32-g++.exe mingw32-gcc.exe之间的关系
- Windows下的mingw32显示中文
- Ubuntu下mingw32装不上的问题
- Qt 5.7.1/5.8.0 在 msvc2015/mingw32 方式下的静态编译过程
- Qt 5.7.1/5.8.0/5.9.0 在 msvc2015/mingw32 方式下的静态编译过程
- 如何编译google test的例子?
- protobuf 中 examples的编译 cpp和python
- google protobuffer
- Mac下安装使用Google ProtoBuffer
- FreeMarker初识,编码错误引发异常
- Java Card Technology for Smart Card's Architecture and Programmer's Guide (Zhiqun Chen)翻译版(PART 1)
- nutch-0.9在Toomcat上搜索时出现问题的解决办法
- HashMap深度分析
- Java Card Technology for Smart Card's Architecture and Programmer's Guide (Zhiqun Chen)翻译版(PART 2、3)
- MINGW32下google protobuffer 中 examples的 c++例子的编译方法
- CPU卡中T=0通讯协议的分析与实现
- rebar工具使用备忘录
- Linux驱动编程 step-by-step (一)
- 算法开篇
- Nginx 网络通信关键分析初步
- 字符串数组中查找字符串
- Web container configuration : use of jboss-web.xml
- android源代码结构分析