参考博客:https://blog.csdn.net/weixin_40533355/article/details/88364423
跟着matconvenet官网编译gpu版本时
运行:
vl_compilenn('enableGpu', true, 'cudaRoot', '/usr/local/cuda-9.0')
报了以下错误错误:
错误使用mex,未找到支持的编译器或SDK
但是 mex -setup 没有问题
解决方法
vl_compilenn('enableGpu', true, 'cudaMethod', 'nvcc', 'cudaRoot', '/usr/local/cuda-9.0')
注意cuda的版本和路径要替换成自己的
解决!没有再出现上面mex的错误了