Filter löschen
Filter löschen

'round': identifier not found

1 Ansicht (letzte 30 Tage)
Kelly Howard
Kelly Howard am 16 Okt. 2015
Beantwortet: Walter Roberson am 16 Okt. 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 .

Antworten (1)

Walter Roberson
Walter Roberson am 16 Okt. 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.

Kategorien

Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by