Borrar filtros
Borrar filtros

error while compiling using mex in matalb

3 visualizaciones (últimos 30 días)
Tunechi
Tunechi el 23 de Mzo. de 2017
Respondida: Walter Roberson el 23 de Mzo. de 2017
I am using some instruction provided by code developer to compile the library. However, I am getting the error as shown in the figure. Does anybody has any idea about this? It is my first time to use mex.
mex LDFLAGS="\$LDFLAGS -Wl,-rpath,\." nativeborg.cpp libborg.so

Respuestas (1)

Walter Roberson
Walter Roberson el 23 de Mzo. de 2017
The comma is treated as end of command. Try
mex('LDDFLAGS="$LDFLAGS -Wl,-rpath,."', 'nativeborg.cpp', 'libborg.so')

Categorías

Más información sobre MATLAB Compiler en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by