Scs installation fails


(Sijia) #1

I downloaded scs package and run make_scs in Matlab, but it fails with errors

make_scs
amd_order.c
\stu02-fsrv.ad.syr.edu\sliu17$\matlab\scs\linsys\direct\external\SuiteSparse_config.h(45) : fatal error C1083: Cannot open include file: ‘glbopts.h’: No such file or directory

C:\PROGRA~1\MATLAB\R2013A\BIN\MEX.PL: Error: Compile of ‘\stu02-fsrv.ad.syr.edu\sliu17$\MATLAB\scs\linsys\direct\external\amd_order.c’ failed.

Error using mex (line 206)
Unable to complete successfully.

Error in compile_direct (line 17)
eval(cmd);

Error in make_scs (line 33)
compile_direct(flags, common_scs);

What is the reason for that?


(Sijia) #2

It seems that .h files cannot be correctly found by make_scs. I manually placed the required .h files in the same folders of.c files. Then the problem is solved, which gives
SUCCESSFULLY INSTALLED SCS.

Thanks.


(Michael C. Grant) #3

I’m afraid we can’t help you here. You should submit this as an SCS issue on SCS’s git repo.