[GH-ISSUE #445] [Linux] Not actual building from sources documentation #84

Closed
opened 2026-02-27 21:04:28 +03:00 by kerem · 8 comments
Owner

Originally created by @GermanAizek on GitHub (Aug 15, 2024).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/445

After installing packages using docs. I have in CMake configuring stage:

CMake Warning at CMakeLists.txt:68 (find_package):
  Could not find a configuration file for package "Boost" that is compatible                                                                                          
  with requested version "1.84.0".                                                                                                                                    
                                                                                                                                                                      
  The following configuration files were considered but not accepted:                                                                                                 
                                                                                                                                                                      
    /usr/lib/x86_64-linux-gnu/cmake/Boost-1.83.0/BoostConfig.cmake, version: 1.83.0                                                                                   
    /lib/x86_64-linux-gnu/cmake/Boost-1.83.0/BoostConfig.cmake, version: 1.83.0                                                                                       
                                                                                                                                                                      
                                                                                                                                                                      
                                                                                                                                                                      
-- Could NOT find cryptopp: (Required is at least version "8.9.0") (found )
-- Could NOT find fmt (missing: fmt_DIR)
-- Could NOT find glslang (missing: glslang_DIR)
-- Could NOT find magic_enum (missing: magic_enum_DIR)
-- Could NOT find SDL3 (missing: SDL3_DIR)
-- Could NOT find toml11 (missing: toml11_DIR)
-- Could NOT find tsl-robin-map (missing: tsl-robin-map_DIR)
CMake Warning at CMakeLists.txt:76 (find_package):
  Could not find a configuration file for package "VulkanHeaders" that is                                                                                             
  compatible with requested version "1.3.289".                                                                                                                        
                                                                                                                                                                      
  The following configuration files were considered but not accepted:                                                                                                 
                                                                                                                                                                      
    /usr/share/cmake/VulkanHeaders/VulkanHeadersConfig.cmake, version: 1.3.283                                                                                        
                                                                                                                                                                      
                                                                                                                                                                      
                                                                                                                                                                      
-- Could NOT find VulkanMemoryAllocator (missing: VulkanMemoryAllocator_DIR)
-- Could NOT find xbyak (missing: xbyak_DIR)
-- Could NOT find xxHash: (Required is at least version "0.8.2") (found )
-- Could NOT find zlib-ng: (Required is at least version "2.2.0") (found )
-- Could NOT find Zydis (missing: Zydis_DIR)
CMake Warning at CMakeLists.txt:82 (find_package):
  No "FindRenderDoc.cmake" found in CMAKE_MODULE_PATH.                                                                                                                
                                                                                                                                                                      
                                                                                                                                                                      
CMake Warning (dev) at CMakeLists.txt:82 (find_package):
  FindRenderDoc.cmake must either be part of this project itself, in this                                                                                             
  case adjust CMAKE_MODULE_PATH so that it points to the correct location                                                                                             
  inside its source tree.                                                                                                                                             
                                                                                                                                                                      
  Or it must be installed by a package which has already been found via                                                                                               
  find_package().  In this case make sure that package has indeed been found                                                                                          
  and adjust CMAKE_MODULE_PATH to contain the location where that package has                                                                                         
  installed FindRenderDoc.cmake.  This must be a location provided by that                                                                                            
  package.  This error in general means that the buildsystem of this project                                                                                          
  is relying on a Find-module without ensuring that it is actually available.                                                                                         
                                                                                                                                                                      
This warning is for project developers.  Use -Wno-dev to suppress it.                                                                                                 
                                                                      
Originally created by @GermanAizek on GitHub (Aug 15, 2024). Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/445 After installing packages using docs. I have in CMake configuring stage: ``` CMake Warning at CMakeLists.txt:68 (find_package): Could not find a configuration file for package "Boost" that is compatible with requested version "1.84.0". The following configuration files were considered but not accepted: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.83.0/BoostConfig.cmake, version: 1.83.0 /lib/x86_64-linux-gnu/cmake/Boost-1.83.0/BoostConfig.cmake, version: 1.83.0 -- Could NOT find cryptopp: (Required is at least version "8.9.0") (found ) -- Could NOT find fmt (missing: fmt_DIR) -- Could NOT find glslang (missing: glslang_DIR) -- Could NOT find magic_enum (missing: magic_enum_DIR) -- Could NOT find SDL3 (missing: SDL3_DIR) -- Could NOT find toml11 (missing: toml11_DIR) -- Could NOT find tsl-robin-map (missing: tsl-robin-map_DIR) CMake Warning at CMakeLists.txt:76 (find_package): Could not find a configuration file for package "VulkanHeaders" that is compatible with requested version "1.3.289". The following configuration files were considered but not accepted: /usr/share/cmake/VulkanHeaders/VulkanHeadersConfig.cmake, version: 1.3.283 -- Could NOT find VulkanMemoryAllocator (missing: VulkanMemoryAllocator_DIR) -- Could NOT find xbyak (missing: xbyak_DIR) -- Could NOT find xxHash: (Required is at least version "0.8.2") (found ) -- Could NOT find zlib-ng: (Required is at least version "2.2.0") (found ) -- Could NOT find Zydis (missing: Zydis_DIR) CMake Warning at CMakeLists.txt:82 (find_package): No "FindRenderDoc.cmake" found in CMAKE_MODULE_PATH. CMake Warning (dev) at CMakeLists.txt:82 (find_package): FindRenderDoc.cmake must either be part of this project itself, in this case adjust CMAKE_MODULE_PATH so that it points to the correct location inside its source tree. Or it must be installed by a package which has already been found via find_package(). In this case make sure that package has indeed been found and adjust CMAKE_MODULE_PATH to contain the location where that package has installed FindRenderDoc.cmake. This must be a location provided by that package. This error in general means that the buildsystem of this project is relying on a Find-module without ensuring that it is actually available. This warning is for project developers. Use -Wno-dev to suppress it. ````
kerem closed this issue 2026-02-27 21:04:28 +03:00
Author
Owner

@GermanAizek commented on GitHub (Aug 15, 2024):

@georgemoralis
Add please packages for Debian/Ubuntu:

sudo apt install glslang-tools glslang-dev libcrypto++-dev libvulkan-memory-allocator-dev libfmt-dev libtoml11-dev libmagicenum-dev libxbyak-dev libxxhash-dev libzydis-dev

these packages are already available in the stable version.

<!-- gh-comment-id:2292032296 --> @GermanAizek commented on GitHub (Aug 15, 2024): @georgemoralis Add please packages for Debian/Ubuntu: ``` sudo apt install glslang-tools glslang-dev libcrypto++-dev libvulkan-memory-allocator-dev libfmt-dev libtoml11-dev libmagicenum-dev libxbyak-dev libxxhash-dev libzydis-dev ``` these packages are already available in the stable version.
Author
Owner

@GermanAizek commented on GitHub (Aug 15, 2024):

I forget add: glslang-tools

<!-- gh-comment-id:2292036049 --> @GermanAizek commented on GitHub (Aug 15, 2024): I forget add: `glslang-tools`
Author
Owner

@GermanAizek commented on GitHub (Aug 15, 2024):

And forget add: libcrypto++-dev

<!-- gh-comment-id:2292037453 --> @GermanAizek commented on GitHub (Aug 15, 2024): And forget add: `libcrypto++-dev`
Author
Owner

@setepenre commented on GitHub (Aug 15, 2024):

either clone the repo with git clone --recursive or once in the repo directory do git submodule update --init --recursive

<!-- gh-comment-id:2292408349 --> @setepenre commented on GitHub (Aug 15, 2024): either clone the repo with `git clone --recursive` or once in the repo directory do `git submodule update --init --recursive`
Author
Owner

@Morikko commented on GitHub (Aug 24, 2024):

I tried to build it on Ubuntu 22.04. I managed to make it with gcc-13 and clang-18, both are not installed by default. It failed with either gcc-12 or clang-15 that are the most up-to-date versions available from the official repos.

I did not manage to include -DENABLE_QT_GUI=ON as it failed with Unknown CMake command "qt_standard_project_setup". Apparently, it is only from Qt-6.3 while Ubuntu 22.04 provides Qt-6.2.4.

<!-- gh-comment-id:2308348233 --> @Morikko commented on GitHub (Aug 24, 2024): I tried to build it on Ubuntu 22.04. I managed to make it with `gcc-13` and `clang-18`, both are not installed by default. It failed with either `gcc-12` or `clang-15` that are the most up-to-date versions available from the official repos. I did not manage to include `-DENABLE_QT_GUI=ON` as it failed with `Unknown CMake command "qt_standard_project_setup"`. Apparently, it is only from Qt-6.3 while Ubuntu 22.04 provides Qt-6.2.4.
Author
Owner

@Kubmichna commented on GitHub (Aug 25, 2024):

i am having the very same issue but on windows 10

<!-- gh-comment-id:2309008456 --> @Kubmichna commented on GitHub (Aug 25, 2024): i am having the very same issue but on windows 10
Author
Owner

@Hermiten commented on GitHub (Oct 1, 2024):

Some work have been made on this, can you test it again ?

<!-- gh-comment-id:2386219391 --> @Hermiten commented on GitHub (Oct 1, 2024): Some work have been made on this, can you test it again ?
Author
Owner

@Morikko commented on GitHub (Oct 20, 2024):

Some work have been made on this, can you test it again ?

Sorry, I upgraded the computer to Ubuntu 24 a few weeks ago so I can not reproduce.

<!-- gh-comment-id:2424978015 --> @Morikko commented on GitHub (Oct 20, 2024): > Some work have been made on this, can you test it again ? Sorry, I upgraded the computer to Ubuntu 24 a few weeks ago so I can not reproduce.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#84
No description provided.