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!