Open shi-yan opened 5 years ago
it failed for me with the following error:
'O0' is an unknown mex argument
Do you know how to fix this?
Thank you
To fix 'nvcc fatal : '-DNDEBUG': expected a number' ,
I changed 'O' to 'O0' from line 340:
flags.base{end+1} = '-O0' ;
But I still get an error like :
Error using mex
Unknown MEX argument '-O0'.
Error in vl_compilenn>mex_compile (line 584)
mex(args{:}) ;
Please give me any advice.
You just need to comment the line 340 (flags.base{end+1} = '-O' ).
You just need to comment the line 340 (flags.base{end+1} = '-O' ).
Thank you for your answer, I also meet this question. Is there any defect to comment this line340? Thank you.
cuda 10.1 on ubuntu 18 with gcc 4.9 will fail to build with the following:
nvcc fatal : '-D_FORCE_INLINES': expected a number
this is caused by the use of -O, adding a number -O0 solves it.
fix #1212