Filter löschen
Filter löschen

Error during mex: "collect2: fatal error: cannot find 'ld'"

9 Ansichten (letzte 30 Tage)
Arabarra
Arabarra am 11 Apr. 2019
Bearbeitet: Arabarra am 11 Apr. 2019
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

Antworten (0)

Kategorien

Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by