Errors while building QuantLib

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

Errors while building QuantLib

Jake Larrimore
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.sln

I'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.6
QuantLib SWIG location: C:\QuantLib-SWIG-1.9  
Boost 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 file
 exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBon
ds.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\FRA\FRA.vcxproj" (7) on node 1 (default targets).
C:\QuantLib-1.6\Examples\FRA\FRA.vcxproj(42,3): error MSB4019: The imported pro
ject "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in t
he <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\FRA\FRA.vcxproj" (default targe
ts) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Repo\Repo.vcxproj" (8) on node 1 (default targets).
C:\QuantLib-1.6\Examples\Repo\Repo.vcxproj(42,3): error MSB4019: The imported p
roject "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\Repo\Repo.vcxproj" (default tar
gets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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 th
at the path in the <Import> declaration is correct, and that the file exists on
 disk.
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\Ex
amples\BermudanSwaption\BermudanSwaption.vcxproj" (10) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\BermudanSwaption\BermudanSwapti
on.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\DiscreteHedging\DiscreteHedging.vcxproj" (11) on node 1 (default targets
).
C:\QuantLib-1.6\Examples\DiscreteHedging\DiscreteHedging.vcxproj(42,3): error M
SB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Co
nfirm that the path in the <Import> declaration is correct, and that the file e
xists 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\Ex
amples\FittedBondCurve\FittedBondCurve.vcxproj" (12) on node 1 (default targets
).
C:\QuantLib-1.6\Examples\FittedBondCurve\FittedBondCurve.vcxproj(42,3): error M
SB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Co
nfirm that the path in the <Import> declaration is correct, and that the file e
xists 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\Ex
amples\CallableBonds\CallableBonds.vcxproj" (13) on node 1 (default targets).
C:\QuantLib-1.6\Examples\CallableBonds\CallableBonds.vcxproj(42,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.
Done Building Project "C:\QuantLib-1.6\Examples\CallableBonds\CallableBonds.vcx
proj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\CDS\CDS.vcxproj" (14) on node 1 (default targets).
C:\QuantLib-1.6\Examples\CDS\CDS.vcxproj(42,3): error MSB4019: The imported pro
ject "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in t
he <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\CDS\CDS.vcxproj" (default targe
ts) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Bonds\Bonds.vcxproj" (15) on node 1 (default targets).
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.
Done Building Project "C:\QuantLib-1.6\Examples\Bonds\Bonds.vcxproj" (default t
argets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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. 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\MarketModels\MarketModels.vcxpr
oj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Gaussian1dModels\Gaussian1dModels.vcxproj" (17) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dMode
ls.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\MultidimIntegral\MultidimIntegral.vcxproj" (18) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegr
al.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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 th
at the path in the <Import> declaration is correct, and that the file exists on
 disk.
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\Ex
amples\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. 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\BasketLosses\BasketLosses.vcxpr
oj" (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 <Im
port> 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 import
ed project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the pat
h 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 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\EquityOption\EquityOption.vcxproj" (default target) (
5) ->
  C:\QuantLib-1.6\Examples\EquityOption\EquityOption.vcxproj(42,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBonds.vcxproj" (default t
arget) (6) ->
  C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBonds.vcxproj(42,3): err
or 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 fi
le 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 p
roject "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\Repo\Repo.vcxproj" (default target) (8) ->
  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
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\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. 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\BermudanSwaption\BermudanSwaption.vcxproj" (default t
arget) (10) ->
  C:\QuantLib-1.6\Examples\BermudanSwaption\BermudanSwaption.vcxproj(42,3): err
or 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 fi
le exists on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\DiscreteHedging\DiscreteHedging.vcxproj" (default tar
get) (11) ->
  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.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\FittedBondCurve\FittedBondCurve.vcxproj" (default tar
get) (12) ->
  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.


"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 MSB
4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Conf
irm that the path in the <Import> declaration is correct, and that the file exi
sts 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 p
roject "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\Bonds\Bonds.vcxproj" (default target) (15) ->
  C:\QuantLib-1.6\Examples\Bonds\Bonds.vcxproj(42,3): error MSB4019: The import
ed project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the pat
h 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 MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dModels.vcxproj" (default t
arget) (17) ->
  C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dModels.vcxproj(42,3): err
or 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 fi
le exists on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegral.vcxproj" (default t
arget) (18) ->
  C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegral.vcxproj(42,3): err
or 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 fi
le 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. 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\BasketLosses\BasketLosses.vcxproj" (default target) (
20) ->
  C:\QuantLib-1.6\Examples\BasketLosses\BasketLosses.vcxproj(41,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.

    0 Warning(s)
    19 Error(s)

Time Elapsed 00:00:00.18


--
Jake Larrimore
443-340-9570

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

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

Re: Errors while building QuantLib

Andres Hernandez-2
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,
Andres



On 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.sln

I'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.6
QuantLib SWIG location: C:\QuantLib-SWIG-1.9  
Boost 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 file
 exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBon
ds.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\FRA\FRA.vcxproj" (7) on node 1 (default targets).
C:\QuantLib-1.6\Examples\FRA\FRA.vcxproj(42,3): error MSB4019: The imported pro
ject "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in t
he <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\FRA\FRA.vcxproj" (default targe
ts) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Repo\Repo.vcxproj" (8) on node 1 (default targets).
C:\QuantLib-1.6\Examples\Repo\Repo.vcxproj(42,3): error MSB4019: The imported p
roject "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\Repo\Repo.vcxproj" (default tar
gets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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 th
at the path in the <Import> declaration is correct, and that the file exists on
 disk.
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\Ex
amples\BermudanSwaption\BermudanSwaption.vcxproj" (10) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\BermudanSwaption\BermudanSwapti
on.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\DiscreteHedging\DiscreteHedging.vcxproj" (11) on node 1 (default targets
).
C:\QuantLib-1.6\Examples\DiscreteHedging\DiscreteHedging.vcxproj(42,3): error M
SB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Co
nfirm that the path in the <Import> declaration is correct, and that the file e
xists 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\Ex
amples\FittedBondCurve\FittedBondCurve.vcxproj" (12) on node 1 (default targets
).
C:\QuantLib-1.6\Examples\FittedBondCurve\FittedBondCurve.vcxproj(42,3): error M
SB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Co
nfirm that the path in the <Import> declaration is correct, and that the file e
xists 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\Ex
amples\CallableBonds\CallableBonds.vcxproj" (13) on node 1 (default targets).
C:\QuantLib-1.6\Examples\CallableBonds\CallableBonds.vcxproj(42,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.
Done Building Project "C:\QuantLib-1.6\Examples\CallableBonds\CallableBonds.vcx
proj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\CDS\CDS.vcxproj" (14) on node 1 (default targets).
C:\QuantLib-1.6\Examples\CDS\CDS.vcxproj(42,3): error MSB4019: The imported pro
ject "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in t
he <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\CDS\CDS.vcxproj" (default targe
ts) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Bonds\Bonds.vcxproj" (15) on node 1 (default targets).
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.
Done Building Project "C:\QuantLib-1.6\Examples\Bonds\Bonds.vcxproj" (default t
argets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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. 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\MarketModels\MarketModels.vcxpr
oj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Gaussian1dModels\Gaussian1dModels.vcxproj" (17) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dMode
ls.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\MultidimIntegral\MultidimIntegral.vcxproj" (18) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegr
al.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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 th
at the path in the <Import> declaration is correct, and that the file exists on
 disk.
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\Ex
amples\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. 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\BasketLosses\BasketLosses.vcxpr
oj" (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 <Im
port> 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 import
ed project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the pat
h 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 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\EquityOption\EquityOption.vcxproj" (default target) (
5) ->
  C:\QuantLib-1.6\Examples\EquityOption\EquityOption.vcxproj(42,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBonds.vcxproj" (default t
arget) (6) ->
  C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBonds.vcxproj(42,3): err
