在ubuntu下编译Poco1.6.1
使用odbc时,需要先编译unixODB
./configure --prefix=/home/zhangkun/work/repos
make
make install
make clean
然后在poco的configure中指定odbc的路径
./configure --prefix=/home/zhangkun/work/repos --odbc-lib=/home/zhangkun/work/repos/lib --odbc-include=/home/zhangkun/work/repos/include
make
make install
make clean
使用odbc时,需要先编译unixODB
./configure --prefix=/home/zhangkun/work/repos
make
make install
make clean
然后在poco的configure中指定odbc的路径
./configure --prefix=/home/zhangkun/work/repos --odbc-lib=/home/zhangkun/work/repos/lib --odbc-include=/home/zhangkun/work/repos/include
make
make install
make clean

本文详细介绍了如何在Ubuntu系统中编译Poco 1.6.1版本。首先需要编译unixODBC组件,并指定其安装路径。接着配置Poco编译选项以连接到已安装的unixODBC。最后完成Poco的编译及安装过程。
954

被折叠的 条评论
为什么被折叠?



