You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when compiling from source on gentoo with libXrandr 1.5.3, I go the same error I saw other had too:
$ ./setup.py build
Trying to get git version information...
Trying to get git information...
Generating __version__.py
Version 3.9.11
['build']
*** /home/apit/tools/displaycal/displaycal-py3/setup.py build
using distutils
desktopfile: /home/apit/tools/displaycal/displaycal-py3/DisplayCAL/../misc/displaycal.desktop
desktopfile: /home/apit/tools/displaycal/displaycal-py3/DisplayCAL/../misc/displaycal-3dlut-maker.desktop
desktopfile: /home/apit/tools/displaycal/displaycal-py3/DisplayCAL/../misc/displaycal-apply-profiles.desktop
desktopfile: /home/apit/tools/displaycal/displaycal-py3/DisplayCAL/../misc/displaycal-curve-viewer.desktop
desktopfile: /home/apit/tools/displaycal/displaycal-py3/DisplayCAL/../misc/displaycal-profile-info.desktop
desktopfile: /home/apit/tools/displaycal/displaycal-py3/DisplayCAL/../misc/displaycal-scripting-client.desktop
desktopfile: /home/apit/tools/displaycal/displaycal-py3/DisplayCAL/../misc/displaycal-synthprofile.desktop
desktopfile: /home/apit/tools/displaycal/displaycal-py3/DisplayCAL/../misc/displaycal-testchart-editor.desktop
desktopfile: /home/apit/tools/displaycal/displaycal-py3/DisplayCAL/../misc/displaycal-vrml-to-x3d-converter.desktop
DisplayCAL/RealDisplaySizeMM.c: In function‘get_displays’:
DisplayCAL/RealDisplaySizeMM.c:871:71: warning: passing argument 12 of ‘XRRGetOutputProperty’ from incompatible pointer type [-Wincompatible-pointer-types]
871 |&ret_type, &ret_format, &ret_len, &ret_togo, &atomv) == Success
| ^~~~~~~~~
||| long unsigned int **
In file included from DisplayCAL/RealDisplaySizeMM.c:33:
/usr/include/X11/extensions/Xrandr.h:339:61: note: expected ‘long unsigned int *’ but argument is of type ‘long unsigned int **’
339 | unsigned long *nitems, unsigned long *bytes_after,
|~~~~~~~~~~~~~~~^~~~~~~~~~~
Updating to 1.5.4 fixed that compile error. I created the issue for discussion if it's only my setup or a general thing.
PS: I cloned the current develop branch for that test
The text was updated successfully, but these errors were encountered:
I get this warning with libXrandr 1.5.4, too. More to the point, I don't understand why it should be new - the XRRGetOutputPropertyfunction signature hasn't changed in forever.
I hate this C-Extension, and want to get rid of it. The only thing that extension is doing is to get the "real display size in millimeters", I don't know how important this is to know, and in most of the OSes we can get the same data from the EDID data.
Closing this as it seems that you have a workaround that people can follow.
when compiling from source on gentoo with libXrandr 1.5.3, I go the same error I saw other had too:
Updating to 1.5.4 fixed that compile error. I created the issue for discussion if it's only my setup or a general thing.
PS: I cloned the current
develop
branch for that testThe text was updated successfully, but these errors were encountered: