mex complilation fails with Redhat 6.5
1 view (last 30 days)
Show older comments
R2015a/gcc-4.7/cuda-6.5/Redhat-6.5
I have compiled this program (cns is a third party image processing application) on Ubuntu 14.04 with the same versions of the software (R2015a/gcc-4.7/cuda-6.5), but using Redhat(6.5) on our cluster the compile step fails immediately. Is there an issue with using redhat? The first module sets up the paths, the second does the compile.
>> cns_path
>> cns_install
Building with 'g++'.
Error using mex
In file included from /usr/include/stdio.h:929:0,
from /opt/shared/Matlab/R2015a/extern/include/mex.h:154,
from /cluster/tufts/lapointe01/cns/source/common_dec.h:17,
from /cluster/tufts/lapointe01/cns/source/cns_initsynapses.cpp:17:
/usr/include/bits/stdio.h: In function ‘__ssize_t getline(char**, size_t*, FILE*)’:
/usr/include/bits/stdio.h:118:52: error: ‘__getdelim’ was not declared in this scope
Error in cns_install>Compile (line 62)
mex(varargin{:}, '-outdir', outdp, srcfp);
Error in cns_install (line 30)
Compile('private', 'cns_initsynapses');
0 Comments
Answers (1)
See Also
Categories
Find more on Call C++ from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!