Mex (Matlab 2015a) - error "no supported compiler or SDK was found"
조회 수: 1 (최근 30일)
이전 댓글 표시
Dear supporters,
I am using Matlab 2015a on the Ubuntu 14.10 When i execute the following command "/usr/local/Matlab2015a/bin/mex -cxx CXX=g++4.7 CC=g++4.7 LD=g++4.7 -lm -O -output A.mexa64 A.o B.o C.o"
I have received the following error "no supported compiler or SDK was found."
Hope to receive your support on this problem.
Best regard Vu The Huynh
댓글 수: 0
답변 (1개)
Philip Caplan
2015년 4월 15일
Are you missing a hyphen between g++ and the version number? In other words, try using "g++-4.7" instead of "g++4.7". Also, please try the resolution given in the following link which explains how to adjust "mexopts.sh" to use a supported compiler:
참고 항목
카테고리
Help Center 및 File Exchange에서 Troubleshooting in MATLAB Compiler SDK에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!