Effacer les filtres
Effacer les filtres

'round': identifier not found

2 vues (au cours des 30 derniers jours)
Kelly Howard
Kelly Howard le 16 Oct 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 .

Réponses (1)

Walter Roberson
Walter Roberson le 16 Oct 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.

Catégories

En savoir plus sur Shifting and Sorting Matrices dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by