フィルターのクリア

'round': identifier not found

2 ビュー (過去 30 日間)
Kelly Howard
Kelly Howard 2015 年 10 月 16 日
回答済み: Walter Roberson 2015 年 10 月 16 日
>> 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 .

回答 (1 件)

Walter Roberson
Walter Roberson 2015 年 10 月 16 日
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.

カテゴリ

Help Center および File ExchangeShifting and Sorting Matrices についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by