在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