Unregistered
April 21, 2005, 15:23:50
Hi,
I ran into a problem when i try to compile a very basic program. I use VS2003 on Win2000 with DXSDK9 installed. I followed the instructions in help file to create a new project and after i added
#include "tisudshl.h"
#include <algorithm>
to stdafx.h the project won't compile giving me these errors:
c:\Program Files\The Imaging Source Europe GmbH\IC Imaging Control 2.1\ClassLib\include\Grabber.h(120) : error C2146: syntax error : missing ';' before identifier 'tVideoFormatItem'
c:\Program Files\The Imaging Source Europe GmbH\IC Imaging Control 2.1\ClassLib\include\Grabber.h(120) : error C2501: 'DShowLib::Grabber::tVideoFormatItem' : missing storage-class or type specifiers
c:\Program Files\The Imaging Source Europe GmbH\IC Imaging Control 2.1\ClassLib\include\Grabber.h(121) : error C2065: 'tVideoFormatItem' : undeclared identifier
c:\Program Files\The Imaging Source Europe GmbH\IC Imaging Control 2.1\ClassLib\include\Grabber.h(121) : error C2955: 'std::vector' : use of class template requires template argument list
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\vector(896) : see declaration of 'std::vector'
c:\Program Files\The Imaging Source Europe GmbH\IC Imaging Control 2.1\ClassLib\include\Grabber.h(121) : error C2955: 'std::vector' : use of class template requires template argument list
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\vector(896) : see declaration of 'std::vector'
c:\Program Files\The Imaging Source Europe GmbH\IC Imaging Control 2.1\ClassLib\include\Grabber.h(123) : error C3203: 'vector' : class template invalid as template argument for template parameter 'TType', expected a real type
I'm a little bit frustrated especially since i never had this kind of problem before with these libraries. I'd apreciate any help or hints on what could be the problem with my setup.
Thanks.
I ran into a problem when i try to compile a very basic program. I use VS2003 on Win2000 with DXSDK9 installed. I followed the instructions in help file to create a new project and after i added
#include "tisudshl.h"
#include <algorithm>
to stdafx.h the project won't compile giving me these errors:
c:\Program Files\The Imaging Source Europe GmbH\IC Imaging Control 2.1\ClassLib\include\Grabber.h(120) : error C2146: syntax error : missing ';' before identifier 'tVideoFormatItem'
c:\Program Files\The Imaging Source Europe GmbH\IC Imaging Control 2.1\ClassLib\include\Grabber.h(120) : error C2501: 'DShowLib::Grabber::tVideoFormatItem' : missing storage-class or type specifiers
c:\Program Files\The Imaging Source Europe GmbH\IC Imaging Control 2.1\ClassLib\include\Grabber.h(121) : error C2065: 'tVideoFormatItem' : undeclared identifier
c:\Program Files\The Imaging Source Europe GmbH\IC Imaging Control 2.1\ClassLib\include\Grabber.h(121) : error C2955: 'std::vector' : use of class template requires template argument list
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\vector(896) : see declaration of 'std::vector'
c:\Program Files\The Imaging Source Europe GmbH\IC Imaging Control 2.1\ClassLib\include\Grabber.h(121) : error C2955: 'std::vector' : use of class template requires template argument list
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\vector(896) : see declaration of 'std::vector'
c:\Program Files\The Imaging Source Europe GmbH\IC Imaging Control 2.1\ClassLib\include\Grabber.h(123) : error C3203: 'vector' : class template invalid as template argument for template parameter 'TType', expected a real type
I'm a little bit frustrated especially since i never had this kind of problem before with these libraries. I'd apreciate any help or hints on what could be the problem with my setup.
Thanks.