rockowitz / ddcui

Graphical user interface for ddcutil - control monitor settings
http://www.ddcutil.com
GNU General Public License v2.0
147 stars 2 forks source link

Building errors on Ubuntu 20.04 #22

Closed vrossum closed 3 years ago

vrossum commented 3 years ago

Hi, On ubuntu 20.04

cmake . gives Checking for module 'ddcutil>=0.9.9' -- Requested 'ddcutil >= 0.9.9' but version of ddcutil is 0.9.8

But it seems that the gibhub version of ddcutil is 0.9.8.

Doing a make nonetheless gives:

make gcc -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_HELP_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I. -Isrc -I-I/usr/local/include -I../../../include/glib-2.0 -I../../../lib/x86_64-linux-gnu/glib-2.0/include -I../../../include/x86_64-linux-gnu/qt5 -I../../../include/x86_64-linux-gnu/qt5/QtHelp -I../../../include/x86_64-linux-gnu/qt5/QtWidgets -I../../../include/x86_64-linux-gnu/qt5/QtGui -I../../../include/x86_64-linux-gnu/qt5/QtSql -I../../../include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I../../../lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o feature_list.o src/base/feature_list.c src/base/feature_list.c: In function ‘parse_custom_feature_list’: src/base/feature_list.c:93:50: error: incompatible type for argument 1 of ‘ddca_feature_list_string’ const char s = ddca_feature_list_string(feature_list, /prefix/ "x", /sepstr/ ","); ^~~~ In file included from src/base/feature_list.c:15: /usr/local/include/ddcutil_c_api.h:1293:1: note: expected ‘DDCA_Feature_List ’ {aka ‘struct *’} but argument is of type ‘DDCA_Feature_List’ {aka ‘struct ’} ddca_feature_list_string( ^~~~~~~~ make: *** [Makefile:9766: feature_list.o] Error 1

rockowitz commented 3 years ago

The current release of ddcutil is 0.9.9, released 18 days ago. It is on the github master branch.

vrossum commented 3 years ago

configure.ac in ddutil in master has m4_define([ddcutil_micro_version], [8])

So this might have to be updated.

vrossum commented 3 years ago

It compiles fine with the 0.9.9-dev branch of ddcutil

rockowitz commented 3 years ago

Thank you! Branch master was out of sync with my local copy and with the official 0.9.9 tarball at http://www/ddcutil.com/releases/ddcutil.0.9.9.tar.gz. The master branch has been updated.

Anyone who previously built release 0.9.9 from the master branch should rebuild.

On 7/9/20 10:47 AM, vrossum wrote:

configure.ac in ddutil in master has m4_define([ddcutil_micro_version], [8])

So this might have to be updated.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rockowitz/ddcui/issues/22#issuecomment-656172175, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMGY3SXRYV6XDSCJHPRWVLR2XJ7JANCNFSM4OVQTIAA.