Skip to content

Support sfml 3.0.0 #249

Closed
Closed
@chenrui333

Description

@chenrui333

👋 I saw the project has already supported sfml v3, but there is still some issue I see in the cmake build process as below:

  Searching for SFML 3...
  
  -- Requested SFML configuration (Shared) was not found
  CMake Warning at cmake/Dependencies.cmake:68 (find_package):
    Found package configuration file:
  
      /opt/homebrew/lib/cmake/SFML/SFMLConfig.cmake
  
    but it set SFML_FOUND to FALSE so package "SFML" is considered to be NOT
    FOUND.
  Call Stack (most recent call first):
    cmake/Dependencies.cmake:93 (tgui_find_dependency_sfml)
    src/Backend/CMakeLists.txt:175 (tgui_add_dependency_sfml)
    src/CMakeLists.txt:517 (include)
  
  
  CMake Error at cmake/Dependencies.cmake:80 (message):
    CMake couldn't find SFML.
  
    Set SFML_DIR to the directory containing SFMLConfig.cmake (usually
    something like SFML_ROOT/lib/cmake/SFML)
  
  Call Stack (most recent call first):
    cmake/Dependencies.cmake:93 (tgui_find_dependency_sfml)
    src/Backend/CMakeLists.txt:175 (tgui_add_dependency_sfml)
    src/CMakeLists.txt:517 (include)

full build log, https://github.com/Homebrew/homebrew-core/actions/runs/12475120895/job/34818182416
relates to Homebrew/homebrew-core#202104

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