Setting Library File Locations

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Setting Library File Locations

Iain
I have built QuantLib 1.3 successfully, but an annoyance is that I had to set all the lib/include references to Boost for each project by hand, because I could not access the Expert Settings with VS2013 Express. Is there a quicker way round this?

Thanks

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Setting Library File Locations

Luigi Ballabio
Hello,
    apologies for the delay. Doesn't the method explained in
<http://quantlib.org/install/vc10.shtml> work?

Luigi

On Sat, Mar 8, 2014 at 10:03 PM, Iain <[hidden email]> wrote:

> I have built QuantLib 1.3 successfully, but an annoyance is that I had to
> set all the lib/include references to Boost for each project by hand,
> because I could not access the Expert Settings with VS2013 Express. Is there
> a quicker way round this?
>
> Thanks
>
> ------------------------------------------------------------------------------
> Subversion Kills Productivity. Get off Subversion & Make the Move to
> Perforce.
> With Perforce, you get hassle-free workflows. Merge that actually works.
> Faster operations. Version large binaries.  Built-in WAN optimization and
> the
> freedom to use Git, Perforce or both. Make the move to Perforce.
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
> _______________________________________________
> QuantLib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>



--
<https://implementingquantlib.blogspot.com>
<https://twitter.com/lballabio>

------------------------------------------------------------------------------
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Setting Library File Locations

alex belyakov
starting from VS2012-13 way to setup global lib/include directories has changed:

1) open any solution/project /or create new one
2) go to View -> Other windows -> property manager
3) open any project release/debug -> doble click on Microsoft.Cpp.Win32.user file and edit include and lib dirs to list Boost dirs locations

even if it looks like local changes Microsoft.Cpp.Win32.user  is added to projects globally




On Fri, Mar 28, 2014 at 5:15 PM, Luigi Ballabio <[hidden email]> wrote:
Hello,
    apologies for the delay. Doesn't the method explained in
<http://quantlib.org/install/vc10.shtml> work?

Luigi

On Sat, Mar 8, 2014 at 10:03 PM, Iain <[hidden email]> wrote:
> I have built QuantLib 1.3 successfully, but an annoyance is that I had to
> set all the lib/include references to Boost for each project by hand,
> because I could not access the Expert Settings with VS2013 Express. Is there
> a quicker way round this?
>
> Thanks
>
> ------------------------------------------------------------------------------
> Subversion Kills Productivity. Get off Subversion & Make the Move to
> Perforce.
> With Perforce, you get hassle-free workflows. Merge that actually works.
> Faster operations. Version large binaries.  Built-in WAN optimization and
> the
> freedom to use Git, Perforce or both. Make the move to Perforce.
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
> _______________________________________________
> QuantLib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>



--
<https://implementingquantlib.blogspot.com>
<https://twitter.com/lballabio>

------------------------------------------------------------------------------
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users




--

Regards,
Alex

------------------------------------------------------------------------------

_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Setting Library File Locations

Eric Ehlers-2
In my free copy of VS 2010 the changes to the property pages were not
saved to disk and the workaround was manually to edit file

C:/Users/erik/AppData/Local/Microsoft/MSBuild/v4.0/Microsoft.Cpp.Win32.user.props

Here are the contents of that file that worked for me:

<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
   <PropertyGroup>
     
<IncludePath>C:\Users\erik\Documents\repos\boost_1_52_0;$(IncludePath)</IncludePath>
   </PropertyGroup>
   <PropertyGroup>
     
<LibraryPath>C:\Users\erik\Documents\repos\boost_1_52_0\stage\lib;$(LibraryPath)</LibraryPath>
   </PropertyGroup>
   <PropertyGroup>
     
<IncludePath>C:\Users\erik\Documents\repos\boost_1_52_0;$(IncludePath)</IncludePath>
   </PropertyGroup>
   <PropertyGroup>
     
