still have a problem with Dev_Cpp

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

still have a problem with Dev_Cpp

taiko vic



i m trying to compile QuantLib-0.3.12 in Dev-Cpp and this is the message that i've got
           creating lib/QuantLib.a
and the compile Log screen:

============================================
Compiler: Default compiler

Building Makefile: "C:\msys\1.0\home\QuantLib-0.3.12\Makefile.win"

Executing make...

make.exe -f "C:\msys\1.0\home\QuantLib-0.3.12\Makefile.win" all

windres.exe -i QuantLib_private.rc --input-format=rc
-o ./build/mingw/QuantLib_private.res -O coff

ar r
lib/QuantLib.a ./build/mingw/voltermstructure.o ./build/mingw/calendar.o ./build/mingw/currency.o ./build/mingw/date.o ./build/mingw/discretizedasset.o ./build/mingw/errors.o ./build/mingw/exchangerate.o ./build/mingw/exercise.o ./build/mingw/interestrate.o ./build/mingw/money.o ./build/mingw/schedule.o ./build/mingw/stochasticprocess.o ./build/mingw/zurich.o ./build/mingw/beijing.o ./build/mingw/budapest.o ./build/mingw/copenhagen.o ./build/mingw/germany.o ./build/mingw/helsinki.o ./build/mingw/hongkong.o ./build/mingw/italy.o ./build/mingw/johannesburg.o ./build/mingw/jointcalendar.o ./build/mingw/oslo.o ./build/mingw/riyadh.o ./build/mingw/seoul.o ./build/mingw/singapore.o ./build/mingw/stockholm.o ./build/mingw/sydney.o ./build/mingw/taiwan.o ./build/mingw/target.o ./build/mingw/tokyo.o ./build/mingw/toronto.o ./build/mingw/unitedkingdom.o ./build/mingw/unitedstates.o ./build/mingw/warsaw.o ./build/mingw/wellington.o ./build/mingw/timebasket.o ./build/mingw/basispointsensitivity.o ./build/mingw/cashflowvectors.o ./build/mingw/inarrearindexedcoupon.o ./build/mingw/parcoupon.o ./build/mingw/shortfloatingcoupon.o ./build/mingw/exchangeratemanager.o ./build/mingw/thirty360.o ./build/mingw/actualactual.o ./build/mingw/simpledaycounter.o ./build/mingw/boundarycondition.o ./build/mingw/bsmoperator.o ./build/mingw/tridiagonaloperator.o ./build/mingw/indexmanager.o ./build/mingw/xibor.o ./build/mingw/vanillaoption.o ./build/mingw/asianoption.o ./build/mingw/barrieroption.o ./build/mingw/basketoption.o ./build/mingw/capfloor.o ./build/mingw/cliquetoption.o ./build/mingw/dividendvanillaoption.o ./build/mingw/europeanoption.o ./build/mingw/forwardvanillaoption.o ./build/mingw/multiassetoption.o ./build/mingw/oneassetoption.o ./build/mingw/oneassetstrikedoption.o ./build/mingw/quantoforwardvanillaoption.o ./build/mingw/quantovanillaoption.o ./build/mingw/simpleswap.o ./build/mingw/stock.o ./build/mingw/swap.o ./build/mingw/swaption.o ./build/mingw/trinomialtree.o ./build/mingw/binomialtree.o ./build/mingw/symmetricschurdecomposition.o ./build/mingw/beta.o ./build/mingw/bivariatenormaldistribution.o ./build/mingw/chisquaredistribution.o ./build/mingw/choleskydecomposition.o ./build/mingw/discrepancystatistics.o ./build/mingw/errorfunction.o ./build/mingw/factorial.o ./build/mingw/gammadistribution.o ./build/mingw/generalstatistics.o ./build/mingw/incompletegamma.o ./build/mingw/incrementalstatistics.o ./build/mingw/normaldistribution.o ./build/mingw/primenumbers.o ./build/mingw/pseudosqrt.o ./build/mingw/rounding.o ./build/mingw/svd.o ./build/mingw/getcovariance.o ./build/mingw/steepestdescent.o ./build/mingw/armijo.o ./build/mingw/conjugategradient.o ./build/mingw/simplex.o ./build/mingw/singleassetoption.o ./build/mingw/discretegeometricaso.o ./build/mingw/mccliquetoption.o ./build/mingw/mcdiscretearithmeticaso.o ./build/mingw/mceverest.o ./build/mingw/mchimalaya.o ./build/mingw/mcmaxbasket.o ./build/mingw/mcpagoda.o ./build/mingw/mcperformanceoption.o ./build/mingw/blackformula.o ./build/mingw/americanpayoffatexpiry.o ./build/mingw/americanpayoffathit.o ./build/mingw/mc_discr_geom_av_price.o ./build/mingw/analytic_cont_geom_av_price.o ./build/mingw/analytic_discr_geom_av_price.o ./build/mingw/mc_discr_arith_av_price.o ./build/mingw/mcbarrierengine.o ./build/mingw/analyticbarrierengine.o ./build/mingw/stulzengine.o ./build/mingw/mcamericanbasketengine.o ./build/mingw/mcbasketengine.o ./build/mingw/treecapfloorengine.o ./build/mingw/analyticcapfloorengine.o ./build/mingw/blackcapfloorengine.o ./build/mingw/discretizedcapfloor.o ./build/mingw/analyticperformanceengine.o ./build/mingw/analyticcliquetengine.o ./build/mingw/treeswaptionengine.o ./build/mingw/blackswaptionengine.o ./build/mingw/discretizedswaption.o ./build/mingw/jamshidianswaptionengine.o ./build/mingw/mcdigitalengine.o ./build/mingw/analyticdigitalamericanengine.o ./build/mingw/analyticdividendeuropeanengine.o ./build/mingw/analyticeuropeanengine.o ./build/mingw/baroneadesiwhaleyengine.o ./build/mingw/bjerksundstenslandengine.o ./build/mingw/discretizedvanillaoption.o ./build/mingw/integralengine.o ./build/mingw/jumpdiffusionengine.o ./build/mingw/juquadraticengine.o ./build/mingw/sobolrsg.o ./build/mingw/faurersg.o ./build/mingw/haltonrsg.o ./build/mingw/knuthuniformrng.o ./build/mingw/lecuyeruniformrng.o ./build/mingw/mt19937uniformrng.o ./build/mingw/seedgenerator.o ./build/mingw/primitivepolynomials.o ./build/mingw/twofactormodel.o ./build/mingw/calibrationhelper.o ./build/mingw/model.o ./build/mingw/onefactormodel.o ./build/mingw/swaptionhelper.o ./build/mingw/caphelper.o ./build/mingw/vasicek.o ./build/mingw/blackkarasinski.o ./build/mingw/coxingersollross.o ./build/mingw/extendedcoxingersollross.o ./build/mingw/hullwhite.o ./build/mingw/g2.o ./build/mingw/affinetermstructure.o ./build/mingw/compoundforward.o ./build/mingw/extendeddiscountcurve.o ./build/mingw/piecewiseflatforward.o ./build/mingw/ratehelpers.o ./build/mingw/localvolsurface.o ./build/mingw/blackvariancecurve.o ./build/mingw/blackvariancesurface.o ./build/mingw/bond.o ./build/mingw/fixedcouponbond.o ./build/mingw/bratislava.o ./build/mingw/prague.o ./build/mingw/floatingratebond.o ./build/mingw/zerocouponbond.o ./build/mingw/greeks.o ./build/mingw/fddividendengine.o ./build/mingw/fdeuropeanengine.o ./build/mingw/fdmultiperiodengine.o ./build/mingw/fdstepconditionengine.o ./build/mingw/fdvanillaengine.o ./build/mingw/blackscholesprocess.o ./build/mingw/geometricbrownianprocess.o ./build/mingw/merton76process.o ./build/mingw/ornsteinuhlenbeckprocess.o ./build/mingw/squarerootprocess.o ./build/mingw/dataformatters.o ./build/mingw/dataparsers.o ./build/mingw/tracing.o ./build/mingw/timegrid.o ./build/mingw/gaussianorthogonalpolynomial.o ./build/mingw/gaussianquadratures.o ./build/mingw/tqreigendecomposition.o ./build/mingw/eulerdiscretization.o ./build/mingw/hestonprocess.o ./build/mingw/stochasticprocessarray.o ./build/mingw/hestonmodel.o ./build/mingw/hestonmodelhelper.o ./build/mingw/analytichestonengine.o ./build/mingw/analysis.o ./build/mingw/istanbul.o ./build/mingw/libor.o ./build/mingw/batesmodel.o ./build/mingw/batesengine.o ./build/mingw/bombay.o ./build/mingw/bondhelpers.o ./build/mingw/strings.o ./build/mingw/sampledcurve.o ./build/mingw/argentina.o ./build/mingw/brazil.o ./build/mingw/iceland.o ./build/mingw/indonesia.o ./build/mingw/mexico.o ./build/mingw/ukraine.o ./build/mingw/convertiblebond.o ./build/mingw/levenbergmarquardt.o ./build/mingw/lmdif.o ./build/mingw/lfmswaptionengine.o ./build/mingw/discretizedconvertible.o ./build/mingw/lfmcovarparam.o ./build/mingw/lfmhullwhiteparam.o ./build/mingw/lfmprocess.o ./build/mingw/lfmcovarproxy.o ./build/mingw/liborforwardmodel.o ./build/mingw/lmcorrmodel.o ./build/mingw/lmexpcorrmodel.o ./build/mingw/lmfixedvolmodel.o ./build/mingw/lmlinexpvolmodel.o ./build/mingw/lmvolmodel.o ./build/mingw/QuantLib_private.res

