Azzera filtri
Azzera filtri

nvcc can't find mex.h

2 visualizzazioni (ultimi 30 giorni)
David
David il 25 Feb 2014
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.

Risposte (0)

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by