Login  Register

Quantlib 1.8 Python SWIG on Linux/Python 3.5.1

Posted by alihassani on May 20, 2016; 4:11am
URL: http://quantlib.414.s1.nabble.com/Quantlib-1-8-Python-SWIG-on-Linux-Python-3-5-1-tp17463.html

Has anyone got this up and running? After running

python setup.py wrap
successfully

 

I get the following error when running:

python setup.py build


running build
running build_py
copying QuantLib/QuantLib.py -> build/lib.linux-x86_64-3.5/QuantLib
running build_ext
building 'QuantLib._QuantLib' extension
g++ -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Ws
trict-prototypes -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -I/
usr/include/python3.5m -I/usr/include -c QuantLib/quantlib_wrap.cpp -o build/temp.linux-x8
6_64-3.5/QuantLib/quantlib_wrap.o -Wno-unused
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
QuantLib/quantlib_wrap.cpp: In function ‘std::vector<boost::shared_ptr<QuantLib::BondHelpe
r> > convert_bond_helpers(const std::vector<boost::shared_ptr<QuantLib::BootstrapHelper<Qu
antLib::YieldTermStructure> > >&)
’:
QuantLib/quantlib_wrap.cpp:14709:20: warning: comparison between signed and unsigned integ
er expressions [
-Wsign-compare]
    for (int i=0;
i<helpers.size(); ++i)
                  
~^~~~~~~~~~~~~~~
{standard input}: Assembler messages:
{standard input}:2372708: Warning: end of file not at end of a line; newline inserted
{standard input}:2374015: Error: unknown pseudo-op: `.lb'
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.
error: command 'g++' failed with exit status 4



------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users