background left curve

Vernier Discussion Forum

Welcome to the community!
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 02, 2010, 01:30:15 PM
Return to www.vernier.com
background right curve
Left icon Home Help Search Login Register Right icon

Vernier Discussion Forum  >  Community Commons  >  Do-It-Yourself  >  Topic: Problem with DIY Kit in Visual Studio 2008 « previous next »
Pages: [1] Print
Author Topic: Problem with DIY Kit in Visual Studio 2008  (Read 142 times)
guptesanket
Newbie
*
Posts: 3


Problem with DIY Kit in Visual Studio 2008
« on: July 05, 2010, 02:48:38 PM »

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


Re: Problem with DIY Kit in Visual Studio 2008
« Reply #1 on: July 06, 2010, 04:26:10 PM »

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] Print 
Vernier Discussion Forum  >  Community Commons  >  Do-It-Yourself  >  Topic: Problem with DIY Kit in Visual Studio 2008 « previous next »
Jump to:  


Login with username, password and session length
 
www.vernier.com » Home | Products | Subject Areas | Support | Training | Resources | Downloads | Ordering | Legal | Site Map
Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC