Re: quant lib installation

Posted by Marianne James on
URL: http://quantlib.414.s1.nabble.com/quant-lib-installation-tp16704p16706.html

Hi Kausik,
I think you need to change your project settings as it looks like it's trying to create folders under the C:\Program Files (x86) folder which you don't have permission to do. Alternatively you could run Visual Studio as an Administrator which would give you the elevated permissions you need but I'd recommend moving the entire project out of C:\Program Files (x86). 

Thanks
Ed James

On 8 July 2015 at 13:42, Kausik Datta <[hidden email]> wrote:
  I am a new user. I am trying to install quantlib. I am using VC++ 12. I followed installation instruction in the website but I get following error after step 7 (i.e. when I try to build solution)

Can any body help pl.

1>------ Build started: Project: QuantLib, Configuration: Debug Win32 ------
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(347,5): error MSB3191: Unable to create directory ".\build\vc120\Win32\Debug\". Access to the path '.\build\vc120\Win32\Debug\' is denied.
2>------ Build started: Project: testsuite, Configuration: Debug Win32 ------
3>------ Build started: Project: Swap, Configuration: Debug Win32 ------
4>------ Build started: Project: EquityOption, Configuration: Debug Win32 ------
5>------ Build started: Project: ConvertibleBonds, Configuration: Debug Win32 ------
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(347,5): error MSB3191: Unable to create directory ".\build\vc120\Win32\Debug\". Access to the path '.\build\vc120\Win32\Debug\' is denied.
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(347,5): error MSB3191: Unable to create directory ".\build\vc120\Win32\Debug\". Access to the path '.\build\vc120\Win32\Debug\' is denied.
6>------ Build started: Project: FRA, Configuration: Debug Win32 ------
6>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(347,5): error MSB3191: Unable to create directory ".\build\vc120\Win32\Debug\". Access to the path '.\build\vc120\Win32\Debug\' is denied.
7>------ Build started: Project: Repo, Configuration: Debug Win32 ------
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(347,5): error MSB3191: Unable to create directory ".\build\vc120\Win32\Debug\". Access to the path '.\build\vc120\Win32\Debug\' is denied.
8>------ Build started: Project: Replication, Configuration: Debug Win32 ------
7>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(347,5): error MSB3191: Unable to create directory ".\build\vc120\Win32\Debug\". Access to the path '.\build\vc120\Win32\Debug\' is denied.
9>------ Build started: Project: BermudanSwaption, Configuration: Debug Win32 ------
8>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(347,5): error MSB3191: Unable to create directory ".\build\vc120\Win32\Debug\". Access to the path '.\build\vc120\Win32\Debug\' is denied.
10>------ Build started: Project: DiscreteHedging, Configuration: Debug Win32 ------
11>------ Build started: Project: FittedBondCurve, Configuration: Debug Win32 ------
9>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(347,5): error MSB3191: Unable to create directory ".\build\vc120\Win32\Debug\". Access to the path '.\build\vc120\Win32\Debug\' is denied.
12>------ Build started: Project: CallableBonds, Configuration: Debug Win32 ------
10>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(347,5): error MSB3191: Unable to create directory ".\build\vc120\Win32\Debug\". Access to the path '.\build\vc120\Win32\Debug\' is denied.
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(347,5): error MSB3191: Unable to create directory ".\build\vc120\Win32\Debug\". Access to the path '.\build\vc120\Win32\Debug\' is denied.
13>------ Build started: Project: CDS, Configuration: Debug Win32 ------
11>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(347,5): error MSB3191: Unable to create directory ".\build\vc120\Win32\Debug\". Access to the path '.\build\vc120\Win32\Debug\' is denied.
14>------ Build started: Project: Bonds, Configuration: Debug Win32 ------
15>------ Build started: Project: MarketModels, Configuration: Debug Win32 ------
12>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(347,5): error MSB3191: Unable to create directory ".\build\vc120\Win32\Debug\". Access to the path '.\build\vc120\Win32\Debug\' is denied.
13>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(347,5): error MSB3191: Unable to create directory ".\build\vc120\Win32\Debug\". Access to the path '.\build\vc120\Win32\Debug\' is denied.
16>------ Build started: Project: Gaussian1dModels, Configuration: Debug Win32 ------
14>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(347,5): error MSB3191: Unable to create directory ".\build\vc120\Win32\Debug\". Access to the path '.\build\vc120\Win32\Debug\' is denied.
17>------ Build started: Project: MultidimIntegral, Configuration: Debug Win32 ------
15>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(347,5): error MSB3191: Unable to create directory ".\build\vc120\Win32\Debug\". Access to the path '.\build\vc120\Win32\Debug\' is denied.
18>------ Build started: Project: LatentModel, Configuration: Debug Win32 ------
16>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(347,5): error MSB3191: Unable to create directory ".\build\vc120\Win32\Debug\". Access to the path '.\build\vc120\Win32\Debug\' is denied.
19>------ Build started: Project: BasketLosses, Configuration: Debug Win32 ------
17>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(347,5): error MSB3191: Unable to create directory ".\build\vc120\Win32\Debug\". Access to the path '.\build\vc120\Win32\Debug\' is denied.
18>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(347,5): error MSB3191: Unable to create directory ".\build\vc120\Win32\Debug\". Access to the path '.\build\vc120\Win32\Debug\' is denied.
19>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(347,5): error MSB3191: Unable to create directory ".\build\vc120\Win32\Debug\". Access to the path '.\build\vc120\Win32\Debug\' is denied.
========== Build: 0 succeeded, 19 failed, 0 up-to-date, 0 skipped ==========




------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users



------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users