-
Notifications
You must be signed in to change notification settings - Fork 6
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
value_nc_widget.cpp ‘struct DDCA_Feature_Metadata’ has no member named ‘latest_sl_values’ #32
Comments
The version of ddcutil/libddcutil/libddcutil-dev in sid is 0.9.9, which is ancient. Hopefully it will jump to 1.2.1 after that ddcutil version is released and submitted to debian. ddcui 0.2.0 requires at least libddcutil.so.4.1.0 from ddcutil 1.2.0 or later. This requirement was mentioned in the release description, but needs to be more prominent. I have added it to the announcement in #33, and to the ddcui Release Notes on the web site. Thanks you for the report. I look forward to your feedback. |
I installed llibddcutil-dev only after cmake failed with:
Line 54 in 448ee8a
min version should be updated, isn't it? |
There are several problems with pkg_check_modules The first is simply that the version on the pkg_check_modules() call needs to be updated to 1.2.0. My oversight. It has been fixed on the 0.2.1-dev branch. Thanks for pointing this out. The remaining problems lack easy solutions. (Please forgive the long discussion. I may use it as the basis for a section in the ddcutil documentation.) Second is the naming of the pkg-config file, in this case "ddcutil.pc". There's no specification as to what the file should be named (other than ending in ".pc".) Looking in /usr/lib/x86_64-linux-gnu/pkgconfig, some package names begin with "lib" (e.g. libudev.pc), others do not (e.g. glib-2.0.pc). I chose the latter form because that is what is used in the examples in the freedesktop.org (Guide to pkg-config](https://people.freedesktop.org/~dbn/pkg-config-guide.html) as well as other examples I found. This has the unfortunate consequence that the error message takes "ddcutil" from the pkg-config package name, which can be particularly confusing because "ddcutil" is than name of the the .deb or .rpm package of the command line copy of ddcutil. In retrospect "libddcutil.pc" would have been a better choice. I may bite the bullet and change the name, which would cause use in existing CMakeList.txt files pkg_check_modules() calls, and autoconf's PKG_CHECK_MODULES() calls, to fail. Relatedly, the error message suggests that it's the shared library package for libddcutil that's missing, when it fact it's the "dev" package libddcutil-dev that's missing. There's an entry in the (ddcutil FAQ)(https://www.ddcutil.com/faq#missing_package) about this source of confusion. Finally, the word "package" itself has ambiguity. In this case it refers to the .deb, .rpm or such package. However, "ddcutil" is the git repository/tarball name from which all the ddcutil packages (ddcutil, libddcutil, libddcutil-dev, etc.) are built, and if you're installing from source it's ddcutil that you install. Regards, |
libddcutil-dev v0.9.9-2 from debian sid
btw, it also draws a warning on 39% of building process:
The text was updated successfully, but these errors were encountered: