Hello,
I'm having a cmake project importing the OpenCV libs from the Yocto Linux SDK using the following CMake statement:
Solved! Go to Solution.
Hello @edouard_charvet,
Indeed, the SDK fails to correctly find the necessary files to build with OpenCV. As a temporary fix, you could try moving the following, which worked on my side:
Having those two *.so in that path fixed the issue. Hope this helps for now.
Regards,
Alberto
Hello @edouard_charvet,
Indeed, the SDK fails to correctly find the necessary files to build with OpenCV. As a temporary fix, you could try moving the following, which worked on my side:
Having those two *.so in that path fixed the issue. Hope this helps for now.
Regards,
Alberto
Hello @alberto_alvarez,
Thanks for posting this workaround, it also works for me.
Hope this gets properly fixed in subsequent releases of yocto...
Edouard
Hi @edouard_charvet,
To solve this problem, you could try to update your OpenCV version to the newest version for NXP OpenCV (4.6.0), also you can try to update the cmake search paths in the cmake script identifying the changes between those versions and check that al the libraries are present in the new OpenCV.
You can use this link to review the difference between new and older version:
GitHub - nxp-imx/opencv-imx: i.MX OpenCV
I hope this information will be helpful.
Have a great day!
Best regards, Brian.
Hello,
I confirm that the solution proposed of moving the two faulty library files from usr/lib/.debug to usr/lib works fine.
However, I just updated my OpenCV version to 4.8.1 (using the recipe obtained from the meta-imx github repo: https://github.com/nxp-imx/meta-imx) and I can confirm that this problem is still present.
Kind Regards,
Houssem