or 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 fi
le 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 p
roject "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\Repo\Repo.vcxproj" (default target) (8) ->
  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
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\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. 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\BermudanSwaption\BermudanSwaption.vcxproj" (default t
arget) (10) ->
  C:\QuantLib-1.6\Examples\BermudanSwaption\BermudanSwaption.vcxproj(42,3): err
or 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 fi
le exists on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\DiscreteHedging\DiscreteHedging.vcxproj" (default tar
get) (11) ->
  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.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\FittedBondCurve\FittedBondCurve.vcxproj" (default tar
get) (12) ->
  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.


"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 MSB
4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Conf
irm that the path in the <Import> declaration is correct, and that the file exi
sts 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 p
roject "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\Bonds\Bonds.vcxproj" (default target) (15) ->
  C:\QuantLib-1.6\Examples\Bonds\Bonds.vcxproj(42,3): error MSB4019: The import
ed project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the pat
h 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 MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dModels.vcxproj" (default t
arget) (17) ->
  C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dModels.vcxproj(42,3): err
or 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 fi
le exists on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegral.vcxproj" (default t
arget) (18) ->
  C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegral.vcxproj(42,3): err
or 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 fi
le 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. 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\BasketLosses\BasketLosses.vcxproj" (default target) (
20) ->
  C:\QuantLib-1.6\Examples\BasketLosses\BasketLosses.vcxproj(41,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.

    0 Warning(s)
    19 Error(s)

Time Elapsed 00:00:00.18


--
Jake Larrimore
<a href="tel:443-340-9570" value="+14433409570" target="_blank">443-340-9570

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

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



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

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

Re: Errors while building QuantLib

Jake Larrimore
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: -o

For switch syntax, type "MSBuild /help"

Best,
Jake


On 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,
Andres



On 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.sln

I'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.6
QuantLib SWIG location: C:\QuantLib-SWIG-1.9  
Boost 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 file
 exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBon
ds.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\FRA\FRA.vcxproj" (7) on node 1 (default targets).
C:\QuantLib-1.6\Examples\FRA\FRA.vcxproj(42,3): error MSB4019: The imported pro
ject "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in t
he <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\FRA\FRA.vcxproj" (default targe
ts) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Repo\Repo.vcxproj" (8) on node 1 (default targets).
C:\QuantLib-1.6\Examples\Repo\Repo.vcxproj(42,3): error MSB4019: The imported p
roject "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\Repo\Repo.vcxproj" (default tar
gets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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 th
at the path in the <Import> declaration is correct, and that the file exists on
 disk.
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\Ex
amples\BermudanSwaption\BermudanSwaption.vcxproj" (10) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\BermudanSwaption\BermudanSwapti
on.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\DiscreteHedging\DiscreteHedging.vcxproj" (11) on node 1 (default targets
).
C:\QuantLib-1.6\Examples\DiscreteHedging\DiscreteHedging.vcxproj(42,3): error M
SB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Co
nfirm that the path in the <Import> declaration is correct, and that the file e
xists 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\Ex
amples\FittedBondCurve\FittedBondCurve.vcxproj" (12) on node 1 (default targets
).
C:\QuantLib-1.6\Examples\FittedBondCurve\FittedBondCurve.vcxproj(42,3): error M
SB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Co
nfirm that the path in the <Import> declaration is correct, and that the file e
xists 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\Ex
amples\CallableBonds\CallableBonds.vcxproj" (13) on node 1 (default targets).
C:\QuantLib-1.6\Examples\CallableBonds\CallableBonds.vcxproj(42,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.
Done Building Project "C:\QuantLib-1.6\Examples\CallableBonds\CallableBonds.vcx
proj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\CDS\CDS.vcxproj" (14) on node 1 (default targets).
C:\QuantLib-1.6\Examples\CDS\CDS.vcxproj(42,3): error MSB4019: The imported pro
ject "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in t
he <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\CDS\CDS.vcxproj" (default targe
ts) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Bonds\Bonds.vcxproj" (15) on node 1 (default targets).
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.
Done Building Project "C:\QuantLib-1.6\Examples\Bonds\Bonds.vcxproj" (default t
argets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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. 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\MarketModels\MarketModels.vcxpr
oj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Gaussian1dModels\Gaussian1dModels.vcxproj" (17) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dMode
ls.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\MultidimIntegral\MultidimIntegral.vcxproj" (18) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegr
al.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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 th
at the path in the <Import> declaration is correct, and that the file exists on
 disk.
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\Ex
amples\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. 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\BasketLosses\BasketLosses.vcxpr
oj" (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 <Im
port> 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 import
ed project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the pat
h 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 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\EquityOption\EquityOption.vcxproj" (default target) (
5) ->
  C:\QuantLib-1.6\Examples\EquityOption\EquityOption.vcxproj(42,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBonds.vcxproj" (default t
arget) (6) ->
  C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBonds.vcxproj(42,3): err
or 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 fi
le 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 p
roject "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\Repo\Repo.vcxproj" (default target) (8) ->
  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
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\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. 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\BermudanSwaption\BermudanSwaption.vcxproj" (default t
arget) (10) ->
  C:\QuantLib-1.6\Examples\BermudanSwaption\BermudanSwaption.vcxproj(42,3): err
or 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 fi
le exists on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\DiscreteHedging\DiscreteHedging.vcxproj" (default tar
get) (11) ->
  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.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\FittedBondCurve\FittedBondCurve.vcxproj" (default tar
get) (12) ->
  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.


"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 MSB
4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Conf
irm that the path in the <Import> declaration is correct, and that the file exi
sts 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 p
roject "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\Bonds\Bonds.vcxproj" (default target) (15) ->
  C:\QuantLib-1.6\Examples\Bonds\Bonds.vcxproj(42,3): error MSB4019: The import
ed project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the pat
h 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 MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dModels.vcxproj" (default t
arget) (17) ->
  C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dModels.vcxproj(42,3): err
or 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 fi
le exists on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegral.vcxproj" (default t
arget) (18) ->
  C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegral.vcxproj(42,3): err