ar: creating lib/QuantLib.a

ranlib lib/QuantLib.a

Execution terminated
=======================================================
in total errors tab i ve got : one error
please any suggestions.thx

Reply | Threaded
Open this post in threaded view
|

Re: still have a problem with Dev_Cpp

eric ehlers
Hello,

On 7/17/06, taiko vic <[hidden email]> wrote:
>  i m trying to compile QuantLib-0.3.12 in Dev-Cpp and this is the message
> that i've got
>             creating lib/QuantLib.a
>  and the compile Log screen:

    (output snipped)

>  ranlib lib/QuantLib.a
>
>  Execution terminated
>  =======================================================
>  in total errors tab i ve got : one error
>  please any suggestions.thx

In the output that you sent, the only indication I can see of a
problem is "execution terminated", apparently while running ranlib.

The message is pretty vague.  Is the archive corrupt, or one of the
object files?  I would also check for things like insufficient hard
disk space and other system problems

If that fails I suggest you troubleshoot the problem by executing at
the command line the exact command on which make is failing.

Set up a script which does any necessary initialization (e.g. setting
environment variables) and then executes exactly the same command
which is causing make to fail.  If you get this right then you should
see the same error message returned by make.

You can then troubleshoot e.g. by changing flags/inputs and observing
any changes in the output/error messages.

