Re: Including Boost in QuantLib_vc10

Posted by simone pilozzi on
URL: http://quantlib.414.s1.nabble.com/Including-Boost-in-QuantLib-vc10-tp527p531.html

Thanks !

On 4 October 2011 12:53, Luigi Ballabio <[hidden email]> wrote:
On Tue, 2011-10-04 at 12:33 +0200, simone pilozzi wrote:
> Hi Luigi,
> It is fixed. In any case you must include the path for each project
> and not for the solution in all (as in VC++2008) isn't it?

Yes.  Another way is to set default include directories for the IDE,
which therefore will apply to all projects and solutions.  If you select
the "Property Manager" tab in the IDE and dig into any of the projects,
you'll find a "Microsoft.Cpp.Win32.user" item.  Even though it seems
there's one for each project and configuration, it's really a shared
one.  If you add the directories there, they will propagate to all the
other projects and/or solutions.

Luigi



> Thanks
>
> On 4 October 2011 12:25, Luigi Ballabio <[hidden email]>
> wrote:
>         On Fri, 2011-09-30 at 12:13 +0200, simone pilozzi wrote:
>         > I am experiencing some difficulties with including
>         boost/config.hpp in
>         > the BermudanSwaption Project in QuantLib_vc10.
>         > The compiler cannot find the path wich is under C:\Program
>         Files\boost
>         > \boost_1_46_1.
>         > Now this path has been included in the include directories
>         of the
>         > project (since the VC++ directories are now defined at
>         project level),
>         > but apparently it is not searched at compile time.
>
>         Strange.  The only idea is that you might have added the
>         include
>         directory for just a configuration and not for others (for
>         instance,
>         Debug and not Release).  I don't see why it shouldn't work
>         otherwise.
>         Does it work for the main library?
>
>         Luigi
>
>
>         --
>
>         There are two ways to write error-free programs; only the
>         third one
>         works.
>         -- unknown
>
>
>

--

Dealing with failure is easy: work hard to improve. Success is also
easy to handle: you've solved the wrong problem. Work hard to improve.
-- Alan Perlis




------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users