フィルターのクリア

nvcc can't find mex.h

2 ビュー (過去 30 日間)
David
David 2014 年 2 月 25 日
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 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by