필터 지우기
필터 지우기

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 CenterFile 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!

Translated by