Azzera filtri
Azzera filtri

'round': identifier not found

2 visualizzazioni (ultimi 30 giorni)
Kelly Howard
Kelly Howard il 16 Ott 2015
Risposto: Walter Roberson il 16 Ott 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 .

Risposte (1)

Walter Roberson
Walter Roberson il 16 Ott 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.

Categorie

Scopri di più su Shifting and Sorting Matrices in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by