Hello Jake,may I suggest using the instructions at <http://quantlib.org/install/vc10.shtml> for building QuantLib? They might be more detailed. Once you have built the library, you can go back to the instructions you were following and start from item 10 to build the Python module.Also: QuantLib 1.6 won't work with QuantLib-SWIG 1.9 (so you should either upgrade QuantLib to 1.9 or downgrade QuantLib-SWIG to 1.6) and on item 11, you won't need the `python setup.py wrap` part if you downloaded a QuantLib release (that's only needed if you check out the Git repository).LuigiOn Tue, Nov 22, 2016 at 10:08 PM Jake Larrimore <[hidden email]> wrote:Sorry about that, I see my attempt to get the errors to go to an output file were causing that last error "Switch -o"However I'm still getting the 19 errors with the following commands:>msbuild /p:AdditionalLibPaths="C:\local\boost_1_58_0\lib32-msvc-12.0" /p:Configuration=Release /p:Platform=Win32 C:\QuantLib-1.6\QuantLib_vc12.slnand>msbuild /p:AdditionalLibPaths="%myboost\lib32-msvc-12.0" /p:Configuration=Release /p:Platform=Win32 C:\QuantLib-1.6\QuantLib_vc12.slnJakeOn Tue, Nov 22, 2016 at 1:22 PM Jake Larrimore <[hidden email]> wrote:Thanks for the quick response. So I'm playing around with it and getting different error messages.With your instructions I found -- C:\local\boost_1_58_0\lib32-msvc-12.0 countains the boost compiled libraries -- libboost_system-vc120-mt-1_58.lib ...So am I then passing that directory into the command like so:>msbuild /p:AdditionalLibPaths="%myboost\lib32-msvc-12.0" /p:Configuration=Release /p:Platform=Win32 C:\QuantLib-1.6\QuantLib_vc12.sln -o "quantlib.txt"or>msbuild /p:AdditionalLibPaths="C:\local\boost_1_58_0\lib32-msvc-12.0" /p:Configuration=Release /p:Platform=Win32 C:\QuantLib-1.6\QuantLib_vc12.sln -o "quantlib.txt"both give me an output :Microsoft (R) Build Engine version 4.6.1055.0[Microsoft .NET Framework, version 4.0.30319.42000]Copyright (C) Microsoft Corporation. All rights reserved.MSBUILD : error MSB1001: Unknown switch.Switch: -oFor switch syntax, type "MSBuild /help"Best,JakeOn Tue, Nov 22, 2016 at 12:32 PM Andres Hernandez <[hidden email]> wrote:Hi Jake,you are right, you need to provide it with the correct directory where the boost compiled libraries are per step 3. For example I have them under the boost directory under stage\lib (C:\boost\boost_1_61_0\stage\lib). If you don't know where they are you might look for libboost_system-vc120*cheers,AndresOn Tue, Nov 22, 2016 at 6:58 PM, Jake Larrimore <[hidden email]> wrote:Hi everyone,I'm trying to get QuantLib installed on a Windows 7 machine. Specifically I'm following these instrucitons:However when I run step 7:>msbuild /p:AdditionalLibPaths="%myboost\lib32-msvc-12.0" /p:Configuration=Release /p:Platform=Win32 C:\QuantLib-1.6\QuantLib_vc12.slnI'm getting a slew of Errors. It seems I don't have things in the right locations or the install can't find them.QuantLib Location: C:\QuantLib-1.6QuantLib SWIG location: C:\QuantLib-SWIG-1.9Boost Location: C:\boost***Note: myboost\lib32-msvc-12.0 I can't find that lib32-msvc-12.0 anywhere, could that be the problem?I'm sorry I don't have much VS C++ experience, so these errors are not as verbose as I'd need to debug it.Any help would be greatly appreciated.Output:Confirm that the path in the <Import> declaration is correct, and that the fileexists on disk.Done Building Project "C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBonds.vcxproj" (default targets) -- FAILED.Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Examples\FRA\FRA.vcxproj" (7) on node 1 (default targets).C:\QuantLib-1.6\Examples\FRA\FRA.vcxproj(42,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.Done Building Project "C:\QuantLib-1.6\Examples\FRA\FRA.vcxproj" (default targets) -- FAILED.Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Examples\Repo\Repo.vcxproj" (8) on node 1 (default targets).C:\QuantLib-1.6\Examples\Repo\Repo.vcxproj(42,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path inthe <Import> declaration is correct, and that the file exists on disk.Done Building Project "C:\QuantLib-1.6\Examples\Repo\Repo.vcxproj" (default targets) -- FAILED.Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Examples\Replication\Replication.vcxproj" (9) on node 1 (default targets).C:\QuantLib-1.6\Examples\Replication\Replication.vcxproj(42,3): error MSB4019:The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists ondisk.Done Building Project "C:\QuantLib-1.6\Examples\Replication\Replication.vcxproj" (default targets) -- FAILED.Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Examples\BermudanSwaption\BermudanSwaption.vcxproj" (10) on node 1 (default targets).C:\QuantLib-1.6\Examples\BermudanSwaption\BermudanSwaption.vcxproj(42,3): errorMSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found.Confirm that the path in the <Import> declaration is correct, and that the fileexists on disk.Done Building Project "C:\QuantLib-1.6\Examples\BermudanSwaption\BermudanSwaption.vcxproj" (default targets) -- FAILED.Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Examples\DiscreteHedging\DiscreteHedging.vcxproj" (11) on node 1 (default targets).C:\QuantLib-1.6\Examples\DiscreteHedging\DiscreteHedging.vcxproj(42,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.Done Building Project "C:\QuantLib-1.6\Examples\DiscreteHedging\DiscreteHedging.vcxproj" (default targets) -- FAILED.Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Examples\FittedBondCurve\FittedBondCurve.vcxproj" (12) on node 1 (default targets).C:\QuantLib-1.6\Examples\FittedBondCurve\FittedBondCurve.vcxproj(42,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.Done Building Project "C:\QuantLib-1.6\Examples\FittedBondCurve\FittedBondCurve.vcxproj" (default targets) -- FAILED.Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Examples\CallableBonds\CallableBonds.vcxproj" (13) on node 1 (default targets).C:\QuantLib-1.6\Examples\CallableBonds\CallableBonds.vcxproj(42,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.Done Building Project "C:\QuantLib-1.6\Examples\CallableBonds\CallableBonds.vcxproj" (default targets) -- FAILED.Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Examples\CDS\CDS.vcxproj" (14) on node 1 (default targets).C:\QuantLib-1.6\Examples\CDS\CDS.vcxproj(42,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.Done Building Project "C:\QuantLib-1.6\Examples\CDS\CDS.vcxproj" (default targets) -- FAILED.Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Examples\Bonds\Bonds.vcxproj" (15) on node 1 (default targets).C:\QuantLib-1.6\Examples\Bonds\Bonds.vcxproj(42,3): error MSB4019: The importedproject "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the pathin the <Import> declaration is correct, and that the file exists on disk.Done Building Project "C:\QuantLib-1.6\Examples\Bonds\Bonds.vcxproj" (default targets) -- FAILED.Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Examples\MarketModels\MarketModels.vcxproj" (16) on node 1 (default targets).C:\QuantLib-1.6\Examples\MarketModels\MarketModels.vcxproj(42,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirmthat the path in the <Import> declaration is correct, and that the file existson disk.Done Building Project "C:\QuantLib-1.6\Examples\MarketModels\MarketModels.vcxproj" (default targets) -- FAILED.Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dModels.vcxproj" (17) on node 1 (default targets).C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dModels.vcxproj(42,3): errorMSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found.Confirm that the path in the <Import> declaration is correct, and that the fileexists on disk.Done Building Project "C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dModels.vcxproj" (default targets) -- FAILED.Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegral.vcxproj" (18) on node 1 (default targets).C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegral.vcxproj(42,3): errorMSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found.Confirm that the path in the <Import> declaration is correct, and that the fileexists on disk.Done Building Project "C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegral.vcxproj" (default targets) -- FAILED.Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Examples\LatentModel\LatentModel.vcxproj" (19) on node 1 (default targets).C:\QuantLib-1.6\Examples\LatentModel\LatentModel.vcxproj(42,3): error MSB4019:The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists ondisk.Done Building Project "C:\QuantLib-1.6\Examples\LatentModel\LatentModel.vcxproj" (default targets) -- FAILED.Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Examples\BasketLosses\BasketLosses.vcxproj" (20) on node 1 (default targets).C:\QuantLib-1.6\Examples\BasketLosses\BasketLosses.vcxproj(41,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirmthat the path in the <Import> declaration is correct, and that the file existson disk.Done Building Project "C:\QuantLib-1.6\Examples\BasketLosses\BasketLosses.vcxproj" (default targets) -- FAILED.Done Building Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (default targets) --FAILED.Build FAILED."C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->"C:\QuantLib-1.6\QuantLib.vcxproj" (default target) (2) ->C:\QuantLib-1.6\QuantLib.vcxproj(42,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk."C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->"C:\QuantLib-1.6\test-suite\testsuite.vcxproj" (default target) (3) ->C:\QuantLib-1.6\test-suite\testsuite.vcxproj(43,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk."C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->"C:\QuantLib-1.6\Examples\Swap\Swap.vcxproj" (default target) (4) ->C:\QuantLib-1.6\Examples\Swap\Swap.vcxproj(42,3): error MSB4019: The importedproject "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the pathin the <Import> declaration is correct, and that the file exists on disk."C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->"C:\QuantLib-1.6\Examples\EquityOption\EquityOption.vcxproj" (default target) (5) ->C:\QuantLib-1.6\Examples\EquityOption\EquityOption.vcxproj(42,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk."C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->"C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBonds.vcxproj" (default target) (6) ->C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBonds.vcxproj(42,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk."C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->"C:\QuantLib-1.6\Examples\FRA\FRA.vcxproj" (default target) (7) ->C:\QuantLib-1.6\Examples\FRA\FRA.vcxproj(42,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path inthe <Import> declaration is correct, and that the file exists on disk."C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->"C:\QuantLib-1.6\Examples\Repo\Repo.vcxproj" (default target) (8) ->C:\QuantLib-1.6\Examples\Repo\Repo.vcxproj(42,3): error MSB4019: The importedproject "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the pathin the <Import> declaration is correct, and that the file exists on disk."C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->"C:\QuantLib-1.6\Examples\Replication\Replication.vcxproj" (default target) (9)->C:\QuantLib-1.6\Examples\Replication\Replication.vcxproj(42,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirmthat the path in the <Import> declaration is correct, and that the file existson disk."C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->"C:\QuantLib-1.6\Examples\BermudanSwaption\BermudanSwaption.vcxproj" (default target) (10) ->C:\QuantLib-1.6\Examples\BermudanSwaption\BermudanSwaption.vcxproj(42,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk."C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->"C:\QuantLib-1.6\Examples\DiscreteHedging\DiscreteHedging.vcxproj" (default target) (11) ->C:\QuantLib-1.6\Examples\DiscreteHedging\DiscreteHedging.vcxproj(42,3): errorMSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found.Confirm that the path in the <Import> declaration is correct, and that the fileexists on disk."C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->"C:\QuantLib-1.6\Examples\FittedBondCurve\FittedBondCurve.vcxproj" (default target) (12) ->C:\QuantLib-1.6\Examples\FittedBondCurve\FittedBondCurve.vcxproj(42,3): errorMSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found.Confirm that the path in the <Import> declaration is correct, and that the fileexists on disk."C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->"C:\QuantLib-1.6\Examples\CallableBonds\CallableBonds.vcxproj" (default target)(13) ->C:\QuantLib-1.6\Examples\CallableBonds\CallableBonds.vcxproj(42,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk."C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->"C:\QuantLib-1.6\Examples\CDS\CDS.vcxproj" (default target) (14) ->C:\QuantLib-1.6\Examples\CDS\CDS.vcxproj(42,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path inthe <Import> declaration is correct, and that the file exists on disk."C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->"C:\QuantLib-1.6\Examples\Bonds\Bonds.vcxproj" (default target) (15) ->C:\QuantLib-1.6\Examples\Bonds\Bonds.vcxproj(42,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk."C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->"C:\QuantLib-1.6\Examples\MarketModels\MarketModels.vcxproj" (default target) (16) ->C:\QuantLib-1.6\Examples\MarketModels\MarketModels.vcxproj(42,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk."C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->"C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dModels.vcxproj" (default target) (17) ->C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dModels.vcxproj(42,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk."C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->"C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegral.vcxproj" (default target) (18) ->C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegral.vcxproj(42,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk."C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->"C:\QuantLib-1.6\Examples\LatentModel\LatentModel.vcxproj" (default target) (19) ->C:\QuantLib-1.6\Examples\LatentModel\LatentModel.vcxproj(42,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirmthat the path in the <Import> declaration is correct, and that the file existson disk."C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->"C:\QuantLib-1.6\Examples\BasketLosses\BasketLosses.vcxproj" (default target) (20) ->C:\QuantLib-1.6\Examples\BasketLosses\BasketLosses.vcxproj(41,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.0 Warning(s)19 Error(s)Time Elapsed 00:00:00.18--Jake Larrimore<a href="tel:443-340-9570" value="+14433409570" class="gmail_msg" target="_blank">443-340-9570------------------------------------------------------------------------------
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
--Jake Larrimore<a href="tel:(443)%20340-9570" value="+14433409570" class="gmail_msg" target="_blank">443-340-9570--------------------------------------------------------------------------------Jake Larrimore<a href="tel:(443)%20340-9570" value="+14433409570" class="gmail_msg" target="_blank">443-340-9570
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Free forum by Nabble | Disable Popup Ads | Edit this page |