Skip to content

Commit

Permalink
path changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hverhelst committed May 24, 2024
1 parent 1b98489 commit 75ef3f3
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions plugins/MATLAB/gismo.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,18 @@
end

path_to_main = '/home/hverhelst/Documents/code/gismo_mex';
path_to_gismo = [path_to_main,'/build/lib/libgismo'];
path_to_Cinterface = '/optional/gsCInterface/src/Cgismo.h';
path_to_libgismo = [path_to_main,'/build/lib/libgismo'];
path_to_gsCInterface = '/optional/gsCInterface/';
path_to_CinterfaceFile = '/optional/gsCInterface/src/Cgismo.h';
% path_to_Minterface = './optional/gsCInterface/MATLAB/';
path_to_gsCore = '/home/hverhelst/Documents/code/gismo_mex/build';
path_to_gsCInterface = '/optional/gsCInterface/src/';
path_to_gsCore = [path_to_main,'/build'];

addpath(genpath(path_to_gsCInterface));

% addpath(path_to_Minterface)
addpath(genpath([path_to_main,path_to_gsCInterface]));

% The following will create the library 'libgismo'
loadlibrary(path_to_gismo,...
path_to_Cinterface,... Path where to find the C interface
loadlibrary(path_to_libgismo,...
path_to_CinterfaceFile,... Path where to find the C interface
'addheader','gsCTypes.h',...
'addheader','gsCMatrix.h',...
'addheader','gsCMatrixInt.h',...
Expand All @@ -37,7 +36,7 @@
path_to_gsCore... Path where to find gsCore
);

libfunctions('libgismo')
libfunctions('libgismo');



Expand Down

0 comments on commit 75ef3f3

Please sign in to comment.