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
Free forum by Nabble | Disable Popup Ads | Edit this page |