You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way I installed OpenCV:Download the opencv-4.9.0-windows.exe installation package from the official website
The following environment variables are set:
OpenCV version:4.9.0
rustc version:rustc 1.82.0 (f6e511eec 2024-10-15)
【Phenomenon Description】
I used bindgen tool to generate a carte HKGYMVS 0.1.0 because I used a third party camera. Then I want to go ahead and add your carte opencv, then I get an error: a 'libclang' shared library is not loaded on this thread. PS. Created a new project containing only opencv cartes that can be used normally.
Then, I find a solution for Troubleshooting: Enable the clang-runtime feature. change opencv = { version = "0.93.4" } to opencv = { version = "0.93.4", features = ["clang-runtime"] },still not working properly:Failed to run the bindings generator for module: highgui , Failed to run the bindings generator for module: calib3d, etc.
【My Ignorant Guesss】
Is it possible that calling bindgen twice has caused some parameters to be affected between the two invocations, leading to a failure in the normal building of opencv? Below is the address for HKGYMVS that I created myself:https://github.com/yuntao3568/HKGYMVS
Please, dear author, save this poor soul.ಥ_ಥ
The text was updated successfully, but these errors were encountered:
yuntao3568
changed the title
opencv 0.93.4 cannot be built when a third party bindgen cartes is used.
opencv 0.93.4 fails to build when using another bindgen library
Nov 18, 2024
Sorry, I replied in a hurry without reading your post thoroughly! There is currently an issue on windows with clang-19 with having clang-runtime enabled. It's originating in the clang crate and the only workaround for now is downgrading clang or disabling clang-runtime. Any help investigating it is greatly appreciated!
【Environment】
opencv-4.9.0-windows.exe
installation package from the official website【Phenomenon Description】
I used
bindgen
tool to generate a carteHKGYMVS 0.1.0
because I used a third party camera. Then I want to go ahead and add your carteopencv
, then I get an error: a 'libclang' shared library is not loaded on this thread. PS. Created a new project containing only opencv cartes that can be used normally.log.txt
Then, I find a solution for Troubleshooting: Enable the clang-runtime feature. change
opencv = { version = "0.93.4" }
toopencv = { version = "0.93.4", features = ["clang-runtime"] }
,still not working properly:Failed to run the bindings generator for module: highgui
,Failed to run the bindings generator for module: calib3d
, etc.log2.txt
【My Ignorant Guesss】
Is it possible that calling
bindgen
twice has caused some parameters to be affected between the two invocations, leading to a failure in the normal building ofopencv
? Below is the address for HKGYMVS that I created myself:https://github.com/yuntao3568/HKGYMVSPlease, dear author, save this poor soul.ಥ_ಥ
The text was updated successfully, but these errors were encountered: