Help building Quantlib project in Quantlib 1.9.1 Boost 1.63_0 using VS2015 c++

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

Re: Fwd: Fwd: Help building Quantlib project in Quantlib 1.9.1 Boost 1.63_0 using VS2015 c++

Luigi Ballabio

Does that directory contain the library that the linker is looking for?


On Thu, Jan 26, 2017, 18:19 Omkar Vandara <[hidden email]> wrote:
I think I did. Please comment if I needed additional steps or missing..
1. I included D:\boost\boost_1_63_0\libs folder unlike ..\stage\lib folder as some1 suggested in the internet.
2. I did this in both -- View-> Property Window and "testsuite->Property page" in Solution Explorer window
3. I have the directories listed as "inherited" should I do them explicitly?
Please find the screenshots below - 
Inline image 2Inline image 3


------------------------------------------------------------------------------
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
|

Fwd: Fwd: Fwd: Help building Quantlib project in Quantlib 1.9.1 Boost 1.63_0 using VS2015 c++

Omkar Vandara
Luigi - No; I dont even know if the library is prepackage or a result of a build or testuite. If can be prepackaged can u point to me where that is available. 

But from my experience it needs to build in environment. If so, can u pls suggest building which project will produce the -mt_1-63.lib file?

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

Does that directory contain the library that the linker is looking for?


------------------------------------------------------------------------------
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: Fwd: Fwd: Help building Quantlib project in Quantlib 1.9.1 Boost 1.63_0 using VS2015 c++

Luigi Ballabio

See the section "Boost installation" in the instructions on the QuantLib site, at <http://quantlib.org/install/vc10.shtml>.


On Thu, Jan 26, 2017, 18:39 Omkar Vandara <[hidden email]> wrote:
Luigi - No; I dont even know if the library is prepackage or a result of a build or testuite. If can be prepackaged can u point to me where that is available. 

But from my experience it needs to build in environment. If so, can u pls suggest building which project will produce the -mt_1-63.lib file?

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

Does that directory contain the library that the linker is looking for?


------------------------------------------------------------------------------
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: Fwd: Fwd: Help building Quantlib project in Quantlib 1.9.1 Boost 1.63_0 using VS2015 c++

Luigi Ballabio

If you already followed those instructions, look into the Boost folder. The library might be in a different folder called "lib-something". If so, that's the one you must add to the path.


On Thu, Jan 26, 2017, 18:46 Luigi Ballabio <[hidden email]> wrote:

See the section "Boost installation" in the instructions on the QuantLib site, at <http://quantlib.org/install/vc10.shtml>.


On Thu, Jan 26, 2017, 18:39 Omkar Vandara <[hidden email]> wrote:
Luigi - No; I dont even know if the library is prepackage or a result of a build or testuite. If can be prepackaged can u point to me where that is available. 

But from my experience it needs to build in environment. If so, can u pls suggest building which project will produce the -mt_1-63.lib file?

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

Does that directory contain the library that the linker is looking for?


------------------------------------------------------------------------------
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: Fwd: Fwd: Help building Quantlib project in Quantlib 1.9.1 Boost 1.63_0 using VS2015 c++

Omkar Vandara
In reply to this post by Omkar Vandara
I think I did. Please comment if I needed additional steps or missing..
1. I included D:\boost\boost_1_63_0\libs folder unlike ..\stage\lib folder as some1 suggested in the internet.
2. I did this in both -- View-> Property Window and "testsuite->Property page" in Solution Explorer window
3. I have the directories listed as "inherited" should I do them explicitly?
Please find the screenshot below - 
Inline image 1

On Thu, Jan 26, 2017 at 11:57 AM, Omkar Vandara <[hidden email]> wrote:
I think I did. Please comment if I needed additional steps or missing..
1. I included D:\boost\boost_1_63_0\libs folder unlike ..\stage\lib folder as some1 suggested in the internet.
2. I did this in both -- View-> Property Window and "testsuite->Property page" in Solution Explorer window
3. I have the directories listed as "inherited" should I do them explicitly?
Please find the screenshots below - 
Inline image 2Inline image 3

On Thu, Jan 26, 2017 at 11:38 AM, Ioannis Rigopoulos <[hidden email]> wrote:
np
But do you really need to build that particular test lib?
It seems you have built all the other libs successfully.