Regards,
Eric


Reply | Threaded
Open this post in threaded view
|

DateFormatter::toString etc

M L-3
People,

I am still using 0.3.7 version, but now I am trying to move up the ladder to
the latest version 0.3.12. I use the Date class extensively, but it looks
like it is no longer available in the new version, where can I  find it or
is there a transition guide for little folks like me? (understand that there
has been a major upgrade on the Date class)

many thanks

mike




Reply | Threaded
Open this post in threaded view
|

Re: DateFormatter::toString etc

Luigi Ballabio

On 07/19/2006 03:09:11 PM, M L wrote:
> I am still using 0.3.7 version, but now I am trying to move up the
> ladder to the latest version 0.3.12. I use the Date class
> extensively, but it looks like it is no longer available in the new  
> version

You mean DateFormatter, right? In the current versions, you can use  
streams and manipulators. You can output dates by just writing, e.g.,

cout << "date = " << d << endl;

If you want to get hold of the string, you can use a string stream  
instead, as in

ostringstream out;
out << d;
string s = out.str();

Finally, you can format the date by means of manipulators, as in:

out << io::iso_date(d);

which will output the date in ISO format. Other formats are available;  
look into date.hpp for details.

Later,
        Luigi


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

All parts should go together without forcing.  You must remember that
the parts you are reassembling were disassembled by you.  Therefore, if
you can't get them together again, there must be a reason.  By all
means, do not use a hammer.
-- IBM maintenance manual, 1925