Re: Object Handler linking problem

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/Compiler-poll-tp3647p3655.html

On 03/17/05 09:54:23, Luca Berardi wrote:

>
> My project includes <ObjectHandler/objhandler.hpp> which includes
> <ObjectHandler/objhandlerdefines.hpp>, which in turn includes
>
> #ifdef BOOST_MSVC
> #  include <ObjectHandler/autolink.hpp>
> #endif
>
> Please note that I include the Boost library in my settings, hence I
> expect that BOOS_MSVC be defined.

Luca,
        if you #define BOOST_LIB_DIAGNOSTIC (either by adding it to your  
project configuration or by adding a #define before including the  
ObjectHandler headers) you should get a message from the compiler telling  
you which library it's trying to link. This might help diagnose the  
problem...

HTH,
        Luigi