Error in compliing test.cpp

Ishank Jain <[email protected]> Thu, 15 Aug 2002 09:55:42 -0500
Newsgroups gmane.comp.gcc.cgicc.general
Message-ID <[email protected]>
Hello friends,

I just started using cgicc as a tool for web. I am trying to compile the
test.cpp demo provided with the default installation of cgicc. It keeps
giving me the following error. No matter what changes I do these errors are
always there. I am using VC++ 6.0 for compilation running on Windows XP. 

 

Compiling...

test.cpp

..\cgicc/CgiEnvironment.h(50): error #802: class
"std::vector<cgicc::HTTPCookie, std::allocator<cgicc::HTTPCookie>>" cannot
be explicitly instantiated in the current scope

    template class CGICC_API STDNS vector<HTTPCookie>;

             ^

..\cgicc/Cgicc.h(53): error #802: class "std::vector<cgicc::FormEntry,
std::allocator<cgicc::FormEntry>>" cannot be explicitly instantiated in the
current scope

    template class CGICC_API STDNS vector<FormEntry>;

             ^

..\cgicc/Cgicc.h(54): error #802: class "std::vector<cgicc::FormFile,
std::allocator<cgicc::FormFile>>" cannot be explicitly instantiated in the
current scope

    template class CGICC_API STDNS vector<FormFile>;

             ^

..\cgicc/HTMLAttributeList.h(50): error #802: class
"std::vector<cgicc::HTMLAttribute, std::allocator<cgicc::HTMLAttribute>>"
cannot be explicitly instantiated in the current scope

    template class CGICC_API STDNS vector<HTMLAttribute>;

             ^

compilation aborted for D:\Development\cgicc-3.2.1\demo\test.cpp (code 2)

Error executing xicl6.exe.

 

test.exe - 4 error(s), 0 warning(s)

 

Please advice,

 

Ishank Jain

----------------------------------------------------------------------------
--------

Engineering Intern

Vital Images Inc.

Minneapolis, MN, USA

Voice: (763) 852-4081

Email: [email protected] <mailto:[email protected]> 

----------------------------------------------------------------------------
--------