Try comment out those redefinition, wininet.h already defined them

在2009-12-17,"Adam Ford" <[email protected]> 写道:


I am trying to get QuteCom to build in win32 using VS2008 so that I can test 
with the 2.5.9 version of libpurple.  I have followed the instructions on the 
wiki as well as used the patch at http://trac.qutecom.org/ticket/115 for vs9.  
However I am now getting an error at about 55% -

 

[ 55%] Building CXX object wifo/netlib/CMakeFiles/netlib.dir/src/netlib.obj

netlib.cpp

c:\development\qutecom\qutecom-2.2\wifo\netlib\src\bugfix.h(28) : error C2371: '

AutoProxyHelperVtbl' : redefinition; different basic types

        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wininet.h(3658) :

see declaration of 'AutoProxyHelperVtbl'

c:\development\qutecom\qutecom-2.2\wifo\netlib\src\bugfix.h(32) : error C2371: '

AutoProxyHelperFunctions' : redefinition; different basic types

        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wininet.h(3713) :

see declaration of 'AutoProxyHelperFunctions'

c:\development\qutecom\qutecom-2.2\wifo\netlib\src\bugfix.h(38) : error C2371: '

AUTO_PROXY_SCRIPT_BUFFER' : redefinition; different basic types

        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wininet.h(3710) :

see declaration of 'AUTO_PROXY_SCRIPT_BUFFER'

NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~1.0\VC\bin\cl.exe' : return code

'0x2'

Stop.

NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN

\nmake.exe"' : return code '0x2'

Stop.

NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN

\nmake.exe"' : return code '0x2'

Stop.

 

Versions –

CMake 2.8.0

Qt 4.6.0

Boost 1.40 

Microsoft Platform SDK for Windows Server 2003 R2

Microsoft DirectX (August 2007) SDK

 

 

Any help will be greatly appreciated
_______________________________________________
QuteCom-dev mailing list
[email protected]
http://lists.qutecom.org/mailman/listinfo/qutecom-dev

Reply via email to