Login  Register

Compile SWIG 0.8.0

Posted by Guillaume et Sandrine Dru on Aug 24, 2007; 11:47pm
URL: http://quantlib.414.s1.nabble.com/Compile-SWIG-0-8-0-tp9715.html

Hi,
I have to use QuantLib in Java, so I'm trying to use Swig (Eclipse 3.2, Cygwin, SkWash, Windows XP).
With Quantlib 0.3.11 (and the associated SWIG 0.3.11) it works great, but when I want to use QuantLib 0.8.0 , the compiler crashes everytime I try to compile the CPP Wrapper, with the following message :

Building target: QuantLibCPPWraper.dll
Invoking: GCC C++ Linker
g++ -L"C:\workspace\QuantLib\Debug" -mno-cygwin -Wl,--add-stdcall-alias -shared -o" QuantLibCPPWraper.dll"  ./cppwrapper.o   -lQuantLib
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
Info: resolving vtable for QuantLib::Errorby linking to __imp___ZTVN8QuantLib5ErrorE (auto-import)
Info: resolving vtable for QuantLib::EulerDiscretizationby linking to __imp___ZTVN8QuantLib19EulerDiscretizationE (auto-import)
Info: resolving VTT for QuantLib::CompositeInstrument by linking to __imp___ZTTN8QuantLib19CompositeInstrumentE (auto-import)
Info: resolving vtable for QuantLib::CompositeInstrumentby linking to __imp___ZTVN8QuantLib19CompositeInstrumentE (auto-import)
Info: resolving vtable for QuantLib::AnalyticEuropeanEngineby linking to __imp___ZTVN8QuantLib22AnalyticEuropeanEngineE (auto-import)
Info: resolving VTT for QuantLib::OneAssetOption::argumentsby linking to __imp___ZTTN8QuantLib14OneAssetOption9argumentsE (auto-import)
Info: resolving vtable for QuantLib::OneAssetOption::argumentsby linking to

Have you got any idea of what It's going on ? Why It works perfectly with 0.3.11 and not with 0.8.0 ?
I tried on 2 differents computers, I read the tutorial of SkWash, and I'm desperate :).
I'm ready to offer some French Champagne if you can help me :)

Thx for all

Guillaume

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev