Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 9b306b6c authored by hhakim's avatar hhakim
Browse files

Fix setup_FAUST.m in the case of Windows, visual studio when building with...

Fix setup_FAUST.m in the case of Windows, visual studio when building with Release option put the mex files in mex/Release instead of mex, which made the addpath command fail.
parent 961cc7fd
Branches
Tags
No related merge requests found
......@@ -47,6 +47,10 @@ fprintf('Adding path %s and subdirectories to matlab path\n',ROOT_DIR);
%addpath(genpath(ROOT_DIR));
addpath(ROOT_DIR);%% avoiding to use genpath because if +matfaust is added to path eye.m, rand.m, version.m etc. will conflict with matlab eye, etc.
addpath([ROOT_DIR '/mex']);
if(startsWith(computer, 'PCWIN'))
% executing the script on Windows
addpath([ROOT_DIR '/mex/Release'])
end
addpath([ROOT_DIR '/data']);
addpath([ROOT_DIR '/tools']);
matfaust.enable_gpu_mod()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment