Rank: 222927 based on 0 downloads (last 30 days) and 0 file submitted
photo

Siddharth

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Siddharth
Updated File Comments Rating
13 Jul 2012 Histograms of Oriented Gradients mex function for calculating histograms of (oriented) gradients (Dalal & Triggs CVPR 2005). Author: Leo

I tried to compile it and these are the errors I got. Could you please help me out?

C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(576) : error C2371: 'char16_t' : redefinition; different basic types
c:\program files\matlab\r2010a\extern\include\matrix.h(330) : see declaration of 'char16_t'
HoG.cpp(10) : warning C4305: 'initializing' : truncation from 'double' to 'const float'
HoG.cpp(21) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
HoG.cpp(22) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
HoG.cpp(36) : warning C4018: '<' : signed/unsigned mismatch
HoG.cpp(37) : warning C4018: '<' : signed/unsigned mismatch
HoG.cpp(39) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(41) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(42) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(44) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(46) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(47) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(52) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(53) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(54) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(58) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(59) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(60) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(63) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(64) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(65) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(70) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(71) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(72) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(76) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(77) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(78) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(81) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(82) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(83) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(113) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(114) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(116) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(140) : warning C4018: '<' : signed/unsigned mismatch
HoG.cpp(141) : warning C4018: '<' : signed/unsigned mismatch
HoG.cpp(144) : warning C4018: '<' : signed/unsigned mismatch
HoG.cpp(145) : warning C4018: '<' : signed/unsigned mismatch
HoG.cpp(146) : warning C4018: '<' : signed/unsigned mismatch
HoG.cpp(147) : warning C4244: '+=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(153) : warning C4018: '<' : signed/unsigned mismatch
HoG.cpp(154) : warning C4018: '<' : signed/unsigned mismatch
HoG.cpp(155) : warning C4018: '<' : signed/unsigned mismatch
HoG.cpp(165) : warning C4018: '<' : signed/unsigned mismatch
HoG.cpp(166) : warning C4018: '<' : signed/unsigned mismatch
HoG.cpp(167) : warning C4018: '<' : signed/unsigned mismatch
HoG.cpp(168) : warning C4244: '+=' : conversion from 'double' to 'float', possible loss of data
HoG.cpp(174) : warning C4018: '<' : signed/unsigned mismatch
HoG.cpp(175) : warning C4018: '<' : signed/unsigned mismatch
HoG.cpp(176) : warning C4018: '<' : signed/unsigned mismatch
HoG.cpp(199) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
HoG.cpp(200) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
HoG.cpp(224) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
HoG.cpp(225) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data

C:\PROGRA~1\MATLAB\R2010A\BIN\MEX.PL: Error: Compile of 'HoG.cpp' failed.

??? Error using ==> mex at 222
Unable to complete successfully.

Contact us