compiling the source code

Talk about and discuss anything thats on your mind

compiling the source code

Postby david.dda » 26 Mar 2010, 21:28

Hi, I tried to download the source code for AirDC++, opened the Setup.vdproj file in VS2008 set Release Win32 and Built the Solution. However, there have been a lot of errors reported during the build process. Please can someone help me to solve the problems. Here is a sample of the build for the project client, does anyone has a clue, how to suppress those errors? :

------ Build started: Project: client, Configuration: Release Win32 ------
Compiling...
stdinc.cpp
c:\Program Files\Microsoft Visual Studio 9.0\VC\include\unordered_map(85) : error C2065: '_Hash_compare' : undeclared identifier
c:\Program Files\Microsoft Visual Studio 9.0\VC\include\unordered_map(215) : see reference to class template instantiation 'std::tr1::unordered_map<_Kty,_Ty,_Hasher,_Keyeq,_Alloc>' being compiled
c:\Program Files\Microsoft Visual Studio 9.0\VC\include\unordered_map(85) : error C2974: 'std::tr1::_Umap_traits' : invalid template argument for '_Tr', type expected
c:\Program Files\Microsoft Visual Studio 9.0\VC\include\unordered_map(21) : see declaration of 'std::tr1::_Umap_traits'
c:\Program Files\Microsoft Visual Studio 9.0\VC\include\unordered_map(85) : error C2975: 'std::tr1::_Umap_traits' : invalid template argument for '_Mfl', expected compile-time constant expression
c:\Program Files\Microsoft Visual Studio 9.0\VC\include\unordered_map(21) : see declaration of 'std::tr1::_Umap_traits'
c:\Program Files\Microsoft Visual Studio 9.0\VC\include\unordered_map(85) : error C2977: 'stdext::_Hash' : too many template arguments
c:\Program Files\Microsoft Visual Studio 9.0\VC\include\xhash(147) : see declaration of 'stdext::_Hash'
c:\Program Files\Microsoft Visual Studio 9.0\VC\include\unordered_map(85) : error C2955: 'stdext::_Hash' : use of class template requires template argument list
c:\Program Files\Microsoft Visual Studio 9.0\VC\include\xhash(147) : see declaration of 'stdext::_Hash'
c:\Program Files\Microsoft Visual Studio 9.0\VC\include\unordered_map(85) : error C2143: syntax error : missing ',' before '>'
c:\Program Files\Microsoft Visual Studio 9.0\VC\include\unordered_map(88) : error C2143: syntax error : missing ';' before '<'
c:\Program Files\Microsoft Visual Studio 9.0\VC\include\unordered_map(88) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
david.dda
 

Return to The Round Table

Who is online

Users browsing this forum: No registered users and 2 guests

cron