Posted by
Eric Ehlers-2 on
URL: http://quantlib.414.s1.nabble.com/Setting-Library-File-Locations-tp15052p15103.html
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&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