-
April 27th, 2010, 02:06 AM
#1
compiling log4cplus in vc6
Hi all,
I compiled the log4cplus code in vc8 it compiled correctly and i can able to use it in vc8 projects, and then when i tried to use the dll in vc6 i got 2 unresolved functions... as usual i expected but i got only 2 out of 10 to 20 class definations. so i decided to compile the log4cplus in vc6 but i could not able to compile because of so many errors from c++ std library
Example:
e:\testprograms\log4cplus\helpers\stringhelper.h(148) : error C2977: 'iterator' : too many template arguments
c:\program files\microsoft visual studio\vc98\include\utility(71) : see declaration of 'iterator'
e:\testprograms\log4cplus\helpers\stringhelper.h(184) : see reference to class template instantiation 'log4cplus::helpers::string_append_iterator<Container>' being compiled
e:\testprograms\loggingframework\src\configurator.cxx(350) : error C2065: 'remove_copy_if' : undeclared identifier
e:\testprograms\log4cplus\helpers\stringhelper.h(148) : error C2977: 'iterator' : too many template arguments
c:\program files\microsoft visual studio\vc98\include\utility(71) : see declaration of 'iterator'
e:\testprograms\loggingframework\src\configurator.cxx(351) : see reference to class template instantiation 'log4cplus::helpers::string_append_iterator<class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::
allocator<unsigned short> > >' being compiled
so i could not able to use this log4cplus module in vc6.
Please help me in using the log4cplus in vc6. u can download this module from
http://log4cplus.sourceforge.net/
thanks in advance
-
April 27th, 2010, 03:28 AM
#2
Re: compiling log4cplus in vc6
Perhaps, this log4cplus requires at least VS2005?
Victor Nijegorodov
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
|