Yes, I think the problem is some config in this machine, because I tried with another one with the same environment (Win7 + Cygwin) and it worked. Unfortunatelly, I was not able to fix that error. I will try to skip experimental as a temporary solution. Thanks very much for the help Luigi.
Em 04/08/2015 16:40, "Luigi Ballabio" <[hidden email]> escreveu:That's weird. I don't think I've seen it happen before.As for disabling the experimental folder, you can edit ql/Makefile.am and remove experimental from the list of subdirs and libExperimental from the list of libraries to link. You'll get some errors in the test suite, though, since there are test cases that exercise that code. You'll have to comment those out.LuigiOn Tue, Aug 4, 2015 at 9:01 PM Lucas Ingles <[hidden email]> wrote:Luigi, I do have ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a and there are no errors during ql/experimental/amortizingbonds compilation phase. I can see all the files and folders in the right place after "make" stops. I can even run the "problematic" line with success:
cd .libs/libExperimental.lax/libAmortizingBonds.a && ar x "/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a"
Now that I am trying to run "make" again, it included an RM line before the error. I think this is related to the problem:
make[4]: Leaving directory '/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/volatility'
make[4]: Entering directory '/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental'
/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -L/drives/c/Lucas/softwares/boost_1_58_0 -o libExperimental.la amortizingbonds/libAmortizingBonds.la barrieroption/libBarrierOption.la callablebonds/libCallableBonds.la catbonds/libCatBonds.la commodities/libCommodities.la convertiblebonds/libConvertibleBonds.la coupons/libCoupons.la credit/libCredit.la exoticoptions/libExoticOptions.la finitedifferences/libMultiDimFDM.la fx/libFX.la inflation/libInflation.la lattices/libLattices.la math/libMath.la mcbasket/libMcBasket.la processes/libProcesses.la risk/libRisk.la shortrate/libShortRate.la swaptions/libSwaptions.la variancegamma/libVarianceGamma.la varianceoption/libVarianceOption.la volatility/libVolatility.la
libtool: link: rm -fr .libs/libExperimental.lax
libtool: link: (cd .libs/libExperimental.lax/libAmortizingBonds.a && ar x "/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a")
/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a: No such file or directory
M:\Riscos\RM\PRICE\DLL\MinGW-4.8.1\bin\ar.exe: Makefile:463: recipe for target 'libExperimental.la' failed
make[4]: *** [libExperimental.la] Error 9
Also, is there any way to disable experimental folder from my build?
Thanks very much for the help with this point.Regards,
LucasDo you have ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a? If not, are there any errors logged while compiling in ql/experimental/amortizingbonds? (It would be before the part you quoted.)
Luigi'
On 19:33, Tue, Aug 4, 2015 Lucas Ingles <[hidden email]> wrote:Hello to all,
I am trying to build Quantlib under Windows 7 with Cygwin. Every folder and file seems to be in the right place, but the build process returns the following error message. Can someone point me the right way to solve this? Thanks very much.
make[4]: Leaving directory '/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/volatility'
make[4]: Entering directory '/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental'
/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -L/drives/c/Lucas/softwares/boost_1_58_0 -o libExperimental.la amortizingbonds/libAmortizingBonds.la barrieroption/libBarrierOption.la callablebonds/libCallableBonds.la catbonds/libCatBonds.la commodities/libCommodities.la convertiblebonds/libConvertibleBonds.la coupons/libCoupons.la credit/libCredit.la exoticoptions/libExoticOptions.la finitedifferences/libMultiDimFDM.la fx/libFX.la inflation/libInflation.la lattices/libLattices.la math/libMath.la mcbasket/libMcBasket.la processes/libProcesses.la risk/libRisk.la shortrate/libShortRate.la swaptions/libSwaptions.la variancegamma/libVarianceGamma.la varianceoption/libVarianceOption.la volatility/libVolatility.la
libtool: link: (cd .libs/libExperimental.lax/libAmortizingBonds.a && ar x "/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a")
/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a: No such file or directory
M:\Riscos\RM\PRICE\DLL\MinGW-4.8.1\bin\ar.exe: Makefile:463: recipe for target 'libExperimental.la' failed
Thank you,
------------------------------------------------------------------------------
Lucas
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
----
------------------------------------------------------------------------------
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Free forum by Nabble | Disable Popup Ads | Edit this page |