Borrar filtros
Borrar filtros

'round': identifier not found

1 visualización (últimos 30 días)
Kelly Howard
Kelly Howard el 16 de Oct. de 2015
Respondida: Walter Roberson el 16 de Oct. de 2015
>> compile
mex_resize.cc
detection\mex_resize.cc(65) : error C3861: 'bzero': identifier not found
detection\mex_resize.cc(92) : error C3861: 'round': identifier not found
detection\mex_resize.cc(93) : error C3861: 'round': identifier not found
C:\PROGRA~1\MATLAB\R2012A\BIN\MEX.PL: Error: Compile of 'detection\mex_resize.cc' failed.
end
hi, i having some error in this size.cc code. 'round': identifier not found. Does anyone know where is the error? i am currently using R2012a .

Respuestas (1)

Walter Roberson
Walter Roberson el 16 de Oct. de 2015
round() was not added to math.h until C99 . If you are using an older compiler (especially lcc) or you do not have --std99 in effect then you will not have access to round()
bzero is in strings.h not in string.h -- though you will find reference to it being in string.h. I did not investigate to find out if it moved at some point.

Categorías

Más información sobre Matrices and Arrays en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by