필터 지우기
필터 지우기

error while compiling using mex in matalb

조회 수: 3 (최근 30일)
Tunechi
Tunechi 2017년 3월 23일
답변: Walter Roberson 2017년 3월 23일
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

답변 (1개)

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

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by