Open hch1017 opened 3 years ago
@hch211 Did you manage to solve the error?
@deluxerootit Try using a higher version of cmake may help. I met a similar problem with cmake 3.10 , too . When I use cmake 3.22 , I succeed.
damm, My cmake version is 3.27.4 but still failed
update : the 3.27.4 is workable , just making sure the command is correct
cmake -D CMAKE_CXX_COMPILER=/usr/bin/g++ -D CMAKE_C_COMPILER=/usr/bin/gcc -D CMAKE_BUILD_TYPE=RELEASE ..
[ 84%] Linking CXX executable ../../bin/FaceLandmarkImg /usr/bin/ld: cannot find -lcusolver-NOTFOUND collect2: error: ld returned 1 exit status exe/FaceLandmarkImg/CMakeFiles/FaceLandmarkImg.dir/build.make:126: recipe for target 'bin/FaceLandmarkImg' failed make[2]: [bin/FaceLandmarkImg] Error 1 CMakeFiles/Makefile2:330: recipe for target 'exe/FaceLandmarkImg/CMakeFiles/FaceLandmarkImg.dir/all' failed make[1]: [exe/FaceLandmarkImg/CMakeFiles/FaceLandmarkImg.dir/all] Error 2 Makefile:135: recipe for target 'all' failed make: *** [all] Error 2