QuantLib-SWIG

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

QuantLib-SWIG

Ferdinando M. Ametrano-3
QuantLib-MzScheme succesfully builds, tests itself, and install on Win32
Unfortunately 'mzscheme -r setup.scm sdist' fails because 'couldn't make
stderr distinct from stdout'

QuantLib-Ruby doesn't even build.

QuantLib-Python has no problems at all.

ciao -- Nando



Reply | Threaded
Open this post in threaded view
|

Re: QuantLib-SWIG

Luigi Ballabio-2
On 2003.11.07 16:06, Ferdinando Ametrano wrote:
> QuantLib-MzScheme succesfully builds, tests itself, and install on  
> Win32
> Unfortunately 'mzscheme -r setup.scm sdist' fails because 'couldn't  
> make stderr distinct from stdout'

I can't make head nor tail of this one. Oh well, just convert my  
tarball to zip format.

> QuantLib-Ruby doesn't even build.

Can you elaborate?

Later,
        Luigi


Reply | Threaded
Open this post in threaded view
|

Re: QuantLib-SWIG

Ferdinando M. Ametrano-3
At 04:22 PM 11/7/2003, Luigi Ballabio wrote:
>>QuantLib-Ruby doesn't even build.
>
>Can you elaborate?

the same problem I reported for 0.3.3
See the output below.

ciao -- Nando

==========================


C:\QuantLib-Ruby-0.3.4>ruby setup.rb build
Building extension...
creating Makefile

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

         cl -MD -Zi -O2b2xg- -G6 -I.
-Ic:/programs/ruby/lib/ruby/1.8/i386-mswin32
  -Ic:/programs/ruby/lib/ruby/1.8/i386-mswin32 -I.  -I. -I./..
-I./../missing /MD
  /GR /GX /DNOMINMAX /IC:\Programs\QuantLib -c -Tpquantlib_wrap.cpp
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

quantlib_wrap.cpp
C:\Programs\QuantLib\ql/cashflow.hpp(56) : warning C4003: not enough actual
para
meters for macro 'accept'
C:\Programs\QuantLib\ql/cashflow.hpp(56) : error C2059: syntax error : ','
C:\Programs\QuantLib\ql/cashflow.hpp(63) : warning C4003: not enough actual
para
meters for macro 'accept'
C:\Programs\QuantLib\ql/cashflow.hpp(63) : error C2059: syntax error : ','
C:\Programs\QuantLib\ql/voltermstructure.hpp(100) : warning C4003: not
enough ac
tual parameters for macro 'accept'
C:\Programs\QuantLib\ql/voltermstructure.hpp(100) : error C2059: syntax error :
','
C:\Programs\QuantLib\ql/voltermstructure.hpp(126) : warning C4003: not
enough ac
tual parameters for macro 'accept'
C:\Programs\QuantLib\ql/voltermstructure.hpp(126) : error C2059: syntax error :
','
C:\Programs\QuantLib\ql/voltermstructure.hpp(149) : warning C4003: not
enough ac
tual parameters for macro 'accept'
C:\Programs\QuantLib\ql/voltermstructure.hpp(149) : error C2059: syntax error :
','
C:\Programs\QuantLib\ql/voltermstructure.hpp(189) : warning C4003: not
enough ac
tual parameters for macro 'accept'
C:\Programs\QuantLib\ql/voltermstructure.hpp(189) : error C2059: syntax error :
','
C:\Programs\QuantLib\ql/voltermstructure.hpp(201) : warning C4003: not
enough ac
tual parameters for macro 'accept'
C:\Programs\QuantLib\ql/voltermstructure.hpp(201) : error C2059: syntax error :
','
C:\Programs\QuantLib\ql/voltermstructure.hpp(212) : warning C4003: not
enough ac
tual parameters for macro 'accept'
C:\Programs\QuantLib\ql/voltermstructure.hpp(212) : error C2059: syntax error :
','
C:\Programs\QuantLib\ql/voltermstructure.hpp(219) : warning C4003: not
enough ac
tual parameters for macro 'accept'
C:\Programs\QuantLib\ql/voltermstructure.hpp(219) : error C2059: syntax error :
','
C:\Programs\QuantLib\ql/voltermstructure.hpp(223) : warning C4003: not
enough ac
tual parameters for macro 'accept'
C:\Programs\QuantLib\ql/voltermstructure.hpp(223) : error C2059: syntax error :
','
C:\Programs\QuantLib\ql/voltermstructure.hpp(230) : warning C4003: not
enough ac
tual parameters for macro 'accept'
C:\Programs\QuantLib\ql/voltermstructure.hpp(230) : error C2059: syntax error :
','
C:\Programs\QuantLib\ql/voltermstructure.hpp(233) : warning C4003: not
enough ac
tual parameters for macro 'accept'
C:\Programs\QuantLib\ql/voltermstructure.hpp(233) : error C2059: syntax error :
','
C:\Programs\QuantLib\ql/CashFlows/coupon.hpp(71) : warning C4003: not
enough act
ual parameters for macro 'accept'
C:\Programs\QuantLib\ql/CashFlows/coupon.hpp(71) : error C2059: syntax
error : '
,'
C:\Programs\QuantLib\ql/CashFlows/coupon.hpp(118) : warning C4003: not
enough ac
tual parameters for macro 'accept'
C:\Programs\QuantLib\ql/CashFlows/coupon.hpp(118) : error C2059: syntax error :
','
C:\Programs\QuantLib\ql/CashFlows/coupon.hpp(124) : warning C4003: not
enough ac
tual parameters for macro 'accept'
C:\Programs\QuantLib\ql/CashFlows/coupon.hpp(124) : error C2059: syntax error :
','
C:\Programs\QuantLib\ql/CashFlows/fixedratecoupon.hpp(59) : warning C4003:
not e
nough actual parameters for macro 'accept'
C:\Programs\QuantLib\ql/CashFlows/fixedratecoupon.hpp(59) : error C2059: syntax
error : ','
C:\Programs\QuantLib\ql/CashFlows/fixedratecoupon.hpp(93) : warning C4003:
not e
nough actual parameters for macro 'accept'
C:\Programs\QuantLib\ql/CashFlows/fixedratecoupon.hpp(93) : error C2059: syntax
error : ','
C:\Programs\QuantLib\ql/CashFlows/fixedratecoupon.hpp(100) : warning C4003: not
enough actual parameters for macro 'accept'
C:\Programs\QuantLib\ql/CashFlows/fixedratecoupon.hpp(100) : error C2059:
syntax
  error : ','
