YuvalNirkin / face_swap

End-to-end, automatic face swapping pipeline
GNU General Public License v3.0
825 stars 203 forks source link

undefiend reference to "boost::system::generic_category()" #34

Closed Tord-Zhang closed 5 years ago

Tord-Zhang commented 5 years ago

when running "make -j8" for face_swap, this error occurs

YuvalNirkin commented 5 years ago

Sounds like you're missing the boost_system library. Try to reinstall boost.

Tord-Zhang commented 5 years ago

@YuvalNirkin I fixed this problem and finish the compilation. However,when I run" import face_swap_py" in python, python cannot find the face_swap_py package. I do have import the path to profile

Tord-Zhang commented 5 years ago

@YuvalNirkin this error, "ImportError: /home/imageim/installations/face_swap/interfaces/python/face_swap_py.so: undefined symbol: _ZN5boost6python6detail11init_moduleER11PyModuleDefPFvvE"

Tord-Zhang commented 5 years ago

@YuvalNirkin Do you have any idea why this happened? thanks.

Tord-Zhang commented 5 years ago

@YuvalNirkin In python3.5, I get "Segmentation fault (core dumped)" when I run "import face_swap_py"

YuvalNirkin commented 5 years ago

Please use Python 2.7, I haven't tested the Python binding with Python 3.x.