YuvalNirkin / face_segmentation

Deep face segmentation in extremely hard conditions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

driver_types.h error while installing

rahuldey91 opened this issue · comments

I am getting the following error while trying to install face-segmentation.

face_segmentation/build$ make -j8
Scanning dependencies of target face_seg
[ 14%] Building CXX object face_seg/CMakeFiles/face_seg.dir/face_seg.cpp.o
[ 28%] Building CXX object face_seg/CMakeFiles/face_seg.dir/utilities.cpp.o
In file included from /usr/include/cublas_v2.h:65:0,
                 from /usr/include/caffe/util/device_alternate.hpp:34,
                 from /usr/include/caffe/common.hpp:22,
                 from /usr/include/caffe/blob.hpp:8,
                 from /usr/include/caffe/caffe.hpp:7,
                 from /home/deyrahul/Research/3DMM/face_segmentation/face_seg/face_seg/face_seg.h:11,
                 from /home/deyrahul/Research/3DMM/face_segmentation/face_seg/face_seg.cpp:1:
/usr/include/cublas_api.h:72:10: fatal error: driver_types.h: No such file or directory
 #include "driver_types.h"
          ^~~~~~~~~~~~~~~~
compilation terminated.
face_seg/CMakeFiles/face_seg.dir/build.make:82: recipe for target 'face_seg/CMakeFiles/face_seg.dir/face_seg.cpp.o' failed
make[2]: *** [face_seg/CMakeFiles/face_seg.dir/face_seg.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:197: recipe for target 'face_seg/CMakeFiles/face_seg.dir/all' failed
make[1]: *** [face_seg/CMakeFiles/face_seg.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

Ubuntu: 18.04
CUDA: 10.1
Caffe: 1.0
Boost: 1.72
OpenCV: 4.2

My CMake-GUI 3.17.1 produces the following configuration for it:
image

Any help would be appreciated! Thanks.

was this resolved?