That's weird. I don't see any reason you should have that error. What
are the other ones?
Luigi
> ------------------------------------------------------------------------------
On Tue, Aug 26, 2014 at 10:53 PM, Pavan Shah <[hidden email]> wrote:
> For example, lets look at MarketModels project.
>
> This is what I see when I try to build it.
>
> MarketModels.cpp(57): error C2065: 'MarketModel' : undeclared identifier
> 2>MarketModels.cpp(62): error C2678: binary '->' : no operator found which
> takes a left-hand operand of type 'boost::shared_ptr' (or there is no
> acceptable conversion)
> 2>
> C:\Boost\boost_1_52_0\boost_1_52_0\boost/smart_ptr/shared_ptr.hpp(422):
> could be 'T *boost::shared_ptr<X>::operator ->(void) const'
> 2> while trying to match the argument list '(boost::shared_ptr)'
> 2>MarketModels.cpp(62): error C2039: 'numberOfRates' : is not a member of
> 'boost::shared_ptr'
> 2>
> C:\Boost\boost_1_52_0\boost_1_52_0\boost/smart_ptr/shared_ptr.hpp(165) : see
> declaration of 'boost::shared_ptr'
> 2>MarketModels.cpp(64): error C2653: 'VolatilityBumpInstrumentJacobian' : is
> not a class or namespace name
> 2>MarketModels.cpp(64): error C2065: 'Cap' : undeclared identifier
> 2>MarketModels.cpp(64): error C2133: 'caps' : unknown size
> 2>MarketModels.cpp(64): error C2512: 'std::vector' : no appropriate default
> constructor available
> 2>MarketModels.cpp(69): error C2678: binary '->' : no operator found which
> takes a left-hand operand of type 'boost::shared_ptr' (or there is no
> acceptable conversion)
> 2>
> C:\Boost\boost_1_52_0\boost_1_52_0\boost/smart_ptr/shared_ptr.hpp(422):
> could be 'T *boost::shared_ptr<X>::operator ->(void) const'
> 2> while trying to match the argument list '(boost::shared_ptr)'
> 2>MarketModels.cpp(69): error C2039: 'initialRates' : is not a member of
> 'boost::shared_ptr'
> 2>
> C:\Boost\boost_1_52_0\boost_1_52_0\boost/smart_ptr/shared_ptr.hpp(165) : see
> declaration of 'boost::shared_ptr'
> 2>MarketModels.cpp(73): error C2653: 'VolatilityBumpInstrumentJacobian' : is
> not a class or namespace name
> 2>MarketModels.cpp(73): error C2065: 'Cap' : undeclared identifier
> 2>MarketModels.cpp(73): error C2146: syntax error : missing ';' before
> identifier 'nextCap'
> 2>MarketModels.cpp(73): error C2065: 'nextCap' : undeclared identifier
>
>
> Keep in mind, I haven't changed anything. I have simply downloaded Boost and
> QuantLib.
>
> Any help?
> thanks
> Pavan
>
>
> On Mon, Aug 25, 2014 at 6:32 PM, cheng li <[hidden email]>
> wrote:
>>
>> Hi Pavan,
>>
>>
>>
>> It will be better you post your error message here to let others to help
>> you figure out.
>>
>>
>>
>> Regards,
>>
>> Cheng
>>
>>
>>
>> 发件人: Pavan Shah [mailto:[hidden email]]
>> 发送时间: 2014年8月26日 5:32
>> 收件人: QuantLib QuantLib
>> 主题: [Quantlib-users] building quantlib 1.4 in MS Visual Studio 2010
>>
>>
>>
>> Hi all,
>>
>> I am only able to build 8 out of 15 projects within this solution.
>>
>> Why is that?
>>
>> 7 builds are failing.
>>
>> All I have done so far is installed Boost and QuantLib 1.4 .
>>
>> I am working with vc10.sln.
>>
>>
>>
>> thanks
>>
>> Pavan
>
>
>
> Slashdot TV.
> Video for Nerds. Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> QuantLib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>
--
<https://implementingquantlib.blogspot.com>
<https://twitter.com/lballabio>
| Free forum by Nabble | Edit this page |