Build error on Fedora 20 (x86_64)

Issue #86 new
i_semenov created an issue

Cannot build the xrandr module with libqxt from Git (3e7424f842d4673a6823e926c7a10f2b458e4292) on Fedora 20 x86_64.

The error is:

compiling main.cpp linking xrandr /usr/bin/ld: main.o: undefined reference to symbol 'XOpenDisplay' /usr/bin/ld: note: 'XOpenDisplay' is defined in DSO /lib64/libX11.so.6 so try adding it to the linker command line /lib64/libX11.so.6: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status make: *** [xrandr] Error 1

when running make in the config.test/xrandr directory.

Adding

!win32:LIBS+=-lXrandr -lX11

to xrandr.pro fixes the issue and the module is compiled successfully. (configure reports success for xrandr.)

Comments (0)

  1. Log in to comment