|
Pages: [1]
|
 |
|
Author
|
Topic: Problem with DIY Kit in Visual Studio 2008 (Read 142 times)
|
guptesanket
Newbie

Posts: 3
|
Hi, I am using Visual Studio 2008 for VC++. I tried opening the GoIO_Console2 source code provided in DIY, by vernier. I am not able to run the project, it is giving many many errors. The following are a few sample errors.. c:\program files (x86)\microsoft visual studio 9.0\vc\include\xstring(523) : error C2059: syntax error : '<' c:\program files (x86)\microsoft visual studio 9.0\vc\include\xstring(523) : error C2238: unexpected token(s) preceding ';' c:\program files (x86)\microsoft visual studio 9.0\vc\include\xstring(1525) : error C2146: syntax error : missing ';' before identifier 'rbegin' c:\program files (x86)\microsoft visual studio 9.0\vc\include\xstring(1525) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files (x86)\microsoft visual studio 9.0\vc\include\stdexcept(47) : see reference to class template instantiation 'std::basic_string<_Elem,_Traits,_Ax>' being compiled with [ _Elem=char, _Traits=std::char_traits, _Ax=std::allocator ]
c:\program files (x86)\microsoft visual studio 9.0\vc\include\vector(1886) : error C2065: '_Myt' : undeclared identifier c:\program files (x86)\microsoft visual studio 9.0\vc\include\vector(1886) : error C2990: 'std::_Vb_iter_base' : non-class template has already been declared as a class template c:\program files (x86)\microsoft visual studio 9.0\vc\include\vector(1369) : see declaration of 'std::_Vb_iter_base' c:\program files (x86)\microsoft visual studio 9.0\vc\include\vector(1887) : error C2065: '_Myt' : undeclared identifier
c:\program files (x86)\microsoft visual studio 9.0\vc\include\functional(912) : error C2039: 'wstring' : is not a member of 'std::std' c:\program files (x86)\microsoft visual studio 9.0\vc\include\xstring(522) : error C2039: 'reverse_iterator' : is not a member of 'std::std' c:\program files (x86)\microsoft visual studio 9.0\vc\include\functional(918) : see reference to class template instantiation 'std::basic_string<_Elem,_Traits,_Ax>' being compiled with [ _Elem=wchar_t, _Traits=std::char_traits, _Ax=std::allocator ] c:\program files (x86)\microsoft visual studio 9.0\vc\include\xstring(522) : error C2059: syntax error : '<' c:\program files (x86)\microsoft visual studio 9.0\vc\include\xstring(522) : error C2238: unexpected token(s) preceding ';' c:\program files (x86)\microsoft visual studio 9.0\vc\include\xstring(523) : error C2039: 'reverse_iterator' : is not a member of 'std::std' c:\program files (x86)\microsoft visual studio 9.0\vc\include\xstring(523) : error C2059: syntax error : '<' c:\program files (x86)\microsoft visual studio 9.0\vc\include\xstring(523) : error C2238: unexpected token(s) preceding ';' c:\program files (x86)\microsoft visual studio 9.0\vc\include\xstring(1525) : error C2146: syntax error : missing ';' before identifier 'rbegin' c:\program files (x86)\microsoft visual studio 9.0\vc\include\xstring(1525) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
Can anyone help me to run the provided VC++ program in Visual Studio 2008? I would be really glad.. ! 'Commenting out the code in GStdIncludes.h' is one of the solutions provided in one of the earlier threads, but that does not help.
|
|
|
|
« Last Edit: July 06, 2010, 08:18:58 AM by guptesanket »
|
Logged
|
|
|
|
Elliot
Vernier Specialist
Full Member
  
Posts: 130
|
The basic problem is that the sample code was built with Visual Studio 6, which is circa 2000. We will post an updated version that should work with Visual Studio 2008 later this week.
|
|
|
|
|
Logged
|
|
|
|
|
Pages: [1]
|
|
|
|
|
|