or 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 fi
le 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. 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\BasketLosses\BasketLosses.vcxproj" (default target) (
20) ->
  C:\QuantLib-1.6\Examples\BasketLosses\BasketLosses.vcxproj(41,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s 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
443-340-9570

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

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

Re: Errors while building QuantLib

Jake Larrimore
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.sln

and 

>msbuild /p:AdditionalLibPaths="%myboost\lib32-msvc-12.0" /p:Configuration=Release /p:Platform=Win32 C:\QuantLib-1.6\QuantLib_vc12.sln

Jake


On 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: -o

For switch syntax, type "MSBuild /help"

Best,
Jake


On 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,
Andres



On 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.sln

I'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.6
QuantLib SWIG location: C:\QuantLib-SWIG-1.9  
Boost 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 file
 exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBon
ds.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\FRA\FRA.vcxproj" (7) on node 1 (default targets).
C:\QuantLib-1.6\Examples\FRA\FRA.vcxproj(42,3): error MSB4019: The imported pro
ject "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in t
he <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\FRA\FRA.vcxproj" (default targe
ts) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Repo\Repo.vcxproj" (8) on node 1 (default targets).
C:\QuantLib-1.6\Examples\Repo\Repo.vcxproj(42,3): error MSB4019: The imported p
roject "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\Repo\Repo.vcxproj" (default tar
gets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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 th
at the path in the <Import> declaration is correct, and that the file exists on
 disk.
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\Ex
amples\BermudanSwaption\BermudanSwaption.vcxproj" (10) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\BermudanSwaption\BermudanSwapti
on.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\DiscreteHedging\DiscreteHedging.vcxproj" (11) on node 1 (default targets
).
C:\QuantLib-1.6\Examples\DiscreteHedging\DiscreteHedging.vcxproj(42,3): error M
SB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Co
nfirm that the path in the <Import> declaration is correct, and that the file e
xists 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\Ex
amples\FittedBondCurve\FittedBondCurve.vcxproj" (12) on node 1 (default targets
).
C:\QuantLib-1.6\Examples\FittedBondCurve\FittedBondCurve.vcxproj(42,3): error M
SB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Co
nfirm that the path in the <Import> declaration is correct, and that the file e
xists 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\Ex
amples\CallableBonds\CallableBonds.vcxproj" (13) on node 1 (default targets).
C:\QuantLib-1.6\Examples\CallableBonds\CallableBonds.vcxproj(42,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.
Done Building Project "C:\QuantLib-1.6\Examples\CallableBonds\CallableBonds.vcx
proj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\CDS\CDS.vcxproj" (14) on node 1 (default targets).
C:\QuantLib-1.6\Examples\CDS\CDS.vcxproj(42,3): error MSB4019: The imported pro
ject "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in t
he <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\CDS\CDS.vcxproj" (default targe
ts) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Bonds\Bonds.vcxproj" (15) on node 1 (default targets).
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.
Done Building Project "C:\QuantLib-1.6\Examples\Bonds\Bonds.vcxproj" (default t
argets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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. 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\MarketModels\MarketModels.vcxpr
oj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Gaussian1dModels\Gaussian1dModels.vcxproj" (17) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dMode
ls.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\MultidimIntegral\MultidimIntegral.vcxproj" (18) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegr
al.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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 th
at the path in the <Import> declaration is correct, and that the file exists on
 disk.
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\Ex
amples\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. 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\BasketLosses\BasketLosses.vcxpr
oj" (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 <Im
port> 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 import
ed project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the pat
h 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 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\EquityOption\EquityOption.vcxproj" (default target) (
5) ->
  C:\QuantLib-1.6\Examples\EquityOption\EquityOption.vcxproj(42,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBonds.vcxproj" (default t
arget) (6) ->
  C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBonds.vcxproj(42,3): err
or 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 fi
le 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 p
roject "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\Repo\Repo.vcxproj" (default target) (8) ->
  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
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\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. 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\BermudanSwaption\BermudanSwaption.vcxproj" (default t
arget) (10) ->
  C:\QuantLib-1.6\Examples\BermudanSwaption\BermudanSwaption.vcxproj(42,3): err
or 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 fi
le exists on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\DiscreteHedging\DiscreteHedging.vcxproj" (default tar
get) (11) ->
  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.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\FittedBondCurve\FittedBondCurve.vcxproj" (default tar
get) (12) ->
  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.


"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 MSB
4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Conf
irm that the path in the <Import> declaration is correct, and that the file exi
sts 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 p
roject "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\Bonds\Bonds.vcxproj" (default target) (15) ->
  C:\QuantLib-1.6\Examples\Bonds\Bonds.vcxproj(42,3): error MSB4019: The import
ed project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the pat
h 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 MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dModels.vcxproj" (default t
arget) (17) ->
  C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dModels.vcxproj(42,3): err
or 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 fi
le exists on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegral.vcxproj" (default t
arget) (18) ->
  C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegral.vcxproj(42,3): err
or 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 fi
le 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. 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\BasketLosses\BasketLosses.vcxproj" (default target) (
20) ->
  C:\QuantLib-1.6\Examples\BasketLosses\BasketLosses.vcxproj(41,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s 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
443-340-9570

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

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

Re: Errors while building QuantLib

Luigi Ballabio
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).

Luigi


On 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.sln

and 

>msbuild /p:AdditionalLibPaths="%myboost\lib32-msvc-12.0" /p:Configuration=Release /p:Platform=Win32 C:\QuantLib-1.6\QuantLib_vc12.sln

Jake


On 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: -o

For switch syntax, type "MSBuild /help"

Best,
Jake


On 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,
Andres



On 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.sln

I'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.6
QuantLib SWIG location: C:\QuantLib-SWIG-1.9  
Boost 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 file
 exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBon
ds.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\FRA\FRA.vcxproj" (7) on node 1 (default targets).
C:\QuantLib-1.6\Examples\FRA\FRA.vcxproj(42,3): error MSB4019: The imported pro
ject "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in t
he <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\FRA\FRA.vcxproj" (default targe
ts) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Repo\Repo.vcxproj" (8) on node 1 (default targets).
C:\QuantLib-1.6\Examples\Repo\Repo.vcxproj(42,3): error MSB4019: The imported p
roject "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\Repo\Repo.vcxproj" (default tar
gets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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 th
at the path in the <Import> declaration is correct, and that the file exists on
 disk.
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\Ex
amples\BermudanSwaption\BermudanSwaption.vcxproj" (10) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\BermudanSwaption\BermudanSwapti
on.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\DiscreteHedging\DiscreteHedging.vcxproj" (11) on node 1 (default targets
).
C:\QuantLib-1.6\Examples\DiscreteHedging\DiscreteHedging.vcxproj(42,3): error M
SB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Co
nfirm that the path in the <Import> declaration is correct, and that the file e
xists 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\Ex
amples\FittedBondCurve\FittedBondCurve.vcxproj" (12) on node 1 (default targets
).
C:\QuantLib-1.6\Examples\FittedBondCurve\FittedBondCurve.vcxproj(42,3): error M
SB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Co
nfirm that the path in the <Import> declaration is correct, and that the file e
xists 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\Ex
amples\CallableBonds\CallableBonds.vcxproj" (13) on node 1 (default targets).
C:\QuantLib-1.6\Examples\CallableBonds\CallableBonds.vcxproj(42,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.
Done Building Project "C:\QuantLib-1.6\Examples\CallableBonds\CallableBonds.vcx
proj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\CDS\CDS.vcxproj" (14) on node 1 (default targets).
C:\QuantLib-1.6\Examples\CDS\CDS.vcxproj(42,3): error MSB4019: The imported pro
ject "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in t
he <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\CDS\CDS.vcxproj" (default targe
ts) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Bonds\Bonds.vcxproj" (15) on node 1 (default targets).
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.
Done Building Project "C:\QuantLib-1.6\Examples\Bonds\Bonds.vcxproj" (default t
argets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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. 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\MarketModels\MarketModels.vcxpr
oj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Gaussian1dModels\Gaussian1dModels.vcxproj" (17) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dMode
ls.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\MultidimIntegral\MultidimIntegral.vcxproj" (18) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegr
al.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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 th
at the path in the <Import> declaration is correct, and that the file exists on
 disk.
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\Ex
amples\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. 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\BasketLosses\BasketLosses.vcxpr
oj" (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 <Im
port> 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 import
ed project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the pat
h 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 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\EquityOption\EquityOption.vcxproj" (default target) (
5) ->
  C:\QuantLib-1.6\Examples\EquityOption\EquityOption.vcxproj(42,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBonds.vcxproj" (default t
arget) (6) ->
  C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBonds.vcxproj(42,3): err
