请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:TDA4VM 工具与软件:
您好!
Hhere 是对我的程序执行 find_package (需要 OpenCV)的结果。
The imported target "multiview" references the file [cmake] [cmake] "/usr/lib/opencv4/3rdparty/libmultiview.a" [cmake] [cmake] but this file does not exist. Possible reasons include: [cmake] [cmake] * The file was deleted, renamed, or moved to another location. [cmake] [cmake] * An install or uninstall procedure did not complete successfully. [cmake] [cmake] * The installation package was faulty and contained [cmake] [cmake] "/usr/lib/cmake/opencv4/OpenCVModules.cmake" [cmake] [cmake] but not all the files it references. [cmake] [cmake] Call Stack (most recent call first): [cmake] /usr/lib/cmake/opencv4/OpenCVConfig.cmake:126 (include) [cmake] modules/vision/CMakeLists.txt:18 (find_package)
我检查了路径并确认没有3rdparty 目录。
不存在文件或目录"/usr/lib/opencv4/3rdparty /"
libconfentence.a 也出现了同样的问题、但我暂时修改了 OpenCVConfig、只检查了错误消息。
如果我直接指定它而不使用 find_package、则会正常构建、但我想使用 find_package 构建应用程序。
我修改了 OpenCVConfig (注释掉了相应的器件)并确认 cmake 中没有错误。
我需要的解决方案是在 TI SDK 中创建映像时解决该问题。
1.修改,以便在创建映像时可以正常构建和添加丢失的软件包。
2.修改、使配置文件在创建映像时不涉及第三方程序的相关信息。
是否有办法实现上述目标?
BR、
Lee