Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: build mex file error
Replies: 2   Last Post: Jan 22, 2013 2:35 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
amira ali

Posts: 160
Registered: 5/15/11
Re: build mex file error
Posted: Jan 22, 2013 12:11 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


please can anyone help me urgently
"amira ali" wrote in message <kdl2ko$42d$1@newscl01ah.mathworks.com>...
>
> when i run mex siftdescriptor.c in windowes 7 64 bit and matlab r2011 a give me this error, help me please ?
> siftdescriptor.c
> c:\users\admin\appdata\roaming\mathworks\matlab\r2011a\sift_test\mexutils.c(62) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
> c:\users\admin\appdata\roaming\mathworks\matlab\r2011a\sift_test\mexutils.c(63) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
> c:\users\admin\appdata\roaming\mathworks\matlab\r2011a\sift_test\mexutils.c(86) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
> c:\users\admin\appdata\roaming\mathworks\matlab\r2011a\sift_test\mexutils.c(87) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
> siftdescriptor.c(86) : warning C4005: 'min' : macro redefinition
> C:\Users\admin\AppData\Roaming\MathWorks\MATLAB\R2011a\sift_test\stdlib.h(855) : see previous definition of 'min'
> siftdescriptor.c(87) : warning C4005: 'max' : macro redefinition
> C:\Users\admin\AppData\Roaming\MathWorks\MATLAB\R2011a\sift_test\stdlib.h(854) : see previous definition of 'max'
> siftdescriptor.c(109) : warning C4305: '+=' : truncation from 'double' to 'float'
> siftdescriptor.c(110) : warning C4305: '-=' : truncation from 'double' to 'float'
> siftdescriptor.c(137) : error C2065: 'FLT_EPSILON' : undeclared identifier
> siftdescriptor.c(189) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
> siftdescriptor.c(311) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data
> siftdescriptor.c(312) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data
> siftdescriptor.c(392) : warning C4244: 'initializing' : conversion from 'const double' to 'const float', possible loss of data
> siftdescriptor.c(451) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data
> siftdescriptor.c(456) : warning C4244: 'initializing' : conversion from 'int' to 'const float', possible loss of data
> siftdescriptor.c(461) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data
> siftdescriptor.c(462) : warning C4244: 'function' : conversion from 'double' to 'float', possible loss of data
> siftdescriptor.c(464) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data
> siftdescriptor.c(465) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data
> siftdescriptor.c(500) : warning C4305: '=' : truncation from 'double' to 'float'
>
> C:\PROGRA~1\MATLAB\R2011A\BIN\MEX.PL: Error: Compile of 'siftdescriptor.c' failed.
>
> ??? Error using ==> mex at 208
> Unable to complete successfully.
>
> Error in ==> sift_compile at 37
> mex('siftdescriptor.c',opts{:}) ;




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.