barniekim / cpp-face-morph-server

A server-side (TCP server) face morphing engine implemented by Delaunay Triangulation in C++ with OpenFace, OpenCV, and Boost.
MIT License
10 stars 4 forks source link

Make ERROR #1

Open hengvictorya55 opened 5 years ago

hengvictorya55 commented 5 years ago

I have cmake.. and make the server directory and after 93% it returns this:

lib/local/fld-server/CMakeFiles/fld-server.dir/build.make:86: recipe for target 'lib/local/fld-server/CMakeFiles/fld-server.dir/src/tcp_connection.cpp.o' failed make[2]: [lib/local/fld-server/CMakeFiles/fld-server.dir/src/tcp_connection.cpp.o] Error 1 CMakeFiles/Makefile2:290: recipe for target 'lib/local/fld-server/CMakeFiles/fld-server.dir/all' failed make[1]: [lib/local/fld-server/CMakeFiles/fld-server.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2

I hope you can help me with that and i am really appreciate. Thank you

barniekim commented 5 years ago

Hi @hengvictorya55, thanks for your interest on this project. Have you installed all the dependencies?

DEPENDENCIES

hengvictorya55 commented 5 years ago

@hisbarnabas I have installed everything. My openCV version is 3.4

barniekim commented 5 years ago

@hengvictorya55 Okay, considering the OpenCV version 3.1 was only tested as in the description. Will follow this up in this weekend.

On Fri, Jan 25, 2019 at 1:48 PM hengvictorya55 notifications@github.com wrote:

@hisbarnabas https://github.com/hisbarnabas I have installed everything. My openCV version is 3.4

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hisbarnabas/cpp-face-morph-server/issues/1#issuecomment-457454570, or mute the thread https://github.com/notifications/unsubscribe-auth/AC_ZMlHeCrFwr_QHYT4qaBlDhf7if_dhks5vGoyEgaJpZM4aRr54 .

hengvictorya55 commented 5 years ago

@hisbarnabas Thank you very much. I am looking forward for your solution.

barniekim commented 5 years ago

@hengvictorya55, the build works like a charm. I think OpenCV version could be a problem. If want to use 3.4, please also update OpenCV-related part in CMakeLists.txt, and replace the files in "server/lib/3rdParty/OpenCV3.1". That should work.

desis123 commented 5 years ago

can anyone please suggest how to install this on centos ... just throw me some installation instruction {Like Some Command Line }. I am really armature in linux system . Any help will be greatly appreciated.

hengvictorya55 commented 5 years ago

@hisbarnabas Hello again sir,

I have gone through all the error and it finally comes to 100% error

../../lib/local/fld-server/libfld-server.a(io_service_pool.cpp.o): In function boost::detail::thread_data_base::thread_data_base()': io_service_pool.cpp:(.text._ZN5boost6detail16thread_data_baseC2Ev[_ZN5boost6detail16thread_data_baseC5Ev]+0x24): undefined reference tovtable for boost::detail::thread_data_base' ../../lib/local/fld-server/libfld-server.a(io_service_pool.cpp.o): In function boost::thread::start_thread()': io_service_pool.cpp:(.text._ZN5boost6thread12start_threadEv[_ZN5boost6thread12start_threadEv]+0x15): undefined reference toboost::thread::start_thread_noexcept()' ../../lib/local/fld-server/libfld-server.a(io_service_pool.cpp.o): In function boost::thread::~thread()': io_service_pool.cpp:(.text._ZN5boost6threadD2Ev[_ZN5boost6threadD5Ev]+0x14): undefined reference toboost::thread::detach()' ../../lib/local/fld-server/libfld-server.a(io_service_pool.cpp.o): In function boost::thread::get_id() const': io_service_pool.cpp:(.text._ZNK5boost6thread6get_idEv[_ZNK5boost6thread6get_idEv]+0x18): undefined reference toboost::thread::native_handle()' ../../lib/local/fld-server/libfld-server.a(io_service_pool.cpp.o): In function boost::thread::join()': io_service_pool.cpp:(.text._ZN5boost6thread4joinEv[_ZN5boost6thread4joinEv]+0x6d): undefined reference toboost::thread::join_noexcept()' ../../lib/local/fld-server/libfld-server.a(io_service_pool.cpp.o): In function boost::detail::thread_data<boost::_bi::bind_t<unsigned long, boost::_mfi::mf0<unsigned long, boost::asio::io_service>, boost::_bi::list1<boost::_bi::value<boost::shared_ptr<boost::asio::io_service> > > > >::~thread_data()': io_service_pool.cpp:(.text._ZN5boost6detail11thread_dataINS_3_bi6bind_tImNS_4_mfi3mf0ImNS_4asio10io_serviceEEENS2_5list1INS2_5valueINS_10shared_ptrIS7_EEEEEEEEED2Ev[_ZN5boost6detail11thread_dataINS_3_bi6bind_tImNS_4_mfi3mf0ImNS_4asio10io_serviceEEENS2_5list1INS2_5valueINS_10shared_ptrIS7_EEEEEEEEED5Ev]+0x31): undefined reference toboost::detail::thread_data_base::~thread_data_base()' ../../lib/local/fld-server/libfld-server.a(io_service_pool.cpp.o):(.rodata._ZTIN5boost6detail11thread_dataINS_3_bi6bind_tImNS_4_mfi3mf0ImNS_4asio10io_serviceEEENS2_5list1INS2_5valueINS_10shared_ptrIS7_EEEEEEEEEE[_ZTIN5boost6detail11thread_dataINS_3_bi6bind_tImNS_4_mfi3mf0ImNS_4asio10io_serviceEEENS2_5list1INS2_5valueINS_10shared_ptrIS7_EEEEEEEEEE]+0x10): undefined reference to `typeinfo for boost::detail::thread_data_base' collect2: error: ld returned 1 exit status make[2]: [bin/face-morph-server] Error 1 make[1]: [exe/face-morph-server/CMakeFiles/face-morph-server.dir/all] Error 2 make: *** [all] Error 2

I really appreciate for your help thank