|
|
/usr/bin/ld: /usr/local/lib/libglfw3.a(x11_window.c.o): undefined reference to symbol 'XConvertSelection' /usr/lib/x86_64-linux-gnu/libX11.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Process terminated with status 1 (0 minute(s), 0 second(s)) 2 error(s), 0 warning(s) (0 minute(s), 0 second(s)) |
|
|
undefined reference to symbol 'XF86VidModeQueryExtension' |
undefined reference to symbol 'pthread_key_delete@@GLIBC_2.2.5' |
/usr/local/lib/libglfw3.a(x11_init.c.o): In function `initExtensions': x11_init.c:(.text+0x1a26): undefined reference to `XRRQueryExtension' x11_init.c:(.text+0x1a7d): undefined reference to `XRRQueryVersion' x11_init.c:(.text+0x1afa): undefined reference to `XRRGetScreenResources' x11_init.c:(.text+0x1b2d): undefined reference to `XRRGetCrtcGammaSize' x11_init.c:(.text+0x1b61): undefined reference to `XRRFreeScreenResources' x11_init.c:(.text+0x1b93): undefined reference to `XineramaQueryExtension' x11_init.c:(.text+0x1bad): undefined reference to `XineramaIsActive' x11_init.c:(.text+0x1c5e): undefined reference to `XIQueryVersion' /usr/local/lib/libglfw3.a(x11_init.c.o): In function `_glfwCreateCursor': x11_init.c:(.text+0x22ee): undefined reference to `XcursorImageCreate' x11_init.c:(.text+0x23c5): undefined reference to `XcursorImageLoadCursor' x11_init.c:(.text+0x23d5): undefined reference to `XcursorImageDestroy' /usr/local/lib/libglfw3.a(x11_monitor.c.o): In function `_glfwSetVideoMode': x11_monitor.c:(.text+0x331): undefined reference to `XRRGetScreenResources' x11_monitor.c:(.text+0x360): undefined reference to `XRRGetCrtcInfo' x11_monitor.c:(.text+0x38c): undefined reference to `XRRGetOutputInfo' x11_monitor.c:(.text+0x4b9): undefined reference to `XRRSetCrtcConfig' x11_monitor.c:(.text+0x4c9): undefined reference to `XRRFreeOutputInfo' x11_monitor.c:(.text+0x4d5): undefined reference to `XRRFreeCrtcInfo' x11_monitor.c:(.text+0x4e1): undefined reference to `XRRFreeScreenResources' /usr/local/lib/libglfw3.a(x11_monitor.c.o): In function `_glfwRestoreVideoMode': x11_monitor.c:(.text+0x594): undefined reference to `XRRGetScreenResources' x11_monitor.c:(.text+0x5c0): undefined reference to `XRRGetCrtcInfo' x11_monitor.c:(.text+0x630): undefined reference to `XRRSetCrtcConfig' x11_monitor.c:(.text+0x640): undefined reference to `XRRFreeCrtcInfo' x11_monitor.c:(.text+0x64c): undefined reference to `XRRFreeScreenResources' /usr/local/lib/libglfw3.a(x11_monitor.c.o): In function `_glfwPlatformGetMonitors': x11_monitor.c:(.text+0x6e5): undefined reference to `XRRGetScreenResources' x11_monitor.c:(.text+0x710): undefined reference to `XRRGetOutputPrimary' x11_monitor.c:(.text+0x743): undefined reference to `XineramaQueryScreens' x11_monitor.c:(.text+0x788): undefined reference to `XRRGetCrtcInfo' x11_monitor.c:(.text+0x7cd): undefined reference to `XRRGetOutputInfo' x11_monitor.c:(.text+0x7ea): undefined reference to `XRRFreeOutputInfo' x11_monitor.c:(.text+0x9fc): undefined reference to `XRRFreeOutputInfo' x11_monitor.c:(.text+0xa82): undefined reference to `XRRFreeCrtcInfo' x11_monitor.c:(.text+0xaa2): undefined reference to `XRRFreeScreenResources' /usr/local/lib/libglfw3.a(x11_monitor.c.o): In function `_glfwPlatformGetMonitorPos': x11_monitor.c:(.text+0xc31): undefined reference to `XRRGetScreenResourcesCurrent' x11_monitor.c:(.text+0xc5d): undefined reference to `XRRGetCrtcInfo' x11_monitor.c:(.text+0xc95): undefined reference to `XRRFreeCrtcInfo' x11_monitor.c:(.text+0xca1): undefined reference to `XRRFreeScreenResources' /usr/local/lib/libglfw3.a(x11_monitor.c.o): In function `_glfwPlatformGetVideoModes': x11_monitor.c:(.text+0xd1f): undefined reference to `XRRGetScreenResourcesCurrent' x11_monitor.c:(.text+0xd4b): undefined reference to `XRRGetCrtcInfo' x11_monitor.c:(.text+0xd74): undefined reference to `XRRGetOutputInfo' x11_monitor.c:(.text+0xeb2): undefined reference to `XRRFreeOutputInfo' x11_monitor.c:(.text+0xebe): undefined reference to `XRRFreeCrtcInfo' x11_monitor.c:(.text+0xeca): undefined reference to `XRRFreeScreenResources' /usr/local/lib/libglfw3.a(x11_monitor.c.o): In function `_glfwPlatformGetVideoMode': x11_monitor.c:(.text+0xf7a): undefined reference to `XRRGetScreenResourcesCurrent' x11_monitor.c:(.text+0xfa6): undefined reference to `XRRGetCrtcInfo' x11_monitor.c:(.text+0xffe): undefined reference to `XRRFreeCrtcInfo' x11_monitor.c:(.text+0x100a): undefined reference to `XRRFreeScreenResources' /usr/local/lib/libglfw3.a(x11_monitor.c.o): In function `_glfwPlatformGetGammaRamp': x11_monitor.c:(.text+0x1146): undefined reference to `XRRGetCrtcGammaSize' x11_monitor.c:(.text+0x1170): undefined reference to `XRRGetCrtcGamma' x11_monitor.c:(.text+0x11fc): undefined reference to `XRRFreeGamma' /usr/local/lib/libglfw3.a(x11_monitor.c.o): In function `_glfwPlatformSetGammaRamp': x11_monitor.c:(.text+0x1303): undefined reference to `XRRAllocGamma' Process terminated with status 1 (0 minute(s), 0 second(s)) 50 error(s), 0 warning(s) (0 minute(s), 0 second(s)) |
cmake -DBUILD_SHARED_LIBS=ON . |