Hi Leute, Ich Probiere gerade auf einem Linux Ubuntu Server OpenFace zu Installieren und benötige dafür unter anderem DLib. Ich kenne mich noch nicht sonderlich mit Linux aus und wollte deshalb fragen, was ich Falsch gemacht haben könnte und wie es "Richtig" geht.
Meine SSH eingabe sieht folgendermaßen aus:
marc@vps-zap***:~/Desktop/MyFace/dlib-18.16/python_examples/build$ cmake ../../tools/python CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message): Imported targets not available for Boost version 106200 Call Stack (most recent call first): /usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES) /usr/share/cmake-3.5/Modules/FindBoost.cmake:1332 (_Boost_MISSING_DEPENDENCIES) /home/marc/Desktop/MyFace/dlib-18.16/dlib/add_python_module:57 (FIND_PACKAGE) CMakeLists.txt:5 (include) -- Boost version: 1.62.0 -- Found the following Boost libraries: -- python -- Configuring done -- Generating done -- Build files have been written to: /home/marc/Desktop/MyFace/dlib-18.16/python_examples/build marc@vps-zap***:~/Desktop/MyFace/dlib-18.16/python_examples/build$ cmake --build . --config Release [ 73%] Built target dlib [ 75%] Linking CXX shared library dlib.so /usr/bin/ld: /usr/local/lib/libpython2.7.a(abstract.o): relocation R_X86_64_32S against `_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libpython2.7.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status CMakeFiles/dlib_.dir/build.make:521: recipe for target 'dlib.so' failed make[2]: *** [dlib.so] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/dlib_.dir/all' failed make[1]: *** [CMakeFiles/dlib_.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2
Das Tutorial zu Installation war: https://www.youtube.com/watch?v=YNBD6rNJIRw
Danke schon-mal im Voraus ^^
PS: Alle anderen Komponenten wurden vollständig und Fehlerfrei Installiert
Moderiert von sebix:
Thema in einen passenden Forenbereich verschoben. Bitte beachte die als wichtig markierten Themen („Welche Themen gehören hier her und welche nicht?“) in jedem Forenbereich. Danke.