or 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 fi
le 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 p
roject "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\Repo\Repo.vcxproj" (default target) (8) ->
  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
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\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. 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\BermudanSwaption\BermudanSwaption.vcxproj" (default t
arget) (10) ->
  C:\QuantLib-1.6\Examples\BermudanSwaption\BermudanSwaption.vcxproj(42,3): err
or 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 fi
le exists on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\DiscreteHedging\DiscreteHedging.vcxproj" (default tar
get) (11) ->
  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.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\FittedBondCurve\FittedBondCurve.vcxproj" (default tar
get) (12) ->
  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.


"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 MSB
4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Conf
irm that the path in the <Import> declaration is correct, and that the file exi
sts 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 p
roject "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\Bonds\Bonds.vcxproj" (default target) (15) ->
  C:\QuantLib-1.6\Examples\Bonds\Bonds.vcxproj(42,3): error MSB4019: The import
ed project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the pat
h 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 MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dModels.vcxproj" (default t
arget) (17) ->
  C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dModels.vcxproj(42,3): err
or 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 fi
le exists on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegral.vcxproj" (default t
arget) (18) ->
  C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegral.vcxproj(42,3): err
or 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 fi
le 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. 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\BasketLosses\BasketLosses.vcxproj" (default target) (
20) ->
  C:\QuantLib-1.6\Examples\BasketLosses\BasketLosses.vcxproj(41,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s 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
443-340-9570
------------------------------------------------------------------------------
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users

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

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

Re: Errors while building QuantLib

Jake Larrimore
Okay, I'll give that a shot. Thanks Luigi. 

-Jake

On Tue, Nov 22, 2016 at 3:18 PM Luigi Ballabio <[hidden email]> wrote:
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).

Luigi


On 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.sln

and 

>msbuild /p:AdditionalLibPaths="%myboost\lib32-msvc-12.0" /p:Configuration=Release /p:Platform=Win32 C:\QuantLib-1.6\QuantLib_vc12.sln

Jake


On 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: -o

For switch syntax, type "MSBuild /help"

Best,
Jake


On 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,
Andres



On 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.sln

I'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.6
QuantLib SWIG location: C:\QuantLib-SWIG-1.9  
Boost 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 file
 exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBon
ds.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\FRA\FRA.vcxproj" (7) on node 1 (default targets).
C:\QuantLib-1.6\Examples\FRA\FRA.vcxproj(42,3): error MSB4019: The imported pro
ject "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in t
he <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\FRA\FRA.vcxproj" (default targe
ts) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Repo\Repo.vcxproj" (8) on node 1 (default targets).
C:\QuantLib-1.6\Examples\Repo\Repo.vcxproj(42,3): error MSB4019: The imported p
roject "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\Repo\Repo.vcxproj" (default tar
gets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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 th
at the path in the <Import> declaration is correct, and that the file exists on
 disk.
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\Ex
amples\BermudanSwaption\BermudanSwaption.vcxproj" (10) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\BermudanSwaption\BermudanSwapti
on.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\DiscreteHedging\DiscreteHedging.vcxproj" (11) on node 1 (default targets
).
C:\QuantLib-1.6\Examples\DiscreteHedging\DiscreteHedging.vcxproj(42,3): error M
SB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Co
nfirm that the path in the <Import> declaration is correct, and that the file e
xists 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\Ex
amples\FittedBondCurve\FittedBondCurve.vcxproj" (12) on node 1 (default targets
).
C:\QuantLib-1.6\Examples\FittedBondCurve\FittedBondCurve.vcxproj(42,3): error M
SB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Co
nfirm that the path in the <Import> declaration is correct, and that the file e
xists 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\Ex
amples\CallableBonds\CallableBonds.vcxproj" (13) on node 1 (default targets).
C:\QuantLib-1.6\Examples\CallableBonds\CallableBonds.vcxproj(42,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.
Done Building Project "C:\QuantLib-1.6\Examples\CallableBonds\CallableBonds.vcx
proj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\CDS\CDS.vcxproj" (14) on node 1 (default targets).
C:\QuantLib-1.6\Examples\CDS\CDS.vcxproj(42,3): error MSB4019: The imported pro
ject "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in t
he <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\CDS\CDS.vcxproj" (default targe
ts) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Bonds\Bonds.vcxproj" (15) on node 1 (default targets).
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.
Done Building Project "C:\QuantLib-1.6\Examples\Bonds\Bonds.vcxproj" (default t
argets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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. 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\MarketModels\MarketModels.vcxpr
oj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Gaussian1dModels\Gaussian1dModels.vcxproj" (17) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dMode
ls.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\MultidimIntegral\MultidimIntegral.vcxproj" (18) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegr
al.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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 th
at the path in the <Import> declaration is correct, and that the file exists on
 disk.
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\Ex
amples\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. 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\BasketLosses\BasketLosses.vcxpr
oj" (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 <Im
port> 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 import
ed project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the pat
h 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 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\EquityOption\EquityOption.vcxproj" (default target) (
5) ->
  C:\QuantLib-1.6\Examples\EquityOption\EquityOption.vcxproj(42,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBonds.vcxproj" (default t
arget) (6) ->
  C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBonds.vcxproj(42,3): err
or 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 fi
le 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 p
roject "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\Repo\Repo.vcxproj" (default target) (8) ->
  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
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\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. 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\BermudanSwaption\BermudanSwaption.vcxproj" (default t
arget) (10) ->
  C:\QuantLib-1.6\Examples\BermudanSwaption\BermudanSwaption.vcxproj(42,3): err
or 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 fi
le exists on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\DiscreteHedging\DiscreteHedging.vcxproj" (default tar
get) (11) ->
  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.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\FittedBondCurve\FittedBondCurve.vcxproj" (default tar
get) (12) ->
  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.


"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 MSB
4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Conf
irm that the path in the <Import> declaration is correct, and that the file exi
sts 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 p
roject "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\Bonds\Bonds.vcxproj" (default target) (15) ->
  C:\QuantLib-1.6\Examples\Bonds\Bonds.vcxproj(42,3): error MSB4019: The import
ed project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the pat
h 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 MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dModels.vcxproj" (default t
arget) (17) ->
  C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dModels.vcxproj(42,3): err
or 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 fi
le exists on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegral.vcxproj" (default t
arget) (18) ->
  C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegral.vcxproj(42,3): err
