You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to build Amber on Windows using: cmake -GNinja -DVulkan_LIBRARY="C:\VulkanSDK\1.2.135.0" ../..
Getting error as follows:
CMake Error in samples/CMakeLists.txt:
Target "Vulkan::Vulkan" contains relative path in its
INTERFACE_INCLUDE_DIRECTORIES:
"C:/VulkanSDK/1.2.135.0/include"
Here is the complete output after cmake:
cmake -GNinja -DVulkan_LIBRARY="C:\VulkanSDK\1.2.135.0" ../..
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++.exe
-- Check for working CXX compiler: /usr/bin/c++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using python3
-- Found PythonInterp: /cygdrive/c/Python37/python.exe (found suitable version "3.7.6", minimum required is "3")
-- Amber enable SPIRV-Tools: TRUE
-- Amber enable Shaderc: TRUE
-- Amber enable tests: TRUE
-- Amber enable samples: TRUE
-- Amber enable lodepng: TRUE
-- Amber enable SwiftShader: OFF
-- Amber enable DXC: FALSE
-- Amber enable Clspv: FALSE
-- Could NOT find Dawn (missing: Dawn_INCLUDE_DIR Dawn_GEN_INCLUDE_DIR Dawn_LIBRARY Dawn_native_LIBRARY)
-- Amber: Did not find Dawn
-- Amber: Checking for CTS Vulkan header
-- Found Vulkan: C:/VulkanSDK/1.2.135.0
-- Amber: Using Vulkan from Vulkan SDK at C:\VulkanSDK\1.2.135.0
-- No build type selected, default to Debug
-- Found PythonInterp: /cygdrive/c/Python37/python.exe (found version "3.7.6")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Found PythonInterp: /cygdrive/c/Python37/python.exe (found suitable version "3.7.6", minimum required is "3")
-- optimizer enabled
-- Shaderc: build type is "Debug".
-- Configuring Shaderc to avoid building tests.
-- asciidoctor was not found - no documentation will be generated
-- Performing Test COMPILER_SUPPORTS_FALLTHROUGH_WARNING
-- Performing Test COMPILER_SUPPORTS_FALLTHROUGH_WARNING - Success
-- Performing Test COMPILER_SUPPORTS_EXTRA_SEMI_WARNING
-- Performing Test COMPILER_SUPPORTS_EXTRA_SEMI_WARNING - Success
CMake Warning (dev) at third_party/spirv-headers/CMakeLists.txt:52 (option):
Policy CMP0077 is not set: option() honors normal variables. Run "cmake
--help-policy CMP0077" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
For compatibility with older versions of CMake, option is clearing the
normal variable 'SPIRV_HEADERS_SKIP_EXAMPLES'.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Installing SPIRV-Header
/cygdrive/c/amber
TRUE
/cygdrive/c/amber
TRUE
/cygdrive/c/amber
TRUE
/cygdrive/c/amber
TRUE
/cygdrive/c/amber
TRUE
/cygdrive/c/amber
TRUE
-- Configuring done
CMake Error in samples/CMakeLists.txt:
Target "Vulkan::Vulkan" contains relative path in its
INTERFACE_INCLUDE_DIRECTORIES:
"C:/VulkanSDK/1.2.135.0/include"
-- Generating done
-- Build files have been written to: /cygdrive/c/amber/out/Debug
Any help on fixing this issue?
The text was updated successfully, but these errors were encountered:
This looks like it might be an issue with mixing cygwin and non-cygwin tools. Is your CMake provided by cygwin by any chance? It might work better if you use a non-cygwin CMake.
Trying to build Amber on Windows using:
cmake -GNinja -DVulkan_LIBRARY="C:\VulkanSDK\1.2.135.0" ../..
Getting error as follows:
Here is the complete output after cmake:
Any help on fixing this issue?
The text was updated successfully, but these errors were encountered: