On Mar 15, 2008, at 8:22 AM, kvineeth wrote:
Can anybody suggest me what i need to give as an compilation option to
compile it properly.
I tried it from command line this way
@ubuntu:/home/users/vineeth/LOG4C++/log4cpp-1.0/vini$ g++ handle.cpp
handle.cpp: In function âint main(int, char**)â:
/u
Hi,
you seem to have a mixture between log4cxx and log4cpp:
/usr/local/include/log4cpp/Category.hh:624: error:
^
The easiest solution might be to remove the liblog4cpp4/5-dev package.
Or, add "-I/path/to/log4cxx/include" as a compiler option.
A good starting point could
ry.hh:624: error:
âlog4cpp::Category::Category(const log4cpp::Category&)â is private
handle.cpp:20: error: within this context
handle.cpp:51: error: âENDLINEâ is not a member of âlog4cpp::CategoryStreamâ
handle.cpp:52: error: âENDLINEâ is not a member of âlog4cpp::CategoryStreamâ
handle.cpp:55: error: âENDLINEâ is not a member of âlog4cpp::CategoryStreamâ
and it gave me the foll erros
--
View this message in context:
http://www.nabble.com/suggest-a-makefile-tp16067610p16067610.html
Sent from the Log4cxx - Users mailing list archive at Nabble.com.