or 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 fi
le 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. 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\BasketLosses\BasketLosses.vcxproj" (default target) (
20) ->
  C:\QuantLib-1.6\Examples\BasketLosses\BasketLosses.vcxproj(41,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s 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
--
Jake Larrimore
443-340-9570

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

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

Re: Errors while building QuantLib

Jake Larrimore
So I'm a little stumped. 

boost: C:\boost\boost_1_62_0
QLib: C:\QuantLib-1.9
Swig: C:\QuantLib-SWIG-1.9

While executing the build (Step 7), I'm getting 157 errors, and all of the errors trace back to 3 files:

Cannot open include file: 'boost/test/unit_test.hpp': No such file or directory (compiling source file asianoptions.cpp) testsuite c:\quantlib-1.9\test-suite\asianoptions.hpp 25
Cannot open include file: 'boost/config.hpp': No such file or directory Swap C:\QuantLib-1.9\ql\qldefines.hpp 38
Cannot open include file: 'boost/function.hpp': No such file or directory MultidimIntegral C:\QuantLib-1.9\Examples\MultidimIntegral\MultidimIntegral.cpp 3

unit_test.hpp, config.hpp, and function.hpp all exist in their respective location indicated above. Is there a way to explicitly point to those files? I would have thought Step 6 would take care of that.

Thanks, 
Jake


On Tue, Nov 22, 2016 at 3:19 PM Jake Larrimore <[hidden email]> wrote:
Okay, I'll give that a shot. Thanks Luigi. 

-Jake

On Tue, Nov 22, 2016 at 3:18 PM Luigi Ballabio <[hidden email]> wrote:
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).

Luigi


On 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.sln

and 

>msbuild /p:AdditionalLibPaths="%myboost\lib32-msvc-12.0" /p:Configuration=Release /p:Platform=Win32 C:\QuantLib-1.6\QuantLib_vc12.sln

Jake


On 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: -o

For switch syntax, type "MSBuild /help"

Best,
Jake


On 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,
Andres



On 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.sln

I'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.6
QuantLib SWIG location: C:\QuantLib-SWIG-1.9  
Boost 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 file
 exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBon
ds.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\FRA\FRA.vcxproj" (7) on node 1 (default targets).
C:\QuantLib-1.6\Examples\FRA\FRA.vcxproj(42,3): error MSB4019: The imported pro
ject "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in t
he <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\FRA\FRA.vcxproj" (default targe
ts) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Repo\Repo.vcxproj" (8) on node 1 (default targets).
C:\QuantLib-1.6\Examples\Repo\Repo.vcxproj(42,3): error MSB4019: The imported p
roject "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\Repo\Repo.vcxproj" (default tar
gets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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 th
at the path in the <Import> declaration is correct, and that the file exists on
 disk.
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\Ex
amples\BermudanSwaption\BermudanSwaption.vcxproj" (10) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\BermudanSwaption\BermudanSwapti
on.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\DiscreteHedging\DiscreteHedging.vcxproj" (11) on node 1 (default targets
).
C:\QuantLib-1.6\Examples\DiscreteHedging\DiscreteHedging.vcxproj(42,3): error M
SB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Co
nfirm that the path in the <Import> declaration is correct, and that the file e
xists 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\Ex
amples\FittedBondCurve\FittedBondCurve.vcxproj" (12) on node 1 (default targets
).
C:\QuantLib-1.6\Examples\FittedBondCurve\FittedBondCurve.vcxproj(42,3): error M
SB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Co
nfirm that the path in the <Import> declaration is correct, and that the file e
xists 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\Ex
amples\CallableBonds\CallableBonds.vcxproj" (13) on node 1 (default targets).
C:\QuantLib-1.6\Examples\CallableBonds\CallableBonds.vcxproj(42,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.
Done Building Project "C:\QuantLib-1.6\Examples\CallableBonds\CallableBonds.vcx
proj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\CDS\CDS.vcxproj" (14) on node 1 (default targets).
C:\QuantLib-1.6\Examples\CDS\CDS.vcxproj(42,3): error MSB4019: The imported pro
ject "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in t
he <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\CDS\CDS.vcxproj" (default targe
ts) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Bonds\Bonds.vcxproj" (15) on node 1 (default targets).
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.
Done Building Project "C:\QuantLib-1.6\Examples\Bonds\Bonds.vcxproj" (default t
argets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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. 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\MarketModels\MarketModels.vcxpr
oj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Gaussian1dModels\Gaussian1dModels.vcxproj" (17) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dMode
ls.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\MultidimIntegral\MultidimIntegral.vcxproj" (18) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegr
al.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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 th
at the path in the <Import> declaration is correct, and that the file exists on
 disk.
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\Ex
amples\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. 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\BasketLosses\BasketLosses.vcxpr
oj" (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 <Im
port> 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 import
ed project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the pat
h 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 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\EquityOption\EquityOption.vcxproj" (default target) (
5) ->
  C:\QuantLib-1.6\Examples\EquityOption\EquityOption.vcxproj(42,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBonds.vcxproj" (default t
arget) (6) ->
  C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBonds.vcxproj(42,3): err
or 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 fi
le 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 p
roject "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\Repo\Repo.vcxproj" (default target) (8) ->
  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
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\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. 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\BermudanSwaption\BermudanSwaption.vcxproj" (default t
arget) (10) ->
  C:\QuantLib-1.6\Examples\BermudanSwaption\BermudanSwaption.vcxproj(42,3): err
or 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 fi
le exists on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\DiscreteHedging\DiscreteHedging.vcxproj" (default tar
get) (11) ->
  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.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\FittedBondCurve\FittedBondCurve.vcxproj" (default tar
get) (12) ->
  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.


"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 MSB
4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Conf
irm that the path in the <Import> declaration is correct, and that the file exi
sts 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 p
roject "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\Bonds\Bonds.vcxproj" (default target) (15) ->
  C:\QuantLib-1.6\Examples\Bonds\Bonds.vcxproj(42,3): error MSB4019: The import
ed project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the pat
h 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 MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dModels.vcxproj" (default t
arget) (17) ->
  C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dModels.vcxproj(42,3): err
or 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 fi
le exists on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegral.vcxproj" (default t
arget) (18) ->
  C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegral.vcxproj(42,3): err
or 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 fi
le 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. 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\BasketLosses\BasketLosses.vcxproj" (default target) (
20) ->
  C:\QuantLib-1.6\Examples\BasketLosses\BasketLosses.vcxproj(41,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s 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
--
Jake Larrimore
<a href="tel:(443)%20340-9570" value="+14433409570" class="gmail_msg" target="_blank">443-340-9570
--
Jake Larrimore
443-340-9570

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

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

Re: Errors while building QuantLib

Luigi Ballabio
Step 6 should definitely have taken care of that.  You're changing the correct property page, right? (You might have both the Win32 and x64 pages, you have to change the one for the configuration that you'll use.)

Luigi


On Wed, Nov 23, 2016 at 2:58 AM Jake Larrimore <[hidden email]> wrote:
So I'm a little stumped. 

boost: C:\boost\boost_1_62_0
QLib: C:\QuantLib-1.9
Swig: C:\QuantLib-SWIG-1.9

