You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use Matlab2015b,windows10 and Visual Studio 2013,still have some unsolved problem.Please help me...
Error using mex
resize.cpp
C:\Users\a\Desktop\dpm-master-windows\resize.cpp(11) : error C2556: 'int round(float)' : overloaded function differs only by return type from
'float round(float) throw()'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\math.h(1125) : see declaration of 'round'
C:\Users\a\Desktop\dpm-master-windows\resize.cpp(11) : error C2371: 'round' : redefinition; different basic types
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\math.h(1125) : see declaration of 'round'
The text was updated successfully, but these errors were encountered:
@Victoria2333
I encountered the same problem as you. You can comment the definition of function round in Matlab. In fact, the function round definition is as same as math.h's, when you comment the function round definition in Matlab, it will call the round defined in math.h
I use Matlab2015b,windows10 and Visual Studio 2013,still have some unsolved problem.Please help me...
Error using mex
resize.cpp
C:\Users\a\Desktop\dpm-master-windows\resize.cpp(11) : error C2556: 'int round(float)' : overloaded function differs only by return type from
'float round(float) throw()'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\math.h(1125) : see declaration of 'round'
C:\Users\a\Desktop\dpm-master-windows\resize.cpp(11) : error C2371: 'round' : redefinition; different basic types
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\math.h(1125) : see declaration of 'round'
The text was updated successfully, but these errors were encountered: