We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
系统ubuntu 17,执行sh build.sh后报错如下: python/cpp/familia_wrapper.cpp:517:1: warning: missing initializer for member ‘PyModuleDef::m_traverse’ [-Wmissing-field-initializers] python/cpp/familia_wrapper.cpp:517:1: warning: missing initializer for member ‘PyModuleDef::m_clear’ [-Wmissing-field-initializers] python/cpp/familia_wrapper.cpp:517:1: warning: missing initializer for member ‘PyModuleDef::m_free’ [-Wmissing-field-initializers] g++ -I./include/ -I./include/familia -I./third_party/include -I/usr/include/python3.6 -pipe -W -Wall -fPIC -std=c++11 -fno-omit-frame-pointer -fpermissive -O3 -ffast-math -shared python/cpp/familia_wrapper.o -L/home/zyb/dev/Familia/Familia/third_party/lib -L/usr/lib -L./build/ -lfamilia -lprotobuf -lglog -lgflags -lpython3.6 -o python/demo/familia.so /usr/bin/ld: 找不到 -lpython3.6 collect2: error: ld returned 1 exit status Makefile:106: recipe for target 'python/demo/familia.so' failed make: *** [python/demo/familia.so] Error 1
请教下怎么解决?谢谢
The text was updated successfully, but these errors were encountered:
@zhang19 python路径没设置正确,需要根据你本地的python路径进行重新指定。
Sorry, something went wrong.
No branches or pull requests
系统ubuntu 17,执行sh build.sh后报错如下:
python/cpp/familia_wrapper.cpp:517:1: warning: missing initializer for member ‘PyModuleDef::m_traverse’ [-Wmissing-field-initializers]
python/cpp/familia_wrapper.cpp:517:1: warning: missing initializer for member ‘PyModuleDef::m_clear’ [-Wmissing-field-initializers]
python/cpp/familia_wrapper.cpp:517:1: warning: missing initializer for member ‘PyModuleDef::m_free’ [-Wmissing-field-initializers]
g++ -I./include/ -I./include/familia -I./third_party/include -I/usr/include/python3.6 -pipe -W -Wall -fPIC -std=c++11 -fno-omit-frame-pointer -fpermissive -O3 -ffast-math -shared python/cpp/familia_wrapper.o -L/home/zyb/dev/Familia/Familia/third_party/lib -L/usr/lib -L./build/ -lfamilia -lprotobuf -lglog -lgflags -lpython3.6 -o python/demo/familia.so
/usr/bin/ld: 找不到 -lpython3.6
collect2: error: ld returned 1 exit status
Makefile:106: recipe for target 'python/demo/familia.so' failed
make: *** [python/demo/familia.so] Error 1
请教下怎么解决?谢谢
The text was updated successfully, but these errors were encountered: