gcc - Bloomberg python api blpapi3.5.5 install error about missing blpapi_types.h -
attempting install bloomberg python api blpapi3.5.5 results in error:
blpapi/internals_wrap.cxx:3110:26: fatal error: blpapi_types.h: no such file or directory compilation terminated.
full install log:
root@najeeb:/home/najeeb/desktop/pyqt1/blpapi-3.5.5# python setup.py install running install running build running build_py running build_ext building 'blpapi._internals' extension gcc -pthread -fno-strict-aliasing -dndebug -g -fwrapv -o2 -wall -wstrict-prototypes - fpic -i/home/najeeb/desktop/pyqt1/blpapi-3.5.5/include -i/usr/include/python2.7 -c blpapi/internals_wrap.cxx -o build/temp.linux-i686-2.7/blpapi/internals_wrap.o cc1plus: warning: command line option ‘-wstrict-prototypes’ valid ada/c/objc not c++ [enabled default] blpapi/internals_wrap.cxx:3110:26: fatal error: blpapi_types.h: no such file or directory compilation terminated. error: command 'gcc' failed exit status 1
how can fix this?
if macos user. try see solution: link.
i think forgot add bellow lines:
# set environment variable export blpapi_root=/some/directory/blpapi_cpp_3.8.1.1/ export dyld_library_path=/users/sampathkumarm/blpapi_cpp_3.8.1.1/darwin/
Comments
Post a Comment