ambiguous symbol error building Quantlib 1.6 with Boost 1.59 unit_test_framework

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

ambiguous symbol error building Quantlib 1.6 with Boost 1.59 unit_test_framework

Anshuman Sinha
Hi,

I'm building Quantlib 1.6 Release X64, with Boost 1.59 where I built Boost using the NuGet package manager in VS2013 in Windows 7.

I am getting errors in the 'testsuite' project.

error C2872 : 'tolerance' : ambiguous symbol. The cpp files where this shows up have as namespace boost::unit_test_framework 

I have nearly 44 instances of this error.

I am also getting the following errors. All of the errors below have to do with the variable 'tolerance' being used in the code. So I suppose once the first problem is fixed, then all these will be too.
 

Error C2568 : '>' : unable to resolve function overload

Error C2563: mismatch in formal parameter list

Error C2664: 'Quantlid::TrapezoidIntegral<Quantlib::Default>::TrapezoidIntegral(const Quantlib::TrapezoidIntegral <Quantlib::Default> &)': cannot convert argument 1 from 'overloaded-function' to 'Quantlib::Real' 

Error C2440: 'initializing' : cannot convert from 'overloaded-function' to 'Quantlib::Real'

Error C2665:'Quantlib::GaussLobattoIntegral::GaussLobattoIntegral':none of the 2 overloads could convert all the argument types

I am brand new to C++ and I have very little idea about what the issues are.

Any help will be greatly appreciated.

Thanks,
Amatya




--
Pretty simple neat puzzleAssume the earth is a perfect sphere. Show that at any given time, there exist two antipodal points with the same temperature.

------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: ambiguous symbol error building Quantlib 1.6 with Boost 1.59 unit_test_framework

Luigi Ballabio

These errors are fixed in QuantLib 1.6.2.

Luigi


On 18:02, Thu, Sep 17, 2015 Anshuman Sinha <[hidden email]> wrote:
Hi,

I'm building Quantlib 1.6 Release X64, with Boost 1.59 where I built Boost using the NuGet package manager in VS2013 in Windows 7.

I am getting errors in the 'testsuite' project.

error C2872 : 'tolerance' : ambiguous symbol. The cpp files where this shows up have as namespace boost::unit_test_framework 

I have nearly 44 instances of this error.

I am also getting the following errors. All of the errors below have to do with the variable 'tolerance' being used in the code. So I suppose once the first problem is fixed, then all these will be too.
 

Error C2568 : '>' : unable to resolve function overload

Error C2563: mismatch in formal parameter list

Error C2664: 'Quantlid::TrapezoidIntegral<Quantlib::Default>::TrapezoidIntegral(const Quantlib::TrapezoidIntegral <Quantlib::Default> &)': cannot convert argument 1 from 'overloaded-function' to 'Quantlib::Real' 

Error C2440: 'initializing' : cannot convert from 'overloaded-function' to 'Quantlib::Real'

Error C2665:'Quantlib::GaussLobattoIntegral::GaussLobattoIntegral':none of the 2 overloads could convert all the argument types

I am brand new to C++ and I have very little idea about what the issues are.

Any help will be greatly appreciated.

Thanks,
Amatya




--
Pretty simple neat puzzleAssume the earth is a perfect sphere. Show that at any given time, there exist two antipodal points with the same temperature.
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
--

------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users