Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Hacked gtkglext search in cmake#25865

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
asmorkalov merged 1 commit intoopencv:4.xfromasmorkalov:as/gtk_2_opengl_fix
Jul 4, 2024

Conversation

@asmorkalov
Copy link
Contributor

@asmorkalovasmorkalov commentedJul 3, 2024
edited
Loading

Fixes#20850

Error message on Ubuntu 18.04:

-- Configuring doneCMake Error in modules/highgui/CMakeLists.txt: Imported target "ocv.3rdparty.gtkglext" includes non-existent path  "/usr/lib/x86_64-linux-gnu/gtkglext-1.0/include"  in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:  * The path was deleted, renamed, or moved to another location.  * An install or uninstall procedure did not complete successfully.  * The installation package was faulty and references files it does not  provide. CMake Error in modules/highgui/CMakeLists.txt: Imported target "ocv.3rdparty.gtkglext" includes non-existent path  "/usr/lib/x86_64-linux-gnu/gtkglext-1.0/include"  in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:  * The path was deleted, renamed, or moved to another location.  * An install or uninstall procedure did not complete successfully.  * The installation package was faulty and references files it does not  provide. -- Generating done

Pull Request Readiness Checklist

See details athttps://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
  • The PR is proposed to the proper branch
  • There is a reference to the original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

@asmorkalovasmorkalov added this to the4.11.0 milestoneJul 3, 2024
@asmorkalovasmorkalov changed the titleFixed gtkglext search in cmakeHacked gtkglext search in cmakeJul 4, 2024
Copy link
Contributor

@mshabuninmshabunin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Looks good to me.

Perhaps we should move this postprocessing toocv_check_modules macro. It already checks libraries existence and emits warning in case of error.

@asmorkalov
Copy link
ContributorAuthor

The issue looks like Linux distro package bug rather then regular behavior. I prefer to introduce local hack then.

@asmorkalovasmorkalov merged commit9f5139b intoopencv:4.xJul 4, 2024
@asmorkalovasmorkalov mentioned this pull requestJul 16, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@mshabuninmshabuninmshabunin approved these changes

@opencv-alalekopencv-alalekAwaiting requested review from opencv-alalek

Assignees

@mshabuninmshabunin

Projects

None yet

Milestone

4.11.0

Development

Successfully merging this pull request may close these issues.

highgui GTK2 with OpenGL broken in master

2 participants

@asmorkalov@mshabunin

[8]ページ先頭

©2009-2025 Movatter.jp