While executing the build (Step 7), I'm getting 157 errors, and all of the errors trace back to 3 files:

Cannot open include file: 'boost/test/unit_test.hpp': No such file or directory (compiling source file asianoptions.cpp) testsuite c:\quantlib-1.9\test-suite\asianoptions.hpp 25
Cannot open include file: 'boost/config.hpp': No such file or directory Swap C:\QuantLib-1.9\ql\qldefines.hpp 38
Cannot open include file: 'boost/function.hpp': No such file or directory MultidimIntegral C:\QuantLib-1.9\Examples\MultidimIntegral\MultidimIntegral.cpp 3

unit_test.hpp, config.hpp, and function.hpp all exist in their respective location indicated above. Is there a way to explicitly point to those files? I would have thought Step 6 would take care of that.

Thanks, 
Jake


On Tue, Nov 22, 2016 at 3:19 PM Jake Larrimore <[hidden email]> wrote:
Okay, I'll give that a shot. Thanks Luigi. 

-Jake

On Tue, Nov 22, 2016 at 3:18 PM Luigi Ballabio <[hidden email]> wrote:
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).

Luigi


On 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.sln

and 

>msbuild /p:AdditionalLibPaths="%myboost\lib32-msvc-12.0" /p:Configuration=Release /p:Platform=Win32 C:\QuantLib-1.6\QuantLib_vc12.sln

Jake


On 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: -o

For switch syntax, type "MSBuild /help"

Best,
Jake


On 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,
Andres



On 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.sln

I'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.6
QuantLib SWIG location: C:\QuantLib-SWIG-1.9  
Boost 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 file
 exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBon
ds.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\FRA\FRA.vcxproj" (7) on node 1 (default targets).
C:\QuantLib-1.6\Examples\FRA\FRA.vcxproj(42,3): error MSB4019: The imported pro
ject "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in t
he <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\FRA\FRA.vcxproj" (default targe
ts) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Repo\Repo.vcxproj" (8) on node 1 (default targets).
C:\QuantLib-1.6\Examples\Repo\Repo.vcxproj(42,3): error MSB4019: The imported p
roject "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\Repo\Repo.vcxproj" (default tar
gets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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 th
at the path in the <Import> declaration is correct, and that the file exists on
 disk.
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\Ex
amples\BermudanSwaption\BermudanSwaption.vcxproj" (10) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\BermudanSwaption\BermudanSwapti
on.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\DiscreteHedging\DiscreteHedging.vcxproj" (11) on node 1 (default targets
).
C:\QuantLib-1.6\Examples\DiscreteHedging\DiscreteHedging.vcxproj(42,3): error M
SB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Co
nfirm that the path in the <Import> declaration is correct, and that the file e
xists 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\Ex
amples\FittedBondCurve\FittedBondCurve.vcxproj" (12) on node 1 (default targets
).
C:\QuantLib-1.6\Examples\FittedBondCurve\FittedBondCurve.vcxproj(42,3): error M
SB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Co
nfirm that the path in the <Import> declaration is correct, and that the file e
xists 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\Ex
amples\CallableBonds\CallableBonds.vcxproj" (13) on node 1 (default targets).
C:\QuantLib-1.6\Examples\CallableBonds\CallableBonds.vcxproj(42,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.
Done Building Project "C:\QuantLib-1.6\Examples\CallableBonds\CallableBonds.vcx
proj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\CDS\CDS.vcxproj" (14) on node 1 (default targets).
C:\QuantLib-1.6\Examples\CDS\CDS.vcxproj(42,3): error MSB4019: The imported pro
ject "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in t
he <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\CDS\CDS.vcxproj" (default targe
ts) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Bonds\Bonds.vcxproj" (15) on node 1 (default targets).
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.
Done Building Project "C:\QuantLib-1.6\Examples\Bonds\Bonds.vcxproj" (default t
argets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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. 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\MarketModels\MarketModels.vcxpr
oj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Gaussian1dModels\Gaussian1dModels.vcxproj" (17) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dMode
ls.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\MultidimIntegral\MultidimIntegral.vcxproj" (18) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegr
al.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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 th
at the path in the <Import> declaration is correct, and that the file exists on
 disk.
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\Ex
amples\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. 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\BasketLosses\BasketLosses.vcxpr
oj" (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 <Im
port> 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 import
ed project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the pat
h 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 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\EquityOption\EquityOption.vcxproj" (default target) (
5) ->
  C:\QuantLib-1.6\Examples\EquityOption\EquityOption.vcxproj(42,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBonds.vcxproj" (default t
arget) (6) ->
  C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBonds.vcxproj(42,3): err
or 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 fi
le 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 p
roject "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\Repo\Repo.vcxproj" (default target) (8) ->
  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
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\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. 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\BermudanSwaption\BermudanSwaption.vcxproj" (default t
arget) (10) ->
  C:\QuantLib-1.6\Examples\BermudanSwaption\BermudanSwaption.vcxproj(42,3): err
or 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 fi
le exists on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\DiscreteHedging\DiscreteHedging.vcxproj" (default tar
get) (11) ->
  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.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\FittedBondCurve\FittedBondCurve.vcxproj" (default tar
get) (12) ->
  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.


"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 MSB
4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Conf
irm that the path in the <Import> declaration is correct, and that the file exi
sts 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 p
roject "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\Bonds\Bonds.vcxproj" (default target) (15) ->
  C:\QuantLib-1.6\Examples\Bonds\Bonds.vcxproj(42,3): error MSB4019: The import
ed project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the pat
h 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 MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dModels.vcxproj" (default t
arget) (17) ->
  C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dModels.vcxproj(42,3): err
or 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 fi
le exists on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegral.vcxproj" (default t
arget) (18) ->
  C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegral.vcxproj(42,3): err
or 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 fi
le 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. 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\BasketLosses\BasketLosses.vcxproj" (default target) (
20) ->
  C:\QuantLib-1.6\Examples\BasketLosses\BasketLosses.vcxproj(41,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s 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
--
Jake Larrimore
<a href="tel:(443)%20340-9570" value="+14433409570" class="gmail_msg" target="_blank">443-340-9570
--
Jake Larrimore
443-340-9570

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

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

Re: Errors while building QuantLib

Jake Larrimore
I've got all but one last error fixed.  I'm still seeing:
Error LNK1104 cannot open file 'libboost_unit_test_framework-vc140-mt-1_62.lib' testsuite C:\QuantLib-1.9\test-suite\LINK

Any ideas as to how to resolve?

Thanks,
Jake Larrimore


On Wed, Nov 23, 2016 at 8:47 AM Luigi Ballabio <[hidden email]> wrote:
Step 6 should definitely have taken care of that.  You're changing the correct property page, right? (You might have both the Win32 and x64 pages, you have to change the one for the configuration that you'll use.)

Luigi


On Wed, Nov 23, 2016 at 2:58 AM Jake Larrimore <[hidden email]> wrote:
So I'm a little stumped. 

boost: C:\boost\boost_1_62_0
QLib: C:\QuantLib-1.9
Swig: C:\QuantLib-SWIG-1.9

While executing the build (Step 7), I'm getting 157 errors, and all of the errors trace back to 3 files:

