Open Seanwu928 opened 4 years ago
i`ve install xcode,boost & cython. then run setup.py ,but the terminal shows 1 error below: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/Sean/opt/anaconda3/include -arch x86_64 -I/Users/Sean/opt/anaconda3/include -arch x86_64 -I/usr/local/include -I. -I../sources/boost_1_55_0 -I./cpp_layer -I/Users/Sean/opt/anaconda3/lib/python3.7/site-packages/numpy/core/include -I/Users/Sean/opt/anaconda3/include/python3.7m -c quantlib/sim/simulate.cpp -o build/temp.macosx-10.9-x86_64-3.7/quantlib/sim/simulate.o quantlib/sim/simulate.cpp:652:10: fatal error: 'ql/handle.hpp' file not found
^~~~~~~~~~~~~~~
1 error generated. error: command 'gcc' failed with exit status 1
Is QuantLib installed? You need the library itself to be installed before you can install pyql. These are just wrappers around the actual library.
i`ve install xcode,boost & cython. then run setup.py ,but the terminal shows 1 error below: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/Sean/opt/anaconda3/include -arch x86_64 -I/Users/Sean/opt/anaconda3/include -arch x86_64 -I/usr/local/include -I. -I../sources/boost_1_55_0 -I./cpp_layer -I/Users/Sean/opt/anaconda3/lib/python3.7/site-packages/numpy/core/include -I/Users/Sean/opt/anaconda3/include/python3.7m -c quantlib/sim/simulate.cpp -o build/temp.macosx-10.9-x86_64-3.7/quantlib/sim/simulate.o quantlib/sim/simulate.cpp:652:10: fatal error: 'ql/handle.hpp' file not found
include "ql/handle.hpp"
1 error generated. error: command 'gcc' failed with exit status 1