<LibraryPath>C:\Users\erik\Documents\repos\boost_1_52_0\stage\lib;$(LibraryPath)</LibraryPath>
   </PropertyGroup>
   <PropertyGroup>
     
<IncludePath>C:\Users\erik\Documents\repos\boost_1_52_0;$(IncludePath)</IncludePath>
   </PropertyGroup>
   <PropertyGroup>
     
<LibraryPath>C:\Users\erik\Documents\repos\boost_1_52_0\stage\lib;$(LibraryPath)</LibraryPath>
   </PropertyGroup>
   <PropertyGroup>
     
<IncludePath>C:\Users\erik\Documents\repos\boost_1_52_0;$(IncludePath)</IncludePath>
   </PropertyGroup>
   <PropertyGroup>
     
<LibraryPath>C:\Users\erik\Documents\repos\boost_1_52_0\stage\lib;$(LibraryPath)</LibraryPath>
   </PropertyGroup>
</Project>

Dunno why the 2 paths get repeated 4 times.

Regards,
Eric

On 2014-03-31 17:51, Alexander Belyakov wrote:

> starting from VS2012-13 way to setup global lib/include directories
> has changed:
>
> 1) open any solution/project /or create new one
>  2) go to View -> Other windows -> property manager
> 3) open any project release/debug -> doble click
> on Microsoft.Cpp.Win32.user file and edit include and lib dirs to
> list Boost dirs locations
>
> even if it looks like local changes Microsoft.Cpp.Win32.user  is
> added to projects globally
>
> for
> screenshots: http://www.pricederivatives.com/en/set-global-include-lib-dirs-visual-studio-2012/
> [6]
>
> On Fri, Mar 28, 2014 at 5:15 PM, Luigi Ballabio
> <[hidden email]> wrote:
>
>> Hello,
>>     apologies for the delay. Doesn't the method explained in
>> <http://quantlib.org/install/vc10.shtml [1]> work?
>>
>> Luigi
>>
>> On Sat, Mar 8, 2014 at 10:03 PM, Iain <[hidden email]> wrote:
>>> I have built QuantLib 1.3 successfully, but an annoyance is that
>> I had to
>>> set all the lib/include references to Boost for each project by
>> hand,
>>> because I could not access the Expert Settings with VS2013
>> Express. Is there
>>> a quicker way round this?
>>>
>>> Thanks
>>>
>>>
>>
> ------------------------------------------------------------------------------
>>> Subversion Kills Productivity. Get off Subversion & Make the Move
>> to
>>> Perforce.
>>> With Perforce, you get hassle-free workflows. Merge that actually
>> works.
>>> Faster operations. Version large binaries.  Built-in WAN
>> optimization and
>>> the
>>> freedom to use Git, Perforce or both. Make the move to Perforce.
>>>
>>
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
>> [2]
>>> _______________________________________________
>>> QuantLib-users mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/quantlib-users [3]
>>>
>>
>> --
>> <https://implementingquantlib.blogspot.com [4]>
>> <https://twitter.com/lballabio [5]>
>>
>>
> ------------------------------------------------------------------------------
>> _______________________________________________
>> QuantLib-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/quantlib-users [3]
>
> --
>
> Regards,
> Alex
>
> Links:
> ------
> [1] http://quantlib.org/install/vc10.shtml
> [2]
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&amp;iu=/4140/ostg.clktrk
> [3] https://lists.sourceforge.net/lists/listinfo/quantlib-users
> [4] https://implementingquantlib.blogspot.com
> [5] https://twitter.com/lballabio
> [6]
> http://www.pricederivatives.com/en/set-global-include-lib-dirs-visual-studio-2012/
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> QuantLib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users

--
===================================================
Eric Ehlers
nazcatech sprl | Brussels | http://www.nazcatech.be
* Distributed computing for pricing analytics
* Use Microsoft Excel as a client to the Grid

------------------------------------------------------------------------------
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Setting Library File Locations

