Error during mex: "collect2: fatal error: cannot find 'ld'"
    조회 수: 5 (최근 30일)
  
       이전 댓글 표시
    
Hi,
I get an strange error on my Linux machine (Ubuntu 16.04)  when trying to compile the example file arrayProduct.cpp:
>> mex  arrayProduct.cpp
Building with 'g++'.
Error using mex
collect2: fatal error: cannot find 'ld'
compilation terminated.
however, the linker ld is visible from matlab... what can be going wrong?
>> !which ld
/usr/bin/ld
Any help welcome,
Daniel
댓글 수: 0
답변 (0개)
참고 항목
카테고리
				Help Center 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!