Yannis

On 26.01.2017 17:06, Omkar Vandara wrote:
Yannis - Im so thankful to you..its much cleaner but 1 fatal error - can u pls suggest?
Inline image 1

On Wed, Jan 25, 2017 at 8:21 PM, Yannis <[hidden email]> wrote:
I saw in one of your pictures that you add a directory ended in \QuantLib-1.9\ql
You should change this into \QuantLib-1.9
But still I cannot understand why the output file is the _gd one, which is the debug and not the release binary. This is very strange, given the fact that you have kicked off a release build!
Maybe the path change I have suggested above resolves the problem.
If not, you may want to view the name of the output file within your Visual Studio settings as I suggested earlier.
I suppose, if all fails, doing a fresh start would not hurt.

Yannis


Omkar Vandara <[hidden email]> schrieb am 1:58 Donnerstag, 26.Januar 2017:


Hi Yannis - thx for asking - am I missing or overdone sthng re setting changes listed below. 

When I built QuantLib project at first, I did not use the "Property Manager" settings as 1) below. Instead used the "Properties" button in solution explorer window and added directories for "All Configurations". 

But realized later, used "View->Properties Window" in the main menu path and then followed below settings and "build" again but then did not get any better. Do you suggest uninstall and a clean reinstall?

Appreciate your help

1. right click on group selection as follows in the solution window
Inline image 1
2. Tried to add just boost directories - but later thought would add ql directories as well
3. Did similar stuff c/c++ - additional include directories settings 4. Added QL lib directory to the linker->general settings-> additional library directory setting





------------------------------------------------------------------------------
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




Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com





------------------------------------------------------------------------------
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: Fwd: Fwd: Help building Quantlib project in Quantlib 1.9.1 Boost 1.63_0 using VS2015 c++

Omkar Vandara
In reply to this post by Luigi Ballabio
Tanks Luigi - when I added the lib-sthng director to the list, it seems like it got past that error. However it is stuck now with a more sort of a test case error. Is there a way I can fix this but changing inputs or is it some sort of bug? Appreciate your help
Inline image 1

Sent from my iPad

On Jan 26, 2017, at 12:53 PM, Luigi Ballabio <[hidden email]> wrote:

If you already followed those instructions, look into the Boost folder. The library might be in a different folder called "lib-something". If so, that's the one you must add to the path.


On Thu, Jan 26, 2017, 18:46 Luigi Ballabio <[hidden email]> wrote:

See the section "Boost installation" in the instructions on the QuantLib site, at <http://quantlib.org/install/vc10.shtml>.


On Thu, Jan 26, 2017, 18:39 Omkar Vandara <[hidden email]> wrote:
Luigi - No; I dont even know if the library is prepackage or a result of a build or testuite. If can be prepackaged can u point to me where that is available. 

But from my experience it needs to build in environment. If so, can u pls suggest building which project will produce the -mt_1-63.lib file?

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

Does that directory contain the library that the linker is looking for?


------------------------------------------------------------------------------
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: Fwd: Fwd: Help building Quantlib project in Quantlib 1.9.1 Boost 1.63_0 using VS2015 c++

Omkar Vandara
Luigi - it failed 8 test cases - below is the log - I will to build without testsuite so I can atleast start coding..pls suggest
Inline image 1
log----
Severity Code Description Project File Line Suppression State
Error MSB3073 The command ""D:\Quantlib\QuantLib-1.9.1\QuantLib-1.9.1\test-suite\bin\QuantLib-test-suite-vc140-mt.exe" --log_level=message --build_info=yes --result_code=no --report_level=short
:VCEnd" exited with code -1. testsuite C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 133
Error in "QuantLib test suite/Piecewise yield curve tests/QuantLib__detail__quantlib_test_case(&PiecewiseYieldCurveTest__testLogLinearDiscountConsistency)": class QuantLib::Error: time (0.469444) is past max curve time (0.458333) testsuite D:\Quantlib\QuantLib-1.9.1\QuantLib-1.9.1\test-suite\unknown location 1
Error in "QuantLib test suite/Piecewise yield curve tests/QuantLib__detail__quantlib_test_case(&PiecewiseYieldCurveTest__testLinearDiscountConsistency)":
(&PiecewiseYieldCurveTest__testLinearZeroConsistency)":
(&PiecewiseYieldCurveTest__testSplineZeroConsistency)":
(&PiecewiseYieldCurveTest__testLinearForwardConsistency)":
(&PiecewiseYieldCurveTest__testFlatForwardConsistency)":
(&PiecewiseYieldCurveTest__testConvexMonotoneForwardConsistency)":(&PiecewiseYieldCurveTest__testLocalBootstrapConsistency)":


