twostreamfusion icon indicating copy to clipboard operation
twostreamfusion copied to clipboard

Error in running compile.m

Open weizhou-geek opened this issue 8 years ago • 3 comments

Hi, I followed the README guide, and run the compile.m, but met the following error: incorrect use make_all>check_clpath (line 385) Unable to find cl.exe

error make_all (line 207) check_clpath(); % check whether cl.exe in path

error run (line 96) evalin('caller', [script ';']);

error compile (line 23) run(fullfile(fileparts(mfilename('fullpath')),

weizhou-geek avatar Nov 02 '16 11:11 weizhou-geek

I can't run the compile.m, but met the following error:

Unsupported architecture 'mingw32-i686'

I locate the error,and find:

arch = computer('arch') ;
...
switch arch
    case 'win64', opts.cudnnLibDir = fullfile(opts.cudnnRoot, 'lib', 'x64') ;
    case 'maci64', opts.cudnnLibDir = fullfile(opts.cudnnRoot, 'lib') ;
    case 'glnxa64', opts.cudnnLibDir = fullfile(opts.cudnnRoot, 'lib64') ;
    otherwise, error('Unsupported architecture ''%s''.', arch) ;
end

My computer system is win10x64. It seems that this codes can't read my computer information and lead to the error.

egg347 avatar Jan 03 '17 09:01 egg347

@egg347 Hi,My computer can'not install MatConvNet.The error is: Error in vl_compilenn>mex_compile (line 503) mex(mopts{:}) ; Error in vl_compilenn (line 464) mex_compile(opts, srcs{i}, objfile, flags.mexcc) ; I have "mex -setup",And my computer Graphics card is NVIDIA GeforCE GTX 650.Can you solve my problem,Thank you!

jijilulu avatar Mar 06 '17 09:03 jijilulu

@jijilulu Hi, I have the same error like yours, Error using mex

Error in vl_compilenn>mex_compile (line 503) mex(mopts{:}) ;

Error in vl_compilenn (line 461) mex_compile(opts, srcs{i}, objfile, flags.mexcu) ;

Error in compile (line 16) vl_compilenn('enableGpu', true, ...

Did you solve your problem? Thank you

ghost avatar May 13 '18 00:05 ghost