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

cmake list misses a necessary package #1691

Closed
csylvain opened this issue May 10, 2023 · 2 comments
Closed

cmake list misses a necessary package #1691

csylvain opened this issue May 10, 2023 · 2 comments

Comments

@csylvain
Copy link

{Ubuntu 22.04}
build stops because of missing header file

[homedir]/Software/sdrangel/sdrbase/util/osndb.cpp:21:10: fatal error: QtGui/private/qzipreader_p.h: No such file or directory
   21 | #include <QtGui/private/qzipreader_p.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [sdrbase/CMakeFiles/sdrbase.dir/build.make:2155: sdrbase/CMakeFiles/sdrbase.dir/util/osndb.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:4205: sdrbase/CMakeFiles/sdrbase.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

cmake list should check for package qtbase5-private-dev

$ apt-file find qzipreader_p.h
qtbase5-private-dev: /usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.3/QtGui/private/qzipreader_p.h
@f4exb
Copy link
Owner

f4exb commented May 15, 2023

I think this is not possible to detect. This thread concludes that the problem persists after various workarounds were attempted: LMMS/lmms#4273

I suggest you follow instructions in the wiki https://github.com/f4exb/sdrangel/wiki/Compile-from-source-in-Linux where this dependency is explicitly stated.

@f4exb f4exb closed this as completed May 15, 2023
@csylvain
Copy link
Author

csylvain commented May 16, 2023 via email

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

2 participants