錯誤嘗試編譯openalpr的OSX,得到錯誤:OSX編譯openalpr上化妝
[ 62%] Building CXX object misc_utilities/CMakeFiles/openalpr-utils-classifychars.dir/classifychars.cpp.o /Users/dd/Documents/opencv/openalpr/src/misc_utilities/classifychars.cpp:207:31: error: use of undeclared identifier 'ENTER_KEY_ONE' else if (waitkey == ENTER_KEY_ONE || waitkey == ENTER_KEY_TWO) ^/Users/dd/Documents/opencv/openalpr/src/misc_utilities/classifychars.cpp:207:59: error: use of undeclared identifier 'ENTER_KEY_TWO' else if (waitkey == ENTER_KEY_ONE || waitkey == ENTER_KEY_TWO) ^/Users/dd/Documents/opencv/openalpr/src/misc_utilities/classifychars.cpp:340:21: error: use of undeclared identifier 'ENTER_KEY_ONE' while (waitkey != ENTER_KEY_ONE && waitkey != ENTER_KEY_TWO && waitkey != ESCAPE_KEY) ^/Users/dd/Documents/opencv/openalpr/src/misc_utilities/classifychars.cpp:340:49: error: use of undeclared identifier 'ENTER_KEY_TWO' while (waitkey != ENTER_KEY_ONE && waitkey != ENTER_KEY_TWO && waitkey != ESCAPE_KEY) ^/Users/dd/Documents/opencv/openalpr/src/misc_utilities/classifychars.cpp:367:29: error: use of undeclared identifier 'ENTER_KEY_ONE' waitkey = (int16_t) ENTER_KEY_ONE; ^/Users/dd/Documents/opencv/openalpr/src/misc_utilities/classifychars.cpp:380:18: error: use of undeclared identifier 'ENTER_KEY_ONE' if (waitkey == ENTER_KEY_ONE || waitkey == ENTER_KEY_TWO) ^/Users/dd/Documents/opencv/openalpr/src/misc_utilities/classifychars.cpp:380:46: error: use of undeclared identifier 'ENTER_KEY_TWO' if (waitkey == ENTER_KEY_ONE || waitkey == ENTER_KEY_TWO)
7 errors generated. make[2]: * [misc_utilities/CMakeFiles/openalpr-utils-classifychars.dir/classifychars.cpp.o] Error 1 make[1]: * [misc_utilities/CMakeFiles/openalpr-utils-classifychars.dir/all] Error 2 make: *** [all] Error 2
在10.10.5。 用於成功的openalpr安裝使用釀造: homebrew/science/openalpr: stable 2.2.0 (bottled), HEAD
有什麼建議嗎?