Compiling QuantLib in Release Version

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

Compiling QuantLib in Release Version

Jacopo.Zani
Hi,
    while compiling QuantLib (Visula C++ 6.0 environment) everything works
in Debug mode, but when I build QuanLibFunctions project to get
QuantLibFunctions.lib in Release Mode a strange compiling error comes out:

--------------------Configuration: QuantLib - Win32 Release
MTDLL--------------------
Compiling...
fddividendoption.cpp
blackvariancecurve.cpp
blackvariancesurface.cpp
Make build directory
Creating library...
--------------------Configuration: QuantLibFunctions - Win32 Release
MTDLL--------------------
Compiling...
mathf.cpp
..\..\..\ql/Math/cubicspline.hpp(299) : fatal error C1001: INTERNAL
COMPILER ERROR
  (compiler file 'E:\8168\vc98\p2\src\P2\main.c', line 494)
    Please choose the Technical Support command on the Visual C++
    Help menu, or open the Technical Support help file for more
information
Error executing cl.exe.

QuantLibFunctions-vc6-mt-0_3_8.lib - 1 error(s), 0 warning(s)


Does anybody help me in fixing this bug?

Thank you in advance.

Regards

Jacopo

-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
-----------------------------------------------------------------------------
Il presente messaggio di posta elettronica  non  comporta alcun vincolo e non
crea obblighi, salvo che ci? non sia espressamente previsto da un  preventivo
accordo scritto. Tale  messaggio e' confidenziale: qualora lo avesse ricevuto
per errore, La  preghiamo di  comunicarne la ricezione inviando una e-mail al
mittente e di distruggerne il contenuto. La informiamo inoltre che l'utilizzo
non autorizzato del messaggio o  dei suoi allegati potrebbe costituire reato.
La ringraziamo per la collaborazione.

This  e-mail  message does not imply  or cause  any obligation,  unless it is
provided  by a previous written  agreement.  This message is confidential: if
you  have  received  it  by mistake, please  advise immediately the sender by
e-mail  and destroy the message and its attachments.  You are hereby notified
that any  unauthorized  use  of the content of this message could  constitute
a criminal offence. Thank you.
-----------------------------------------------------------------------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Compiling QuantLib in Release Version

Luigi Ballabio
On Fri, 2007-02-16 at 10:15 +0100, [hidden email] wrote:
>     while compiling QuantLib (Visula C++ 6.0 environment) everything works
> in Debug mode, but when I build QuanLibFunctions project to get
> QuantLibFunctions.lib in Release Mode a strange compiling error comes out:
>
> QuantLibFunctions-vc6-mt-0_3_8.lib - 1 error(s), 0 warning(s)

Jacopo,
        version 0.3.8 is more than 2 years old. Is there any chance you can
switch to a more recent version? Also, unless you are forced to use VC
++6 by your IT policies or any other external constraint (such as binary
compatibility) I'd suggest you switch to the free VC++8 compiler.
Starting with next release, we're dropping support for VC++6.

Later,
        Luigi


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

Steinbach's Guideline for Systems Programming:
Never test for an error condition you don't know how to handle.



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users