简体   繁体   English

Kylin odbc驱动程序C ++解决方案无法构建

[英]Kylin odbc driver C++ solution fails to build

I am unable to build Kylin ODBC C++ solution. 我无法构建Kylin ODBC C ++解决方案。

I followed the instructions found here , unfortunately, I get an error when I try to build the solution. 我按照这里的说明进行操作,不幸的是,当我尝试构建解决方案时出现错误。

I am getting the below error message: 我收到以下错误消息:

Error LNK1181 cannot open input file 'zlibstat.lib' Common C:\\Users\\user1\\Documents\\Visual Studio 2015\\Projects\\kylin-master\\odbc\\Common\\LINK 1 错误LNK1181无法打开输入文件'zlibstat.lib'常见C:\\ Users \\ user1 \\ Documents \\ Visual Studio 2015 \\ Projects \\ kylin-master \\ odbc \\ Common \\ LINK 1

When I include the zlibstat.lib file, I get an error message saying that it is already included. 当我包含zlibstat.lib文件时,我收到一条错误消息,说明它已经包含在内。

The Error looks like your zlibstat.lib cannot be found. 该错误看起来无法找到您的zlibstat.lib

Please check whether ZLIB_HOME is set in Environment Variables and whether project zlib is well compiled. 请检查是否在环境变量中设置了ZLIB_HOME以及项目zlib是否编译得很好。

You can verify with check in file Common.vcxproj . 您可以使用签入文件Common.vcxproj进行验证。
For example you want to build with Release|x64, please check whether can find zlibstat.lib in location $(ZLIB_HOME)\\contrib\\vstudio\\vc11\\x64\\ZlibStatRelease. 例如你想建立与发布| 64,请检查是否可以在位置$(ZLIB_HOME)\\的contrib \\ vstudio \\ VC11 \\ 64 \\ ZlibStatRelease找到zlibstat.lib。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM