From: Chaoyou Li on
"aloulou " <karray_ali(a)yahoo.fr> wrote in message <faupo5$t89$1(a)fred.mathworks.com>...
> hi
> I try to build mex file from C file. But a probem happen.
> Can you help me please.
> Thank in advance.
>
> >> sift_compile
> Warning: NOTE: compiling has been tested only with Visual C
> 6-7 and LCC
> > In sift_compile at 17
> Trying LAPACK lib 'C:\Program
> Files\MATLAB\R2007a\extern\lib\win32\microsoft\libmwlapack.lib'
> Writing library for siftrefinemx.mexw32
> c:\users\mike\appdata\local\temp\mex_a97b690e-eec3-47be-bfb2-13aa33a93822\siftrefinemx.obj
> .text: undefined reference to '_dgesv'
>
> C:\PROGRA~1\MATLAB\R2007A\BIN\MEX.PL: Error: Link of
> 'siftrefinemx.mexw32' failed.
>
> ??? Error using ==> mex at 206
> Unable to complete successfully.
> Hi
> Error in ==> sift_compile at 56
> mex('siftrefinemx.c',opts{:}) ;
Hi aloulou
You shoud type sift_compile('lcc') or sift_compile('visualc') if you have installed visual c++.