title: log4cplus link errors when used in VS2012
body: <p>I've download and compiled log4cplus in VS2012.
  Compilation was fine (both debug and release)
  I've tried to use it my code but I get 3 link errors, nothing I tried didn't remove them.
  I'm using the same includes from the log4cplus project, and the libs I've compiled (tried all 3... debug release and the log4cplusS.lib</p>
  
  <p>I still get these:</p>
  
  <blockquote>
    <p>error LNK2019: unresolved external symbol "__declspec(dllimport) class
    std::basic_ostringstream,class std::allocator > &amp; __cdecl
    log4cplus::detail::get_macro_body_oss(void)"
    (_<em>imp</em>?get_macro_body_oss@detail@log4cplus@@YAAAV?$basic_ostringstream@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@XZ)
    referenced in function "int __cdecl Prepare(class
    std::basic_string,class
    std::allocator > &amp;,class std::basic_string,class std::allocator > &amp;,class
    std::basic_string,class
    std::allocator > &amp;,int *,int *,int *)"
    (?Prepare@@YAHAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@00PAH11@Z)  </p>
    
    <p>error LNK2019: unresolved external symbol "__declspec(dllimport)
    public: static class log4cplus::Logger __cdecl
    log4cplus::Logger::getInstance(class std::basic_string,class std::allocator > const &amp;)"
    (_<em>imp</em>?getInstance@Logger@log4cplus@@SA?AV12@ABV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@@Z)
    referenced in function "int __cdecl Prepare(class
    std::basic_string,class
    std::allocator > &amp;,class std::basic_string,class std::allocator > &amp;,class
    std::basic_string,class
    std::allocator > &amp;,int *,int *,int *)"
    (?Prepare@@YAHAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@00PAH11@Z)</p>
  </blockquote>
  
  <p>What is wrong?</p>
  
  <p>My code is simple, in my dll cpp:</p>
  
  <p>in the top of cpp  I added </p>
  
  <pre><code>static Logger logger;
  </code></pre>
  
  <p>in one of the function I've added: </p>
  
  <pre><code>logger = Logger::getInstance(LOG4CPLUS_TEXT("MyDLL"));
  LOG4CPLUS_INFO(logger, LOG4CPLUS_TEXT("Prepare Starts"));
  </code></pre>