Re: compile errors

Posted by Eric Ehlers-2 on
URL: http://quantlib.414.s1.nabble.com/compile-errors-tp6423p6425.html

Hi S,

> On 8/4/08, Siddharth Alexander <[hidden email]> wrote:
>>
>> Hi-
>>
>> I am trying to build QuantLibAllStatic_vc7 in VS .NET 2003. I
>> have a ton of
>> errors while compiling the QuantLibObjects project. Are the
>> files in this
>> project current? Does this have to be included for me to run
>> quantlib in xl
>> and be able to step into the code? I have all kinds of
>> errors. Please let me
>> know if you can help in any way.

The VC7 build QuantLibAllStatic_vc7.sln works OK on my
computer.  If you want to debug QuantLibXL then yes you need to
compile all the source code, including the QuantLibObjects
project, with the debug configuration.

>> Here are a couple of sample errors:
>>
>> c:\build_ql_0_9_0\QuantLibAddin\qlo\capletvolstructure.cpp(43):
>> error
>> C2039: 'ConstantOptionletVol' : is not a member of 'QuantLib'

Have you unzipped the QuantLib source files into your build
directory as explained in the tutorial
http://quantlib.org/quantlibaddin/build_tutorial.html?

On Mon, August 4, 2008 17:18, Siddharth Alexander wrote:

> Another error I have is
>
> error C2872: 'variant' : ambiguous symbol
>
> could be 'boost::detail::variant'
>
> or 'c:\Program
> Files\boost\boost_1_35_0\boost\variant\variant.hpp(1785) :
> boost::variant'
> Since I have never used boost, before can somebody shed some
> light on which
> is the right one to use?

Have you installed and configured boost as explained in the
tutorial?  What source code file is being compiled when that
error occurs?

Regards,
Eric

-------------------------
Eric Ehlers
nazcatech sprl | Brussels | http://www.nazcatech.be
Distributed computing for pricing analytics - Use Microsoft
Excel as a client to the Grid


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users