Thank you. That worked for getting past the previous error.  Now I get to 100% 
compiling and receive –

 

[100%] Building CXX object wengophone/src/presentation/qt/CMakeFiles/QuteCom.dir

/WinApp.obj

WinApp.cpp

Linking to lib file: boost_signals-vc90-mt-1_40.lib

Linking to lib file: boost_thread-vc90-mt-1_40.lib

Linking to lib file: boost_date_time-vc90-mt-1_40.lib

Linking CXX executable QuteCom.exe

owphone.lib(ContactGroup.obj) : error LNK2005: "protected: __thiscall std::_Cont

ainer_base_aux_alloc_real<class std::allocator<class std::basic_string<char,stru

ct std::char_traits<char>,class std::allocator<char> > > >::~_Container_base_aux

_alloc_real<class std::allocator<class std::basic_string<char,struct std::char_t

raits<char>,class std::allocator<char> > > >(void)" (??1?$_Container_base_aux_al

loc_r...@v?$allocator@v?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@s

td@@@std@@@std@@i...@xz) already defined in owutil.lib(owutil.dll)

owphone.lib(ContactGroup.obj) : error LNK2005: "protected: __thiscall std::_Cont

ainer_base_aux_alloc_real<class std::allocator<class std::basic_string<char,stru

ct std::char_traits<char>,class std::allocator<char> > > >::_Container_base_aux_

alloc_real<class std::allocator<class std::basic_string<char,struct std::char_tr

aits<char>,class std::allocator<char> > > >(class std::allocator<class std::basi

c_string<char,struct std::char_traits<char>,class std::allocator<char> > >)" (??

0?$_container_base_aux_alloc_r...@v?$allocator@v?$basic_str...@du?$char_traits@D

@std@@v?$alloca...@d@2@@std@@@std@@@std@@i...@v?$allocator@v?$basic_str...@du?$ch

ar_tra...@d@std@@v?$alloca...@d@2@@std@@@1@@Z) already defined in owutil.lib(owu

til.dll)

   Creating library QuteCom.lib and object QuteCom.exp

QuteCom.exe : fatal error LNK1169: one or more multiply defined symbols found

LINK failed. with 2

NMAKE : fatal error U1077: '"C:\Program Files\CMake 2.8\bin\cmake.exe"' : return

 code '0xffffffff'

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.

 

 

What a tease! Hah.  Is there any way around this? I know I read in a thread 
that was about 6 months old that there were linking issues with VS2008.  I was 
hoping that they had been resolved by now.

 

Thanks again for any help, 

-AF

 

 

 

From: hmwz3 [mailto:[email protected]] 
Sent: Thursday, December 17, 2009 12:34 AM
To: Adam Ford
Cc: qutecom-dev
Subject: Re:Building in win32 with VS2008

 

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