From 6fd1bfa0034e53923e64e80fdf0ff591e19236fd Mon Sep 17 00:00:00 2001 From: Silvio Date: Tue, 19 Apr 2016 19:00:00 +0200 Subject: [PATCH] Fix problem in compiling qpOASES with Matlab 2012b See https://github.com/robotology/codyco-superbuild/issues/84 --- interfaces/matlab/qpOASES_matlab_utils.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interfaces/matlab/qpOASES_matlab_utils.hpp b/interfaces/matlab/qpOASES_matlab_utils.hpp index b14ea6d..2d1a230 100644 --- a/interfaces/matlab/qpOASES_matlab_utils.hpp +++ b/interfaces/matlab/qpOASES_matlab_utils.hpp @@ -42,6 +42,10 @@ #define myMexErrMsgTxt mexErrMsgTxt #endif +// Workaround for problem on Matlab 2012b +// see https://github.com/robotology/codyco-superbuild/issues/84 +// see http://stackoverflow.com/questions/22440523/mex-files-using-xcode-5-1-under-os-x-10-9-with-matlab-2012a/22705789#22705789 +#include #include "mex.h" #include "matrix.h"