|
-
June 1st, 2011, 12:29 AM
#1
VS2010 & STLport 5.2.1 problem
Hi,
I am trying to port an old project built on VS2005 with STLport 5.1 to VS2010 with STLport 5.2.1
I downloaded STLport 5.2.1 and built it successfully with VS2010. I put the libraries and other code in the VC dir and this path is included at the top of my "includes" directories in VS2010.
When I try to build my project I get the following errors:
29> stdafx.cpp
29> glBaseApp.cpp
29>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\array(30): error C2143: syntax error : missing ';' before '<'
29> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\array(213) : see reference to class template instantiation 'stlp_std::tr1::array<_Ty,_Size>' being compiled
29>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\array(30): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
29>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\array(30): error C2238: unexpected token(s) preceding ';'
29>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\array(31): error C2143: syntax error : missing ';' before '<'
29>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\array(31): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
29>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\array(31): error C2238: unexpected token(s) preceding ';'
29>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\array(33): error C3203: 'iterator' : unspecialized class template can't be used as a template argument for template parameter '_Iterator', expected a real type
29>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\array(33): error C2955: 'iterator' : use of class template requires template argument list
29> C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\STLport\stlport\stl/_iterator_base.h(60) : see declaration of 'iterator'
Anyone seen this kind of a thing before or have any suggestions/solutions?
Please let me know if some other info is needed.
Thanks
Nikhil
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|