Compiling error problem on cygwin

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

Compiling error problem on cygwin

ywang25
Hi:
   I am a new user of Quantlib. I got the following error when I try to
compile the package with "make". I did have
QuantLib-0.3.8/ql/PricingEngines/Asian/.libs/libAsianEngines.a
in the desired location. Why it says "No such file or directory"
   Thanks for your help!

Y. Wang
Ph.D. candidate

C:/cygwin/bin/sh.exe ../../libtool --tag=CXX --mode=link g++  -g -O2 -Wall  
-L/cygdrive/c/Boost/lib -o libPricingEngines.la   americanpayoffatexpiry.lo
americanpayoffathit.lo blackformula.lo Asian/lib
AsianEngines.la Barrier/libBarrierEngines.la Basket/libBasketEngines.la
CapFloor/libCapFloorEngines.la Cliquet/libCliquetEngines.la
Swaption/libSwaptionEngines.la Vanilla/libVanillaEngines.la
rm -fr  .libs/libPricingEngines.lax
rm -fr .libs/libPricingEngines.lax
mkdir .libs/libPricingEngines.lax
rm -fr .libs/libPricingEngines.lax/libAsianEngines.a
mkdir .libs/libPricingEngines.lax/libAsianEngines.a
(cd .libs/libPricingEngines.lax/libAsianEngines.a && ar x
/cygdrive/c/wang/Finance/QuantLib-0.3.8/ql/PricingEngines/Asian/.libs/libAsian
Engines.a)
c:\gnat\bin\ar.exe:
/cygdrive/c/wang/Finance/QuantLib-0.3.8/ql/PricingEngines/Asian/.libs/libAsian
Engines.a: No such file or directory
c:\gnat\bin\make.exe[4]: *** [libPricingEngines.la] Error 9
c:\gnat\bin\make.exe[4]: Leaving directory
`c:/wang/Finance/QuantLib-0.3.8/ql/PricingEngines'
c:\gnat\bin\make.exe[3]: *** [all-recursive] Error 1
c:\gnat\bin\make.exe[3]: Leaving directory
`c:/wang/Finance/QuantLib-0.3.8/ql/PricingEngines'
make.exe[2]: *** [all-recursive] Error 1
make.exe[2]: Leaving directory `c:/wang/Finance/QuantLib-0.3.8/ql'
c:\gnat\bin\make.exe[1]: *** [all] Error 2
c:\gnat\bin\make.exe[1]: Leaving directory `c:/wang/Finance/QuantLib-0.3.8/ql'
c:\gnat\bin\make.exe: *** [all-recursive] Error 1



Reply | Threaded
Open this post in threaded view
|

Re: Compiling error problem on cygwin

Luigi Ballabio
On 02/21/05 04:14:13, ywang25 wrote:
> Hi:
>    I am a new user of Quantlib. I got the following error when I try to
> compile the package with "make". I did have
> QuantLib-0.3.8/ql/PricingEngines/Asian/.libs/libAsianEngines.a
> in the desired location. Why it says "No such file or directory"
>
> c:\gnat\bin\ar.exe:
> /cygdrive/c/wang/Finance/QuantLib-0.3.8/ql/PricingEngines/Asian/.libs/
> libAsianEngines.a: No such file or directory

Y.,
        is gnat/bin/ar part of cygwin, or some other port of the GNU tools?  
In the latter case, it might not know how to translate a /cygdrive path.

Later,
        Luigi

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

Lubarsky's Law of Cybernetic Entomology:
        There is _always_ one more bug.