On Thu, Jan 26, 2017 at 6:35 PM, Omkar Vandara <[hidden email]> wrote:
Tanks Luigi - when I added the lib-sthng director to the list, it seems like it got past that error. However it is stuck now with a more sort of a test case error. Is there a way I can fix this but changing inputs or is it some sort of bug? Appreciate your help
Inline image 1

Sent from my iPad

On Jan 26, 2017, at 12:53 PM, Luigi Ballabio <[hidden email]> wrote:

If you already followed those instructions, look into the Boost folder. The library might be in a different folder called "lib-something". If so, that's the one you must add to the path.


On Thu, Jan 26, 2017, 18:46 Luigi Ballabio <[hidden email]> wrote:

See the section "Boost installation" in the instructions on the QuantLib site, at <http://quantlib.org/install/vc10.shtml>.


On Thu, Jan 26, 2017, 18:39 Omkar Vandara <[hidden email]> wrote:
Luigi - No; I dont even know if the library is prepackage or a result of a build or testuite. If can be prepackaged can u point to me where that is available. 

But from my experience it needs to build in environment. If so, can u pls suggest building which project will produce the -mt_1-63.lib file?

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

Does that directory contain the library that the linker is looking for?



------------------------------------------------------------------------------
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: Fwd: Fwd: Help building Quantlib project in Quantlib 1.9.1 Boost 1.63_0 using VS2015 c++

Luigi Ballabio
That's because of <https://github.com/lballabio/QuantLib/issues/189>. Just ignore them.

On Fri, Jan 27, 2017 at 2:43 AM Omkar Vandara <[hidden email]> wrote:
Luigi - it failed 8 test cases - below is the log - I will to build without testsuite so I can atleast start coding..pls suggest
Inline image 1
log----
Severity Code Description Project File Line Suppression State
Error MSB3073 The command ""D:\Quantlib\QuantLib-1.9.1\QuantLib-1.9.1\test-suite\bin\QuantLib-test-suite-vc140-mt.exe" --log_level=message --build_info=yes --result_code=no --report_level=short
:VCEnd" exited with code -1. testsuite C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 133
Error in "QuantLib test suite/Piecewise yield curve tests/QuantLib__detail__quantlib_test_case(&PiecewiseYieldCurveTest__testLogLinearDiscountConsistency)": class QuantLib::Error: time (0.469444) is past max curve time (0.458333) testsuite D:\Quantlib\QuantLib-1.9.1\QuantLib-1.9.1\test-suite\unknown location 1
Error in "QuantLib test suite/Piecewise yield curve tests/QuantLib__detail__quantlib_test_case(&PiecewiseYieldCurveTest__testLinearDiscountConsistency)":
(&PiecewiseYieldCurveTest__testLinearZeroConsistency)":
(&PiecewiseYieldCurveTest__testSplineZeroConsistency)":
(&PiecewiseYieldCurveTest__testLinearForwardConsistency)":
(&PiecewiseYieldCurveTest__testFlatForwardConsistency)":
(&PiecewiseYieldCurveTest__testConvexMonotoneForwardConsistency)":(&PiecewiseYieldCurveTest__testLocalBootstrapConsistency)":


On Thu, Jan 26, 2017 at 6:35 PM, Omkar Vandara <[hidden email]> wrote:
Tanks Luigi - when I added the lib-sthng director to the list, it seems like it got past that error. However it is stuck now with a more sort of a test case error. Is there a way I can fix this but changing inputs or is it some sort of bug? Appreciate your help
Inline image 1

Sent from my iPad

On Jan 26, 2017, at 12:53 PM, Luigi Ballabio <[hidden email]> wrote:

