Open svigerske opened 4 years ago
Comment by ferreau created at 2017-05-24 14:28:00
Thanks for reporting. Probably the same issue as reported in ticket #63. I am going to look at this soon.
Comment by ferreau created at 2017-05-24 14:28:00
Changing status from new to assigned.
Attachment make_fix.patch by olzhas created at 2017-06-07 07:08:14
Comment by olzhas created at 2017-06-07 07:09:29
Hi, the issue was with linking matlab's LAPACK, I attached the patch to fix the issue.
Comment by olzhas created at 2017-06-07 07:09:29
Hi, the issue was with linking matlab's LAPACK, I attached the patch to fix the issue.
Hello,do you fix it? I have the same problem with you.
Try modifying make.m
: Does removing -D__cplusplus
and -D__AVOID_LA_NAMING_CONFLICTS__
from CPPFLAGS
and adding -lmwlapack
(after -lmwblas
) fix your problem?
Issue created by migration from Trac.
Original creator: Fish24
Original creation time: 2017-05-22 09:00:06
Assignee: ferreau
Version: 3.2.1
Hi, i'm having some troubles to compile the Matlab interface of QPoases on mac, i have already compile the C++ code and it works, but when i call the Make.m command in matlab it return me the following error:
"Error using mex Undefined symbols for architecture x86_64: "dpotrf", referenced from: qpOASES::QProblemB::computeCholesky() in qpOASES.o qpOASES::QProblem::computeProjectedCholesky() in qpOASES.o "dtrcon", referenced from: qpOASES::SQProblemSchur::updateSchurQR(long) in qpOASES.o "dtrtrs", referenced from: qpOASES::SQProblemSchur::backsolveSchurQR(long, double const, long, double) in qpOASES.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) "
any idea to fix this? thanks