Luigi Ballabio
In reply to this post by alex belyakov
Is this the same process outlined in
<http://quantlib.org/install/vc10.shtml>, or is it different? (Apart
from View -> Other windows -> property manager instead of View ->
property manager, from what you said).
Eric: this didn't work for you?

Luigi

On Mon, Mar 31, 2014 at 5:51 PM, Alexander Belyakov <[hidden email]> wrote:

> starting from VS2012-13 way to setup global lib/include directories has
> changed:
>
> 1) open any solution/project /or create new one
> 2) go to View -> Other windows -> property manager
> 3) open any project release/debug -> doble click on Microsoft.Cpp.Win32.user
> file and edit include and lib dirs to list Boost dirs locations
>
> even if it looks like local changes Microsoft.Cpp.Win32.user  is added to
> projects globally
>
> for screenshots:
> http://www.pricederivatives.com/en/set-global-include-lib-dirs-visual-studio-2012/
>
>
>
> On Fri, Mar 28, 2014 at 5:15 PM, Luigi Ballabio <[hidden email]>
> wrote:
>>
>> Hello,
>>     apologies for the delay. Doesn't the method explained in
>> <http://quantlib.org/install/vc10.shtml> work?
>>
>> Luigi
>>
>> On Sat, Mar 8, 2014 at 10:03 PM, Iain <[hidden email]> wrote:
>> > I have built QuantLib 1.3 successfully, but an annoyance is that I had
>> > to
>> > set all the lib/include references to Boost for each project by hand,
>> > because I could not access the Expert Settings with VS2013 Express. Is
>> > there
>> > a quicker way round this?
>> >
>> > Thanks
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Subversion Kills Productivity. Get off Subversion & Make the Move to
>> > Perforce.
>> > With Perforce, you get hassle-free workflows. Merge that actually works.
>> > Faster operations. Version large binaries.  Built-in WAN optimization
>> > and
>> > the
>> > freedom to use Git, Perforce or both. Make the move to Perforce.
>> >
>> > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
>> > _______________________________________________
>> > QuantLib-users mailing list
>> > [hidden email]
>> > https://lists.sourceforge.net/lists/listinfo/quantlib-users
>> >
>>
>>
>>
>> --
>> <https://implementingquantlib.blogspot.com>
>> <https://twitter.com/lballabio>
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> QuantLib-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>>
>
>
>
> --
>
> Regards,
> Alex
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> QuantLib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>



--
<https://implementingquantlib.blogspot.com>
<https://twitter.com/lballabio>

------------------------------------------------------------------------------
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Setting Library File Locations

Eric Ehlers-2
On 2014-04-01 14:23, Luigi Ballabio wrote:
> Is this the same process outlined in
> <http://quantlib.org/install/vc10.shtml>, or is it different? (Apart
> from View -> Other windows -> property manager instead of View ->
> property manager, from what you said).
> Eric: this didn't work for you?

Correct, in addition to the steps documented at the link above, I had to
make other changes to get it to work.  When I edited the paths in the
IDE, they were not reflected in the build and not remembered after
restarting VC.  I bookmarked a page which described exactly the problem
that I observed, and the workaround that worked for me:

http://connect.microsoft.com/VisualStudio/feedback/details/751845/include-paths-via-microsoft-cpp-x64-user-property-page-are-not-pickedup

But... I'm no longer sure in which environment that occurred.  I was
using VC9 and VC10 for 32-bit and VC11 for 32- and 64-bit and I can't
remember when the problem happened.  And now I tried briefly to recreate
the problem and couldn't, so maybe a Windows Update fixed it in the
interim or something.  So let's just keep this episode on file...

Regards,
Eric
--
===================================================
Eric Ehlers
nazcatech sprl | Brussels | http://www.nazcatech.be
* Distributed computing for pricing analytics
* Use Microsoft Excel as a client to the Grid


------------------------------------------------------------------------------
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users