When I try to compile with my VS 7.1 I get foloing errors (and warnings):
...\_string.c(337): warning C4346: '_STL::basic_string<_CharT,_Traits,_Alloc>::size_type' : dependent name is not a type
...\_string.c(337): error C2143: syntax error : missing ';' before '_STL::basic_string<_CharT,_Traits,_Alloc>::find'
...\_string.c(337): error C2501: '_STL::basic_string<_CharT,_Traits,_Alloc>::size_type' : missing storage-class or type specifiers
...\_string.c(337): warning C4346: '_STL::basic_string<_CharT,_Traits,_Alloc>::find' : dependent name is not a type
prefix with 'typename' to indicate a type
...\_string.c(337): error C2143: syntax error : missing ',' before '*'
...\_string.c(350): warning C4346: '_STL::basic_string<_CharT,_Traits,_Alloc>::size_type' : dependent name is not a type
prefix with 'typename' to indicate a type
...\_string.c(350): error C2143: syntax error : missing ';' before '_STL::basic_string<_CharT,_Traits,_Alloc>::find'
...\_string.c(350): error C2501: '_STL::basic_string<_CharT,_Traits,_Alloc>::size_type' : missing storage-class or type specifiers
...\_string.c(350): error C2065: '_CharT' : undeclared identifier
...\_string.c(350): warning C4346: '_STL::basic_string<_CharT,_Traits,_Alloc>::find' : dependent name is not a type
prefix with 'typename' to indicate a type
...\_string.c(350): error C2146: syntax error : missing ')' before identifier '__c'
...\_string.c(350): error C2501: '_STL::basic_string<_CharT,_Traits,_Alloc>::find' : missing storage-class or type specifiers
...\_string.c(350): error C2350: '_STL::basic_string<_CharT,_Traits,_Alloc>::find' is not a static member
...\_string.c(350): error C2059: syntax error : ')'
...\_string.c(362): error C3861: '_CharT': identifier not found, even with argument-dependent lookup
...\_string.c(362): error C2065: '_Traits' : undeclared identifier
...\_string.c(362): error C2065: '_Alloc' : undeclared identifier
...\_string.c(362): error C2955: '_STL::basic_string' : use of class template requires template argument list
...\_string.h(1155) : see declaration of '_STL::basic_string'
...\_string.c(363): error C3861: '_CharT': identifier not found, even with argument-dependent lookup
...\_string.c(363): error C3861: '_Traits': identifier not found, even with argument-dependent lookup
...\_string.c(363): error C3861: '_Alloc': identifier not found, even with argument-dependent lookup
...\_string.c(363): error C2955: '_STL::basic_string' : use of class template requires template argument list
...\_string.h(1155) : see declaration of '_STL::basic_string'
...\_string.c(364): error C2143: syntax error : missing ';' before '{'
...\_string.c(364): error C2447: '{' : missing function header (old-style formal list?)
...\_string.c(380): fatal error C1903: unable to recover from previous error(s); stopping compilation
...\_string.c(337): warning C4346: '_STL::basic_string<_CharT,_Traits,_Alloc>::size_type' : dependent name is not a type
prefix with 'typename' to indicate a type
...\_string.c(337): error C2143: syntax error : missing ';' before '_STL::basic_string<_CharT,_Traits,_Alloc>::find'
...\_string.c(337): error C2501: '_STL::basic_string<_CharT,_Traits,_Alloc>::size_type' : missing storage-class or type specifiers
...\_string.c(337): warning C4346: '_STL::basic_string<_CharT,_Traits,_Alloc>::find' : dependent name is not a type
prefix with 'typename' to indicate a type
...\_string.c(337): error C2143: syntax error : missing ',' before '*'
...\_string.c(350): warning C4346: '_STL::basic_string<_CharT,_Traits,_Alloc>::size_type' : dependent name is not a type
prefix with 'typename' to indicate a type
...\_string.c(350): error C2143: syntax error : missing ';' before '_STL::basic_string<_CharT,_Traits,_Alloc>::find'
...\_string.c(350): error C2501: '_STL::basic_string<_CharT,_Traits,_Alloc>::size_type' : missing storage-class or type specifiers
...\_string.c(350): error C2065: '_CharT' : undeclared identifier
...\_string.c(350): warning C4346: '_STL::basic_string<_CharT,_Traits,_Alloc>::find' : dependent name is not a type
prefix with 'typename' to indicate a type
...\_string.c(350): error C2146: syntax error : missing ')' before identifier '__c'
...\_string.c(350): error C2501: '_STL::basic_string<_CharT,_Traits,_Alloc>::find' : missing storage-class or type specifiers
...\_string.c(350): error C2350: '_STL::basic_string<_CharT,_Traits,_Alloc>::find' is not a static member
...\_string.c(350): error C2059: syntax error : ')'
...\_string.c(362): error C3861: '_CharT': identifier not found, even with argument-dependent lookup
...\_string.c(362): error C2065: '_Traits' : undeclared identifier
...\_string.c(362): error C2065: '_Alloc' : undeclared identifier
...\_string.c(362): error C2955: '_STL::basic_string' : use of class template requires template argument list
...\_string.h(1155) : see declaration of '_STL::basic_string'
...\_string.c(363): error C3861: '_CharT': identifier not found, even with argument-dependent lookup
...\_string.c(363): error C3861: '_Traits': identifier not found, even with argument-dependent lookup
...\_string.c(363): error C3861: '_Alloc': identifier not found, even with argument-dependent lookup
...\_string.c(363): error C2955: '_STL::basic_string' : use of class template requires template argument list
...\_string.h(1155) : see declaration of '_STL::basic_string'
...\_string.c(364): error C2143: syntax error : missing ';' before '{'
...\_string.c(364): error C2447: '{' : missing function header (old-style formal list?)
...\_string.c(380): fatal error C1903: unable to recover from previous error(s); stopping compilation
stl-error
Moderator: Moderators
-
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 14:37
Yes, I have following the compile.txt, except that I hade to download the WTL 7.1 from Microsoft’s homepage, because the version on DC++ homepage was 7.0.TheParanoidOne wrote:Have you followed the instructions in Compile.txt?
But I use the STL that are on the homepage.
I have put the content of that zip-file in the include directory and write the path in VS (Tool\Options\Projects\VC++ directorys under “Include path�)
-
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 14:37
Don't use Microsoft's one. Get 7.1 from here:
http://sf.net/projects/dcplusplus
That's the "real" page. The other one is perpetually out of date.
http://sf.net/projects/dcplusplus
That's the "real" page. The other one is perpetually out of date.
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
Take a look at the sourceforge page at:
http://sourceforge.net/projects/dcplusplus/
7.1 is there - when you finally do compile, you'll discover that MS's version of 7.1 is missing a fix that was mentioned on the WTL mailing list - that makes the minimize/maximize/close buttons for the MDI windows "walk" off the side of the screen.
http://sourceforge.net/projects/dcplusplus/
7.1 is there - when you finally do compile, you'll discover that MS's version of 7.1 is missing a fix that was mentioned on the WTL mailing list - that makes the minimize/maximize/close buttons for the MDI windows "walk" off the side of the screen.
It was much better to use the files on http://sourceforge.net/project/showfile ... e_id=32827 instead of the files on http://dcplusplus.sourceforge.net/index ... e=download
It is need for some update on http://dcplusplus.sourceforge.net/index ... e=download
It is need for some update on http://dcplusplus.sourceforge.net/index ... e=download