yeatmanlab / AFQ

Automated Fiber Quantification
75 stars 52 forks source link

Sierra Compile Error #21

Closed iPsych closed 6 years ago

iPsych commented 6 years ago

In sierra, dtiFiberTracker.cxx cause similar mex issue like near points and niftiRead

Error using mex /Users/ERI/Documents/MATLAB/toolboxes/vistasoft/mrDiffusion/src/dtiFiberTracker.cxx:619:14: error: cannot initialize a variable of type 'const int ' with an rvalue of type 'const size_t ' (aka 'const unsigned long ') const int dt6Dims = mxGetDimensions(prhs[0]); ^ ~~~~~~~~ /Users/ERI/Documents/MATLAB/toolboxes/vistasoft/mrDiffusion/src/dtiFiberTracker.cxx:620:14: error: cannot initialize a variable of type 'const int ' with an rvalue of type 'const size_t ' (aka 'const unsigned long ') const int seedDims = mxGetDimensions(prhs[1]); ^ ~~~~~~~~

iPsych commented 6 years ago

Oh, Sorry I found it was the problem of VISTASOFT

iPsych commented 2 years ago

mex -compatibleArrayDims -O -I./jama dtiFiberTracker.cxx