Skip to content

-DLEGACY still tries to build wayland #1164

@marc1uk

Description

@marc1uk

Doing my best to build on Debian Trixie with xfce4 X11, but no matter what I do it insists on trying to include Wayland. Specifying LEGACY (ON or 1), seems to have no effect. I've removed the profile/build directory, checked i have libglfw3 not libglfw3-wayland. Even gone through and purged every mention of Wayland in the entire repository, no change. Don't know what else to try, honestly don't even know how it still knows "wayland" is a thing at this point.

user@host:~/tracy-0.12.2 $ cmake -B profiler/build -S profiler -DCMAKE_BUILD_TYPE=Release -DLEGACY=1
Parsing public/common/TracyVersion.hpp file
VERSION 0.12.2
-- The C compiler identification is GNU 14.2.0
-- The CXX compiler identification is GNU 14.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test COMPILER_SUPPORTS_MARCH_NATIVE
-- Performing Test COMPILER_SUPPORTS_MARCH_NATIVE - Success
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
-- Checking for module 'capstone'
--   Package 'capstone', required by 'virtual:world', not found
-- CPM: Adding package [email protected] (6.0.0-Alpha1 to /home/marc/LinuxSystemFiles/Tracy/tracy-0.12.2/profiler/build/.cpm-cache/capstone/c68db851083fcffa27a786090cedcce4c4f28330)
-- Performing Test SUPPORTS_MU
-- Performing Test SUPPORTS_MU - Success
-- Performing Test SUPPORTS_SHADOWING
-- Performing Test SUPPORTS_SHADOWING - Success
-- Performing Test SUPPORTS_SUNINIT
-- Performing Test SUPPORTS_SUNINIT - Failed
Enabling CAPSTONE_ARM_SUPPORT
Enabling CAPSTONE_AARCH64_SUPPORT
Enabling CAPSTONE_X86_SUPPORT
-- Checking for module 'glfw3'
--   Package 'glfw3', required by 'virtual:world', not found
-- CPM: Adding package [email protected] (3.4 to /home/marc/LinuxSystemFiles/Tracy/tracy-0.12.2/profiler/build/.cpm-cache/glfw/9fc60ad2c810b92f74235a589a9a0edee75bc2d3)
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Including Wayland support
-- Including X11 support
-- Looking for memfd_create
-- Looking for memfd_create - found
CMake Error at build/.cpm-cache/glfw/9fc60ad2c810b92f74235a589a9a0edee75bc2d3/src/CMakeLists.txt:76 (message):
  Failed to find wayland-scanner


-- Configuring incomplete, errors occurred!

-- Including Wayland support but why tho....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions