Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when build with custom package #150

Open
laverne01 opened this issue Oct 10, 2024 · 0 comments
Open

Error when build with custom package #150

laverne01 opened this issue Oct 10, 2024 · 0 comments

Comments

@laverne01
Copy link

I tried building opencv-mobile along with a custom package but encountered some errors that I couldn't resolve:
opencv-mobile-4.10.0/modules/core/src/precomp.hpp:358:10: error: no type named 'OpenCLExecutionContext' in namespace 'cv::ogl' ocl::OpenCLExecutionContext oclExecutionContext; ~~~~~^ 2 errors generated. error: use of undeclared identifier 'ocl'; did you mean 'ogl'? ocl::OpenCLExecutionContext oclExecutionContext; ^~~ ogl
The Option.txt file includes the enabled packages:
-DBUILD_opencv_imgcodecs=ON
-DBUILD_opencv_calib3d=ON
-DBUILD_opencv_flann=ON
-DBUILD_opencv_objdetect=ON
have applied the opencv-4.10.0-no-gpu.patch to resolve some redundant UMAT code issues, but I'm still encountering the code error above. I would appreciate any advice."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant