Merge pull request #32 from MattiaMontanari/31-cannot-make-it-work-for-matlab-under-ubunto20
Update compiler definitionfixes-turtlebasket
commit
ccd90cc811
|
@ -44,7 +44,7 @@ mex(fullfile('..','..','src','openGJK.c'),... % Source of openGJK
|
|||
fullfile('-I..','..','include'),... % Folder to header files
|
||||
'-outdir', pwd,... % Ouput directory for writing mex function
|
||||
'-output', 'openGJK',... % Name of ouput mex file
|
||||
'-DMATLABDOESMEXSTUFF',... % Define variable for mex function in source files
|
||||
'-DMATLAB_MEX_BUILD',... % Define variable for mex function in source files
|
||||
silflag ) % Silent/verbose flag
|
||||
|
||||
% File compiled without errors. Return path and name of mex file
|
||||
|
@ -62,4 +62,4 @@ end
|
|||
% RUN EXAMPLE
|
||||
fprintf('Running example... ')
|
||||
main
|
||||
fprintf('completed!\n')
|
||||
fprintf('completed!\n')
|
||||
|
|
Loading…
Reference in New Issue