apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Donovan <donov...@bellatlantic.net>
Subject Re: sqllen error
Date Sun, 01 Nov 2009 13:28:56 GMT
Stephen Ince wrote:
> I am getting the following error when trying to build the apr-utl 1.3 on 
> win32.
> I am missing odbc setting.
> 
> C:\work\apr-util\dbd\apr_dbd_odbc.c(134) : error C2061: syntax error : 
> identifier 'SQLLEN'
> 

If you are building APR with Visual C++, please make sure that you have installed the 2003
R2 
Platform SDK, or a later version.  This SDK includes the header file sqltypes.h which defines
SQLLEN.

The 2003 SP1 SDK is at 
http://www.microsoft.com/downloads/details.aspx?familyid=EBA0128F-A770-45F1-86F3-7AB010B398A3

More recent versions of the SDK are:
2008 SDK: http://www.microsoft.com/downloads/details.aspx?familyid=F26B1AA4-741A-433A-9BE5-FA919850BDBF
Windows 7 SDK: 
http://www.microsoft.com/downloads/details.aspx?FamilyID=c17ba869-9671-4330-a63e-1fd44e0e2505



Mime
View raw message