Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

Compiling opencv with opengl + gtk3 flags

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
viniciusbo
n00b
n00b
Posts: 28
Joined: Wed Mar 25, 2015 10:52 pm

Compiling opencv with opengl + gtk3 flags

  • Quote

Post by viniciusbo » Wed Jan 24, 2024 2:39 pm

Hello! I've been trying to compile SDRAngel from pentoo overlay, but it's complaining about OpenCV. Here is the portage output:

Code: Select all

# emerge -av sdrangel --autounmask --autounmask-write

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 1.31 s (backtrack: 0/20).


!!! The ebuild selected to satisfy "media-libs/opencv" has unmet requirements.
- media-libs/opencv-4.8.1-r1::gentoo USE="eigen features2d ffmpeg gtk3 jpeg opengl openmp png python webp -contrib (-contribcvv) -contribdnn -contribfreetype (-contribhdf) (-contribovis) (-contribsfm) (-contribxfeatures2d) (-cuda) (-cudnn) -debug -dnnsamples -examples -gdal (-gflags) (-glog) -gphoto2 -gstreamer -ieee1394 -java -jpeg2k -lapack -non-free -opencl -opencvapps -openexr -qt5 -qt6 -tbb (-tesseract) -testprograms -tiff -v4l -vaapi (-vtk) -xine" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse sse2 -avx -avx2 -avx512f -f16c -fma3 -popcnt -sse3 -sse4_1 -sse4_2 -ssse3" PYTHON_TARGETS="python3_11 -python3_10 (-python3_12)" VIDEO_CARDS="-intel"

  The following REQUIRED_USE flag constraints are unsatisfied:
    opengl? ( any-of ( qt5 qt6 ) )

  The above constraints are a subset of the following complete expression:
    cpu_flags_x86_avx2? ( cpu_flags_x86_f16c ) cpu_flags_x86_f16c? ( cpu_flags_x86_avx ) cuda? ( contrib tesseract? ( opencl ) ) cudnn? ( cuda ) dnnsamples? ( examples ) gflags? ( contrib ) glog? ( contrib ) contribcvv? ( contrib any-of ( qt5 qt6 ) ) contribdnn? ( contrib ) contribfreetype? ( contrib ) contribhdf? ( contrib ) contribovis? ( contrib ) contribsfm? ( contrib eigen gflags glog ) contribxfeatures2d? ( contrib ) java? ( python ) opengl? ( any-of ( qt5 qt6 ) ) python? ( any-of ( python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 ) ) tesseract? ( contrib ) at-most-one-of ( gtk3 any-of ( qt5 qt6 ) ) at-most-one-of ( cuda gdal ) at-most-one-of ( cuda openexr ) at-most-one-of ( cuda tbb )

(dependency required by "net-wireless/sdrangel-7.14.2-r1::pentoo" [ebuild])
(dependency required by "sdrangel" [argument])
I've been struggling with the opengl? ( any-of ( qt5 qt6 ) ). As I understand, this contraints are from OpenCV, not SDRAngel, right?

If so, why can't I compile OpenCV with opengl + gtk3 flags? Is this a bug?
Top
viniciusbo
n00b
n00b
Posts: 28
Joined: Wed Mar 25, 2015 10:52 pm

  • Quote

Post by viniciusbo » Wed Jan 24, 2024 2:48 pm

Actually I just noticed SDRAngel is built upon QT5. So, just for information, that OpenCV contraint (opengl? ( any-of ( qt5 qt6 ) )) is being added by SDRAngel? How could I tell, lets say, in a future @world upgrade, what package sets those use flag contraints?
We, people, can make it work. Come together!
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Jan 24, 2024 2:50 pm

Moved from Portage & Programming to Unsupported Software.
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Jan 24, 2024 2:55 pm

The message says that if you want to install opencv, a dependency of net-wireless/sdrangel, with opengl support you can only do it with qt5 or qt6 enabled as well.
If you don't want that you can disable opengl use flag for the package with /etc/portage/package.use file.
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
viniciusbo
n00b
n00b
Posts: 28
Joined: Wed Mar 25, 2015 10:52 pm

  • Quote

Post by viniciusbo » Wed Jan 24, 2024 3:04 pm

fedeliallalinea wrote:The message says that if you want to install opencv, a dependency of net-wireless/sdrangel, with opengl support you can only do it with qt5 or qt6 enabled as well.
If you don't want that you can disable opengl use flag for the package with /etc/portage/package.use file.
I need a GUI. Guess I'll be looking for alternatives. Gqrx just adds too many python dependencies and from experience it surely will make it a lot harder for future system upgrades.

Thank you for your time.
We, people, can make it work. Come together!
Top
Post Reply

5 posts • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic