Tutorial :log4cpp gives `unresolved external` errors


I'm trying to make work the library and run the tests provided with the latest version of log4cpp on Borland Codegear 2007, in which it's included a bpr project for Borland C++ Builder 5, which is meant to be able to build and run the different tests. The problem is that I'm trying to open this project with the 2007 version, which has to carry out a project conversion. I was getting weird 'unresolved external' errors. Then I've tried to build the project myself without converting anything, but got stuck in the same point.

I'm trying to run the following test :

#include <stdio.h>  #include "log4cpp/Portability.hh"  #ifdef LOG4CPP_HAVE_UNISTD_H  #include <unistd.h>  

Next Post »