Closed QuantumLiu closed 6 years ago
As described in README.md, you need to "update Dlib directory paths (DLIB_INCLUDE_DIR and DLIB_LIB_DIR) in CMakeLists.txt".
Thank you, i'll check
I update the Dlib directory paths in CmakeLists.txt, and my dlib version is 19.4. But there's no folder named "/home/anh/Downloads/dlib-19.4/shared_build/dlib", my path is "/home/wgz/dlib-19.4/dlib". In the processing of make, the same problem occured. I wonder how to solve the problem to make the executable file TestVisualization.
@wanggongziZeo have you changed these two lines in the CMakeList.txt with your path?
https://github.com/anhttran/3dmm_cnn/blob/master/CMakeLists.txt#L9
if you did, make sure that you delete the build directory and start from scratch to be sure.
Also, check if there are other hardcoded path inthe CMakeList.txt.
If you have installed dlib, you can try to replace those two lines with find_package( dlib REQUIRED )
Thanks for your reply. I replace the two lines with find_package(dlib REQUIRED ) The former question worked, but there is another question occured: No rules to make the target /usr/lib/libblas.so I find my file in this path is libblas.so.3
You need to change this https://github.com/anhttran/3dmm_cnn/blob/master/modules/PoseExpr/CMakeLists.txt#L43
to point to your path.
Also, you need to run cmake again whenever you modify CMakeLists.txt.
Yeah, I tried your suggestions But it seems no use to me .I update the Libblas library,and there is libblas.so in my own path, then I rebuild, and cmake once again, when make, more problem occured::: /usr/bin/ld: can't find -lfind_package /usr/bin/ld: can't find -l( /usr/bin/ld: can't find -ldlib /usr/bin/ld: can't find -lREQUIRED /usr/bin/ld: can't find -l)/libdlib.so Besides the solution, I wnat to specify the toos-version of the project. Thanks once again.
Hello. I am having the same problem. Is there anybody who solve it?