Cannot open include file: 'boost/test/unit_test.hpp': No such file or directory (compiling source file asianoptions.cpp) testsuite c:\quantlib-1.9\test-suite\asianoptions.hpp 25
Cannot open include file: 'boost/config.hpp': No such file or directory Swap C:\QuantLib-1.9\ql\qldefines.hpp 38
Cannot open include file: 'boost/function.hpp': No such file or directory MultidimIntegral C:\QuantLib-1.9\Examples\MultidimIntegral\MultidimIntegral.cpp 3

unit_test.hpp, config.hpp, and function.hpp all exist in their respective location indicated above. Is there a way to explicitly point to those files? I would have thought Step 6 would take care of that.

Thanks, 
Jake


On Tue, Nov 22, 2016 at 3:19 PM Jake Larrimore <[hidden email]> wrote:
Okay, I'll give that a shot. Thanks Luigi. 

-Jake

On Tue, Nov 22, 2016 at 3:18 PM Luigi Ballabio <[hidden email]> wrote:
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).

Luigi


On 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.sln

and 

>msbuild /p:AdditionalLibPaths="%myboost\lib32-msvc-12.0" /p:Configuration=Release /p:Platform=Win32 C:\QuantLib-1.6\QuantLib_vc12.sln

Jake


On 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: -o

For switch syntax, type "MSBuild /help"

Best,
Jake


On 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,
Andres



On 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.sln

I'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.6
QuantLib SWIG location: C:\QuantLib-SWIG-1.9  
Boost 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 file
 exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBon
ds.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\FRA\FRA.vcxproj" (7) on node 1 (default targets).
C:\QuantLib-1.6\Examples\FRA\FRA.vcxproj(42,3): error MSB4019: The imported pro
ject "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in t
he <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\FRA\FRA.vcxproj" (default targe
ts) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Repo\Repo.vcxproj" (8) on node 1 (default targets).
C:\QuantLib-1.6\Examples\Repo\Repo.vcxproj(42,3): error MSB4019: The imported p
roject "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\Repo\Repo.vcxproj" (default tar
gets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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 th
at the path in the <Import> declaration is correct, and that the file exists on
 disk.
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\Ex
amples\BermudanSwaption\BermudanSwaption.vcxproj" (10) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\BermudanSwaption\BermudanSwapti
on.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\DiscreteHedging\DiscreteHedging.vcxproj" (11) on node 1 (default targets
).
C:\QuantLib-1.6\Examples\DiscreteHedging\DiscreteHedging.vcxproj(42,3): error M
SB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Co
nfirm that the path in the <Import> declaration is correct, and that the file e
xists 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\Ex
amples\FittedBondCurve\FittedBondCurve.vcxproj" (12) on node 1 (default targets
).
C:\QuantLib-1.6\Examples\FittedBondCurve\FittedBondCurve.vcxproj(42,3): error M
SB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Co
nfirm that the path in the <Import> declaration is correct, and that the file e
xists 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\Ex
amples\CallableBonds\CallableBonds.vcxproj" (13) on node 1 (default targets).
C:\QuantLib-1.6\Examples\CallableBonds\CallableBonds.vcxproj(42,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.
Done Building Project "C:\QuantLib-1.6\Examples\CallableBonds\CallableBonds.vcx
proj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\CDS\CDS.vcxproj" (14) on node 1 (default targets).
C:\QuantLib-1.6\Examples\CDS\CDS.vcxproj(42,3): error MSB4019: The imported pro
ject "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in t
he <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\CDS\CDS.vcxproj" (default targe
ts) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Bonds\Bonds.vcxproj" (15) on node 1 (default targets).
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.
Done Building Project "C:\QuantLib-1.6\Examples\Bonds\Bonds.vcxproj" (default t
argets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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. 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\MarketModels\MarketModels.vcxpr
oj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Gaussian1dModels\Gaussian1dModels.vcxproj" (17) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dMode
ls.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\MultidimIntegral\MultidimIntegral.vcxproj" (18) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegr
al.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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 th
at the path in the <Import> declaration is correct, and that the file exists on
 disk.
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\Ex
amples\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. 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\BasketLosses\BasketLosses.vcxpr
oj" (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 <Im
port> 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 import
ed project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the pat
h 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 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\EquityOption\EquityOption.vcxproj" (default target) (
5) ->
  C:\QuantLib-1.6\Examples\EquityOption\EquityOption.vcxproj(42,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBonds.vcxproj" (default t
arget) (6) ->
  C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBonds.vcxproj(42,3): err
or 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 fi
le 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 p
roject "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\Repo\Repo.vcxproj" (default target) (8) ->
  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
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\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. 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\BermudanSwaption\BermudanSwaption.vcxproj" (default t
arget) (10) ->
  C:\QuantLib-1.6\Examples\BermudanSwaption\BermudanSwaption.vcxproj(42,3): err
or 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 fi
le exists on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\DiscreteHedging\DiscreteHedging.vcxproj" (default tar
get) (11) ->
  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.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\FittedBondCurve\FittedBondCurve.vcxproj" (default tar
get) (12) ->
  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.


"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 MSB
4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Conf
irm that the path in the <Import> declaration is correct, and that the file exi
sts 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 p
roject "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\Bonds\Bonds.vcxproj" (default target) (15) ->
  C:\QuantLib-1.6\Examples\Bonds\Bonds.vcxproj(42,3): error MSB4019: The import
ed project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the pat
h 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 MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dModels.vcxproj" (default t
arget) (17) ->
  C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dModels.vcxproj(42,3): err
or 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 fi
le exists on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegral.vcxproj" (default t
arget) (18) ->
  C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegral.vcxproj(42,3): err
or 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 fi
le 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. 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\BasketLosses\BasketLosses.vcxproj" (default target) (
20) ->
  C:\QuantLib-1.6\Examples\BasketLosses\BasketLosses.vcxproj(41,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s 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
--
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
--
Jake Larrimore
443-340-9570

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Errors while building QuantLib

Jake Roth
I haven't reached that stage, so I'm not sure if this is helpful (or if you've seen), but pages 20-21 in the appendix to this working paper (http://iimahd.ernet.in/assets/snippets/workingpaperpdf/10947720332015-03-16.pdf by the authors of the [method 1] instructions https://vineetv.wordpress.com/2015/07/07/installing-quantlib-python-windows/ in my previous email) provides instructions without html rendering issues (but not much additional detail)...

Best,
JRoth

On Wed, Dec 14, 2016 at 4:46 PM, Jake Larrimore <[hidden email]> wrote:
I've got all but one last error fixed.  I'm still seeing:
Error LNK1104 cannot open file 'libboost_unit_test_framework-vc140-mt-1_62.lib' testsuite C:\QuantLib-1.9\test-suite\LINK

Any ideas as to how to resolve?

Thanks,
Jake Larrimore


On Wed, Nov 23, 2016 at 8:47 AM Luigi Ballabio <[hidden email]> wrote:
Step 6 should definitely have taken care of that.  You're changing the correct property page, right? (You might have both the Win32 and x64 pages, you have to change the one for the configuration that you'll use.)

Luigi


On Wed, Nov 23, 2016 at 2:58 AM Jake Larrimore <[hidden email]> wrote:
So I'm a little stumped. 

boost: C:\boost\boost_1_62_0
QLib: C:\QuantLib-1.9
Swig: C:\QuantLib-SWIG-1.9

While executing the build (Step 7), I'm getting 157 errors, and all of the errors trace back to 3 files:

Cannot open include file: 'boost/test/unit_test.hpp': No such file or directory (compiling source file asianoptions.cpp) testsuite c:\quantlib-1.9\test-suite\asianoptions.hpp 25
Cannot open include file: 'boost/config.hpp': No such file or directory Swap C:\QuantLib-1.9\ql\qldefines.hpp 38
Cannot open include file: 'boost/function.hpp': No such file or directory MultidimIntegral C:\QuantLib-1.9\Examples\MultidimIntegral\MultidimIntegral.cpp 3

unit_test.hpp, config.hpp, and function.hpp all exist in their respective location indicated above. Is there a way to explicitly point to those files? I would have thought Step 6 would take care of that.

Thanks, 
Jake


On Tue, Nov 22, 2016 at 3:19 PM Jake Larrimore <[hidden email]> wrote:
Okay, I'll give that a shot. Thanks Luigi. 

-Jake

On Tue, Nov 22, 2016 at 3:18 PM Luigi Ballabio <[hidden email]> wrote:
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).

