簡體   English   中英

為iPhone構建OpenCV時出錯

[英]Error building OpenCV for iPhone

我正在嘗試為iPhone構建OpenCV。 當我啟動make命令時,我收到此錯誤消息

 s.framework/Headers/AXUIElement.h:65: error: ‘CGCharCode’ has not been declared
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXUIElement.h:65: error: ‘CGKeyCode’ has not been declared
make[3]: *** [src/highgui/CMakeFiles/highgui.dir/loadsave.o] Error 1
make[2]: *** [src/highgui/CMakeFiles/highgui.dir/all] Error 2

有人知道如何解決嗎?

非常感謝

ELOS

簡答:你不能為ARM(iPhone)構建highgui。 只鏈接到OpenCV項目中真正需要的二進制文件,例如libcvxyz。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM