nvcc can't find mex.h
1 次查看(过去 30 天)
显示 更早的评论
Hi guys, I'm trying to learn a bit of mex programming but can't seem to compile this simple example. The error I receive is:
>> system('nvcc -c AddVectors.cu')
nvcc warning : The 'compute_10' and 'sm_10' architectures are deprecated, and may be removed in a future release.
AddVectors.cu:2:10: fatal error: 'mex.h'
file not found
#include "mex.h"
^
1 error generated.
ans =
1
I'm guessing there's something missing from the paths where MATLAB is searching for mex.h, but I can't figure out where mex.h is meant to be exactly. I'm running MATLAB 2013b on OS X 10.9 and have Xcode 5.1 beta installed. Thanks for any assistance.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!