Luigi


On 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.sln

and 

>msbuild /p:AdditionalLibPaths="%myboost\lib32-msvc-12.0" /p:Configuration=Release /p:Platform=Win32 C:\QuantLib-1.6\QuantLib_vc12.sln

Jake


On 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: -o

For switch syntax, type "MSBuild /help"

Best,
Jake


On 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,
Andres



On 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.sln

I'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.6
QuantLib SWIG location: C:\QuantLib-SWIG-1.9  
Boost 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 file
 exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBon
ds.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\FRA\FRA.vcxproj" (7) on node 1 (default targets).
C:\QuantLib-1.6\Examples\FRA\FRA.vcxproj(42,3): error MSB4019: The imported pro
ject "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in t
he <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\FRA\FRA.vcxproj" (default targe
ts) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Repo\Repo.vcxproj" (8) on node 1 (default targets).
C:\QuantLib-1.6\Examples\Repo\Repo.vcxproj(42,3): error MSB4019: The imported p
roject "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\Repo\Repo.vcxproj" (default tar
gets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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 th
at the path in the <Import> declaration is correct, and that the file exists on
 disk.
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\Ex
amples\BermudanSwaption\BermudanSwaption.vcxproj" (10) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\BermudanSwaption\BermudanSwapti
on.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\DiscreteHedging\DiscreteHedging.vcxproj" (11) on node 1 (default targets
).
C:\QuantLib-1.6\Examples\DiscreteHedging\DiscreteHedging.vcxproj(42,3): error M
SB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Co
nfirm that the path in the <Import> declaration is correct, and that the file e
xists 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\Ex
amples\FittedBondCurve\FittedBondCurve.vcxproj" (12) on node 1 (default targets
).
C:\QuantLib-1.6\Examples\FittedBondCurve\FittedBondCurve.vcxproj(42,3): error M
SB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Co
nfirm that the path in the <Import> declaration is correct, and that the file e
xists 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\Ex
amples\CallableBonds\CallableBonds.vcxproj" (13) on node 1 (default targets).
C:\QuantLib-1.6\Examples\CallableBonds\CallableBonds.vcxproj(42,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.
Done Building Project "C:\QuantLib-1.6\Examples\CallableBonds\CallableBonds.vcx
proj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\CDS\CDS.vcxproj" (14) on node 1 (default targets).
C:\QuantLib-1.6\Examples\CDS\CDS.vcxproj(42,3): error MSB4019: The imported pro
ject "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in t
he <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\QuantLib-1.6\Examples\CDS\CDS.vcxproj" (default targe
ts) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Bonds\Bonds.vcxproj" (15) on node 1 (default targets).
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.
Done Building Project "C:\QuantLib-1.6\Examples\Bonds\Bonds.vcxproj" (default t
argets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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. 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\MarketModels\MarketModels.vcxpr
oj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\Gaussian1dModels\Gaussian1dModels.vcxproj" (17) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dMode
ls.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\MultidimIntegral\MultidimIntegral.vcxproj" (18) on node 1 (default targe
ts).
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.
Done Building Project "C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegr
al.vcxproj" (default targets) -- FAILED.

Project "C:\QuantLib-1.6\QuantLib_vc12.sln" (1) is building "C:\QuantLib-1.6\Ex
amples\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 th
at the path in the <Import> declaration is correct, and that the file exists on
 disk.
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\Ex
amples\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. 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\BasketLosses\BasketLosses.vcxpr
oj" (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 <Im
port> 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 import
ed project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the pat
h 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 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\EquityOption\EquityOption.vcxproj" (default target) (
5) ->
  C:\QuantLib-1.6\Examples\EquityOption\EquityOption.vcxproj(42,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBonds.vcxproj" (default t
arget) (6) ->
  C:\QuantLib-1.6\Examples\ConvertibleBonds\ConvertibleBonds.vcxproj(42,3): err
or 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 fi
le 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 p
roject "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\Repo\Repo.vcxproj" (default target) (8) ->
  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
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\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. 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\BermudanSwaption\BermudanSwaption.vcxproj" (default t
arget) (10) ->
  C:\QuantLib-1.6\Examples\BermudanSwaption\BermudanSwaption.vcxproj(42,3): err
or 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 fi
le exists on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\DiscreteHedging\DiscreteHedging.vcxproj" (default tar
get) (11) ->
  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.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\FittedBondCurve\FittedBondCurve.vcxproj" (default tar
get) (12) ->
  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.


"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 MSB
4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Conf
irm that the path in the <Import> declaration is correct, and that the file exi
sts 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 p
roject "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\Bonds\Bonds.vcxproj" (default target) (15) ->
  C:\QuantLib-1.6\Examples\Bonds\Bonds.vcxproj(42,3): error MSB4019: The import
ed project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the pat
h 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 MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dModels.vcxproj" (default t
arget) (17) ->
  C:\QuantLib-1.6\Examples\Gaussian1dModels\Gaussian1dModels.vcxproj(42,3): err
or 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 fi
le exists on disk.


"C:\QuantLib-1.6\QuantLib_vc12.sln" (default target) (1) ->
"C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegral.vcxproj" (default t
arget) (18) ->
  C:\QuantLib-1.6\Examples\MultidimIntegral\MultidimIntegral.vcxproj(42,3): err
or 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 fi
le 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. 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\BasketLosses\BasketLosses.vcxproj" (default target) (
20) ->
  C:\QuantLib-1.6\Examples\BasketLosses\BasketLosses.vcxproj(41,3): error MSB40
19: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confir
m that the path in the <Import> declaration is correct, and that the file exist
s 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="m_-6851813169252033617gmail_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="m_-6851813169252033617gmail_msg" target="_blank">443-340-9570
--
Jake Larrimore
<a href="tel:(443)%20340-9570" value="+14433409570" class="m_-6851813169252033617gmail_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="m_-6851813169252033617gmail_msg" target="_blank">443-340-9570
--
Jake Larrimore
<a href="tel:(443)%20340-9570" value="+14433409570" class="m_-6851813169252033617gmail_msg" target="_blank">443-340-9570
--
Jake Larrimore
443-340-9570

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users