If you already followed those instructions, look into the Boost folder. The library might be in a different folder called "lib-something". If so, that's the one you must add to the path.


On Thu, Jan 26, 2017, 18:46 Luigi Ballabio <[hidden email]> wrote:

See the section "Boost installation" in the instructions on the QuantLib site, at <http://quantlib.org/install/vc10.shtml>.


On Thu, Jan 26, 2017, 18:39 Omkar Vandara <[hidden email]> wrote:
Luigi - No; I dont even know if the library is prepackage or a result of a build or testuite. If can be prepackaged can u point to me where that is available. 

But from my experience it needs to build in environment. If so, can u pls suggest building which project will produce the -mt_1-63.lib file?

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

Does that directory contain the library that the linker is looking for?



------------------------------------------------------------------------------
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: Fwd: Fwd: Help building Quantlib project in Quantlib 1.9.1 Boost 1.63_0 using VS2015 c++

Omkar Vandara
Wow - thanks a lot Luigi, Yannis and others - such an invaluable support!!!
Omkar

Sent from my iPad

On Jan 27, 2017, at 3:16 AM, Luigi Ballabio <[hidden email]> wrote:

That's because of <https://github.com/lballabio/QuantLib/issues/189>. Just ignore them.

On Fri, Jan 27, 2017 at 2:43 AM Omkar Vandara <[hidden email]> wrote:
Luigi - it failed 8 test cases - below is the log - I will to build without testsuite so I can atleast start coding..pls suggest
<image.png>
log----
Severity Code Description Project File Line Suppression State
Error MSB3073 The command ""D:\Quantlib\QuantLib-1.9.1\QuantLib-1.9.1\test-suite\bin\QuantLib-test-suite-vc140-mt.exe" --log_level=message --build_info=yes --result_code=no --report_level=short
:VCEnd" exited with code -1. testsuite C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 133
Error in "QuantLib test suite/Piecewise yield curve tests/QuantLib__detail__quantlib_test_case(&PiecewiseYieldCurveTest__testLogLinearDiscountConsistency)": class QuantLib::Error: time (0.469444) is past max curve time (0.458333) testsuite D:\Quantlib\QuantLib-1.9.1\QuantLib-1.9.1\test-suite\unknown location 1
Error in "QuantLib test suite/Piecewise yield curve tests/QuantLib__detail__quantlib_test_case(&PiecewiseYieldCurveTest__testLinearDiscountConsistency)":
(&PiecewiseYieldCurveTest__testLinearZeroConsistency)":
(&PiecewiseYieldCurveTest__testSplineZeroConsistency)":
(&PiecewiseYieldCurveTest__testLinearForwardConsistency)":
(&PiecewiseYieldCurveTest__testFlatForwardConsistency)":
(&PiecewiseYieldCurveTest__testConvexMonotoneForwardConsistency)":(&PiecewiseYieldCurveTest__testLocalBootstrapConsistency)":


On Thu, Jan 26, 2017 at 6:35 PM, Omkar Vandara <[hidden email]> wrote:
Tanks Luigi - when I added the lib-sthng director to the list, it seems like it got past that error. However it is stuck now with a more sort of a test case error. Is there a way I can fix this but changing inputs or is it some sort of bug? Appreciate your help
<image.png>

Sent from my iPad

On Jan 26, 2017, at 12:53 PM, Luigi Ballabio <[hidden email]> wrote:

If you already followed those instructions, look into the Boost folder. The library might be in a different folder called "lib-something". If so, that's the one you must add to the path.


On Thu, Jan 26, 2017, 18:46 Luigi Ballabio <[hidden email]> wrote:

See the section "Boost installation" in the instructions on the QuantLib site, at <http://quantlib.org/install/vc10.shtml>.


On Thu, Jan 26, 2017, 18:39 Omkar Vandara <[hidden email]> wrote:
Luigi - No; I dont even know if the library is prepackage or a result of a build or testuite. If can be prepackaged can u point to me where that is available. 

But from my experience it needs to build in environment. If so, can u pls suggest building which project will produce the -mt_1-63.lib file?

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

Does that directory contain the library that the linker is looking for?



------------------------------------------------------------------------------
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
12