2014-09-20 2 views
2

누락에 대한 오류를 설치블룸버그 파이썬 API를 blpapi3.5.5이 오류에 블룸버그 파이썬 API를 blpapi3.5.5 결과를 설치하려고 blpapi_types.h

blpapi/internals_wrap.cxx:3110:26: fatal error: blpapi_types.h: No such file or directory compilation terminated.

전체 설치 로그 :

[email protected]:/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’ is valid for Ada/C/ObjC but not for C++ [enabled by default] 
blpapi/internals_wrap.cxx:3110:26: fatal error: blpapi_types.h: No such file or directory 
compilation terminated. 
error: command 'gcc' failed with exit status 1 

어떻게 이걸 고쳐?

+0

[내가 작성한 Readline-6.2를 설치하기 위해 노력하고있어 GCC 오류 (의 중복 가능성 http://stackoverflow.com/questions/22166277/ gcc-error-im-trying-to-install-readline-6-2) –

+0

MacOS 사용자 인 경우. 이 솔루션을 사용해보십시오 : [Link.] (http://stackoverflow.com/a/40393577/3755348) –

답변

0

MacOS 사용자 인 경우. 해결책을 찾으십시오 : Link.

나는 당신이 울부 짖는 라인을 추가하는 것을 잊었다 생각 :

# 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/ 
관련 문제