C:\Programs\QuantLib\ql/CashFlows/floatingratecoupon.hpp(56) : warning
C4003: no
t enough actual parameters for macro 'accept'
C:\Programs\QuantLib\ql/CashFlows/floatingratecoupon.hpp(56) : error C2059:
synt
ax error : ','
C:\Programs\QuantLib\ql/CashFlows/floatingratecoupon.hpp(95) : warning
C4003: no
t enough actual parameters for macro 'accept'
C:\Programs\QuantLib\ql/CashFlows/floatingratecoupon.hpp(95) : error C2059:
synt
ax error : ','
C:\Programs\QuantLib\ql/CashFlows/floatingratecoupon.hpp(102) : warning
C4003: n
ot enough actual parameters for macro 'accept'
C:\Programs\QuantLib\ql/CashFlows/floatingratecoupon.hpp(102) : error
C2059: syn
tax error : ','
C:\Programs\QuantLib\ql/CashFlows/indexedcoupon.hpp(72) : warning C4003:
not eno
ugh actual parameters for macro 'accept'
C:\Programs\QuantLib\ql/CashFlows/indexedcoupon.hpp(72) : error C2059:
syntax er
ror : ','
C:\Programs\QuantLib\ql/CashFlows/indexedcoupon.hpp(119) : warning C4003:
not en
ough actual parameters for macro 'accept'
C:\Programs\QuantLib\ql/CashFlows/indexedcoupon.hpp(119) : error C2059:
syntax e
rror : ','
C:\Programs\QuantLib\ql/CashFlows/indexedcoupon.hpp(126) : warning C4003:
not en
ough actual parameters for macro 'accept'
C:\Programs\QuantLib\ql/CashFlows/indexedcoupon.hpp(126) : error C2059:
syntax e
rror : ','
C:\Programs\QuantLib\ql/CashFlows/inarrearindexedcoupon.hpp(56) : warning
C4003:
  not enough actual parameters for macro 'accept'
C:\Programs\QuantLib\ql/CashFlows/inarrearindexedcoupon.hpp(56) : error
C2059: s
yntax error : ','
C:\Programs\QuantLib\ql/CashFlows/inarrearindexedcoupon.hpp(71) : warning
C4003:
  not enough actual parameters for macro 'accept'
C:\Programs\QuantLib\ql/CashFlows/inarrearindexedcoupon.hpp(71) : error
C2059: s
yntax error : ','
C:\Programs\QuantLib\ql/CashFlows/inarrearindexedcoupon.hpp(78) : warning
C4003:
  not enough actual parameters for macro 'accept'
C:\Programs\QuantLib\ql/CashFlows/inarrearindexedcoupon.hpp(78) : error
C2059: s
yntax error : ','
C:\Programs\QuantLib\ql/CashFlows/shortindexedcoupon.hpp(41) : error C2653:
'Ind
exes' : is not a class or namespace name
         C:\Programs\QuantLib\ql/CashFlows/shortindexedcoupon.hpp(62) : see
refer
ence to class template instantiation 'CashFlows::Short<IndexedCouponType>'
being
  compiled
C:\Programs\QuantLib\ql/CashFlows/shortindexedcoupon.hpp(39) : error C2629:
unex
pected 'class CashFlows::Short<IndexedCouponType> ('
         C:\Programs\QuantLib\ql/CashFlows/shortindexedcoupon.hpp(62) : see
refer
ence to class template instantiation 'CashFlows::Short<IndexedCouponType>'
being
  compiled
C:\Programs\QuantLib\ql/CashFlows/shortindexedcoupon.hpp(39) : error C2334:
unex
pected token(s) preceding ':'; skipping apparent function body
         C:\Programs\QuantLib\ql/CashFlows/shortindexedcoupon.hpp(62) : see
refer
ence to class template instantiation 'CashFlows::Short<IndexedCouponType>'
being
  compiled
C:\Programs\QuantLib\ql/CashFlows/shortindexedcoupon.hpp(66) : fatal error
C1506
: unrecoverable block scoping error
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.