Part Number: TDA4VM
Tool/software:
Hi,
Hhere is the result of doing find_package(OpenCV REQUIRED) for my program.
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)
I checked the path and confirmed that there is no 3rdparty directory.
No exist file or directory "/usr/lib/opencv4/3rdparty/"
The same problem occurred with libcorrespondence.a, but I temporarily modified OpenCVConfig and only checked the error message.
If I specify it directly without using find_package, it builds normally, but I want to build the application using find_package.
I modified OpenCVConfig (commented out the correspond part) and confirmed that there is no error in cmake.
The solution I want is to solve it when creating an image in TI SDK.
1. Modify so that the missing package can be built and added normally when creating an image.
2. Modify so that the config file does not refer to related information about 3rd party programs when creating an image.
Is there a way to achieve the above goals?
BR,
Lee