error:
CMake Error at extern/cesium-native/CMakeLists.txt:73 (message):
CesiumUtility: Cannot use INTERFACE_INCLUDE_DIRECTORIES from target glm as
it does not define it
Call Stack (most recent call first):
extern/cesium-native/CesiumUtility/CMakeLists.txt:45 (target_link_libraries_system)
Having the same/similar Issue atm but with this error when trying to create a build on a new machine that I’ve cloned my project on.
– Found Bash: C:/Program Files/Git/bin/bash.exe
CMake Warning at extern/cesium-native/extern/KTX-Software/cmake/version.cmake:151 (message):
Error retrieving version from GIT tag. Falling back to 0.0.0-noversion
Call Stack (most recent call first):
extern/cesium-native/extern/KTX-Software/CMakeLists.txt:10 (include)
It’s strange since the project works fine on my other machine but this new machine is having issues. I suspect it’s some dependency missing but i can’t seem to figure out which as I have the latest CMake 3.28, the latest .Net 8.0 and have installed nasm and set environment variables, git bash etc but still can’t seem to build.
It works fine in editor though just can’t build on the new machine despite the fact that it builds fine on my old one
The bit of the log you’ve quoted just shows a warning, and is normal. If your build is failing, that’s not the cause. You’ll need to share more of the log.
Ah fair enough. Here’s the whole build log from the standalone folder. Hoping someone can point me in the right direction as it still builds fine on my old machine and I’m hoping to be able to use this new machine to do so as well!
-- Building for: Visual Studio 17 2022
-- The CXX compiler identification is MSVC 19.38.33134.0
-- The C compiler identification is MSVC 19.38.33134.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Deprecation Warning at extern/tidy-html5/CMakeLists.txt:20 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Warning (dev) at extern/tidy-html5/CMakeLists.txt:26 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The following variable(s) would be set to empty:
PROJECT_VERSION
PROJECT_VERSION_MAJOR
PROJECT_VERSION_MINOR
PROJECT_VERSION_PATCH
This warning is for project developers. Use -Wno-dev to suppress it.
-> TIDY_SO_VERSION = 59. This is an ODD (development) release.
CMake Warning (dev) at extern/tidy-html5/CMakeLists.txt:96 (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 'BUILD_SHARED_LIB'.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at extern/tidy-html5/CMakeLists.txt:145 (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.
-- *** Debug Logging is NOT enabled. For compatibility with older versions of CMake, option is clearing the
normal variable 'SUPPORT_CONSOLE_APP'.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Using /MD DYNAMIC runtime
-- *** Also building DLL library SHARED, version 5.9.14, date 2021.08.17
-- Found Bash: C:/Program Files/Git/bin/bash.exe
CMake Warning at extern/cesium-native/extern/KTX-Software/cmake/version.cmake:151 (message):
Error retrieving version from GIT tag. Falling back to 0.0.0-noversion
Call Stack (most recent call first):
extern/cesium-native/extern/KTX-Software/CMakeLists.txt:10 (include)
CMake Deprecation Warning at extern/cesium-native/extern/KTX-Software/cmake/cputypetest.cmake:4 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
extern/cesium-native/extern/KTX-Software/CMakeLists.txt:23 (include)
-- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR) (found version "")
-- Vulkan SDK not found -> skipping mkvk target (this is harmless; only needed when re-generating of vulkan headers and dfdutils is required)
CMake Error at extern/cesium-native/extern/KTX-Software/CMakeLists.txt:680 (set_property):
set_property could not find TARGET astcenc-avx2-static. Perhaps it has not
yet been created.
CMake Error at extern/cesium-native/extern/KTX-Software/CMakeLists.txt:726 (install):
install TARGETS given target "astcenc-avx2-static" which does not exist.
-- Performing Test HAVE_BUILTIN_BSWAP16
-- Performing Test HAVE_BUILTIN_BSWAP16 - Failed
-- Performing Test HAVE_BUILTIN_BSWAP32
-- Performing Test HAVE_BUILTIN_BSWAP32 - Failed
-- Performing Test HAVE_BUILTIN_BSWAP64
-- Performing Test HAVE_BUILTIN_BSWAP64 - Failed
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
-- Performing Test FLAG_HAVE_PTHREAD_PRIO_INHERIT
-- Performing Test FLAG_HAVE_PTHREAD_PRIO_INHERIT - Failed
-- Found OpenGL: opengl32
-- Performing Test HAVE_MATH_LIBRARY
-- Performing Test HAVE_MATH_LIBRARY - Success
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
-- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
TIFF is disabled when statically linking.
-- Could NOT find GIF (missing: GIF_LIBRARY GIF_INCLUDE_DIR)
-- Looking for 4 include files stdlib.h, ..., float.h
-- Looking for 4 include files stdlib.h, ..., float.h - found
-- Looking for include file dlfcn.h
-- Looking for include file dlfcn.h - not found
-- Looking for include file GLUT/glut.h
-- Looking for include file GLUT/glut.h - not found
-- Looking for include file GL/glut.h
-- Looking for include file GL/glut.h - not found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- Looking for include file OpenGL/glut.h
-- Looking for include file OpenGL/glut.h - not found
-- Looking for include file shlwapi.h
-- Looking for include file shlwapi.h - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - not found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - not found
-- Looking for include file wincodec.h
-- Looking for include file wincodec.h - found
-- Looking for include file windows.h
-- Looking for include file windows.h - found
-- Performing Test WEBP_HAVE_FLAG_SSE41
-- Performing Test WEBP_HAVE_FLAG_SSE41 - Success
-- Performing Test WEBP_HAVE_FLAG_SSE2
-- Performing Test WEBP_HAVE_FLAG_SSE2 - Success
-- Performing Test WEBP_HAVE_FLAG_MIPS32
-- Performing Test WEBP_HAVE_FLAG_MIPS32 - Failed
-- Performing Test WEBP_HAVE_FLAG_MIPS32
-- Performing Test WEBP_HAVE_FLAG_MIPS32 - Failed
-- Performing Test WEBP_HAVE_FLAG_MIPS_DSP_R2
-- Performing Test WEBP_HAVE_FLAG_MIPS_DSP_R2 - Failed
-- Performing Test WEBP_HAVE_FLAG_MIPS_DSP_R2
-- Performing Test WEBP_HAVE_FLAG_MIPS_DSP_R2 - Failed
-- Performing Test WEBP_HAVE_FLAG_NEON
-- Performing Test WEBP_HAVE_FLAG_NEON - Failed
-- Performing Test WEBP_HAVE_FLAG_NEON
-- Performing Test WEBP_HAVE_FLAG_NEON - Failed
-- Performing Test WEBP_HAVE_FLAG_MSA
-- Performing Test WEBP_HAVE_FLAG_MSA - Failed
-- Performing Test WEBP_HAVE_FLAG_MSA
-- Performing Test WEBP_HAVE_FLAG_MSA - Failed
CMake Deprecation Warning at extern/cesium-native/extern/uriparser/CMakeLists.txt:37 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- Performing Test URIPARSER_COMPILER_SUPPORTS_VISIBILITY
-- Performing Test URIPARSER_COMPILER_SUPPORTS_VISIBILITY - Failed
-- Looking for wprintf
-- Looking for wprintf - found
-- Looking for reallocarray
-- Looking for reallocarray - not found
-- ===========================================================================
--
-- Configuration
-- Build type ............. RelWithDebInfo
-- Shared libraries ....... OFF
-- Compiler flags
-- C .................... /DWIN32 /D_WINDOWS
-- C++ .................. /DWIN32 /D_WINDOWS /GR /EHsc
-- Linker flags
-- Executable ........... /machine:x64
-- Module ............... /machine:x64
-- Shared ............... /machine:x64
-- Paths
-- Prefix ............... C:/Users/ddev/Documents/vista/Packages/com.cesium.unity/Plugins/Standalone
-- qhelpgenerator .......
--
-- Features
-- Code for char * ...... ON
-- Code for wchar_t * ... ON
-- Tools ................ OFF
-- Test suite ........... OFF
-- Documentation ........ OFF
--
-- ===========================================================================
CMake Warning (dev) at extern/cesium-native/extern/draco/CMakeLists.txt:39 (include):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PythonInterp: C:/Users/ddev/AppData/Local/Programs/Python/Python312/python.exe (found version "3.12.1")
--- Running combined CXX flags test, flags: /w44018;/w44146;/w44244;/w44267;/w44804
--- Passed combined CXX flags test
CMake Deprecation Warning at extern/cesium-native/extern/meshoptimizer/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at extern/cesium-native/extern/glm/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at extern/cesium-native/extern/glm/CMakeLists.txt:2 (cmake_policy):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at extern/cesium-native/extern/asyncplusplus/CMakeLists.txt:21 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- Build spdlog: 1.10.0
-- Build type: RelWithDebInfo
-- Project 'expected_lite', package 'expected-lite' version: '0.6.2'
CMake Deprecation Warning at build-Standalone/extern/cesium-native/extern/zlib-src/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Warning (dev) at build-Standalone/extern/cesium-native/extern/zlib-src/CMakeLists.txt:4 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The following variable(s) would be set to empty:
PROJECT_VERSION
PROJECT_VERSION_MAJOR
PROJECT_VERSION_MINOR
PROJECT_VERSION_PATCH
This warning is for project developers. Use -Wno-dev to suppress it.
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of off64_t
-- Check size of off64_t - failed
-- Looking for fseeko
-- Looking for fseeko - not found
-- Looking for unistd.h
-- Looking for unistd.h - not found
-- Renaming
-- C:/Users/ddev/Documents/vista/Packages/com.cesium.unity/native~/build-Standalone/extern/cesium-native/extern/zlib-src/zconf.h
-- to 'zconf.h.included' because this file is included with zlib
-- but CMake generates it automatically in the build directory.
-- Found Doxygen: C:/Program Files/doxygen/bin/doxygen.exe (found version "1.10.0") found components: doxygen missing components: dot
-- Configuring incomplete, errors occurred!
onfiMSBuild version 17.8.3+195e7f5a3 for .NET Framework
MSBUILD : error MSB1009: Project file does not exist.
Switch: install.vcxproj
it
it```
On looking at the log I posted above you’ll see that it also gives these two errors which seem like they’re a consequence of the KTX Software not properly getting it’s tag properly and failing to retrieve these? I have done a submodule recurse on the main cesium folder so not sure why it’s only complaining about this on one machine but not another
CMake Error at extern/cesium-native/extern/KTX-Software/CMakeLists.txt:680 (set_property):
set_property could not find TARGET astcenc-avx2-static. Perhaps it has not
yet been created.
CMake Error at extern/cesium-native/extern/KTX-Software/CMakeLists.txt:726 (install):
install TARGETS given target "astcenc-avx2-static" which does not exist.
When does this happen? Are you building manually from the command-line? Or is cmake being invoked during a Unity packaging step?
I’m really not sure what would cause those errors about astcenv-avx2-static missing. It might be worth deleting the build directory completely and trying again. Especially if, for example, the submodules were missing the first time you tried to build.
Hmm seems like it might not be the KTX software issue after all? Here is the build log from the machine where it works and can see KTX software still fails on it. The main point where the logs diverge is right after the Could NOT find Vulkan part. In the log I posted above you can see it says “could not find TARGET astcen-avx2-static” while the log below proceeds just fine at that point
I also see the log from the failed build mentions “*** Also building DLL library SHARED, version 5.9.14, date 2021.08.17” right after the Using /MD Dynamic runtime line
while the build below that works says
“-- *** Only building static library STATIC, version 5.9.14, date 2021.08.17”
Could this have something to do with it? Static vs shared library build targets being set incorrectly from somewhere somehow? Where should I look to see/change this? both repos are exactly the same so I’m unsure why one would seemingly build static and the other shared
EDIT: tried building Debug through command line and it says *** Only building static library STATIC, version 5.9.14, date 2021.08.17 but still fails x(
CMake Deprecation Warning at extern/tidy-html5/CMakeLists.txt:20 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Warning (dev) at extern/tidy-html5/CMakeLists.txt:26 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The following variable(s) would be set to empty:
PROJECT_VERSION
PROJECT_VERSION_MAJOR
PROJECT_VERSION_MINOR
PROJECT_VERSION_PATCH
This warning is for project developers. Use -Wno-dev to suppress it.
-> TIDY_SO_VERSION = 59. This is an ODD (development) release.
-- *** Debug Logging is NOT enabled.
-- Using /MD DYNAMIC runtime
-- *** Only building static library STATIC, version 5.9.14, date 2021.08.17
CMake Warning at extern/cesium-native/extern/KTX-Software/cmake/version.cmake:151 (message):
Error retrieving version from GIT tag. Falling back to 0.0.0-noversion
Call Stack (most recent call first):
extern/cesium-native/extern/KTX-Software/CMakeLists.txt:10 (include)
CMake Deprecation Warning at extern/cesium-native/extern/KTX-Software/cmake/cputypetest.cmake:4 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
extern/cesium-native/extern/KTX-Software/CMakeLists.txt:23 (include)
-- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR) (found version "")
-- Vulkan SDK not found -> skipping mkvk target (this is harmless; only needed when re-generating of vulkan headers and dfdutils is required)
-- AVX2 backend - ON
-- SSE4.1 backend - OFF
-- SSE2 backend - OFF
-- NEON backend - OFF
-- NONE backend - OFF
-- NATIVE backend - OFF
-- Decompressor - OFF
-- Diagnostics - OFF
-- Unit tests - OFF
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
-- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
TIFF is disabled when statically linking.
-- Could NOT find GIF (missing: GIF_LIBRARY GIF_INCLUDE_DIR)
-- Performing Test WEBP_HAVE_FLAG_SSE41
-- Performing Test WEBP_HAVE_FLAG_SSE41 - Success
-- Performing Test WEBP_HAVE_FLAG_SSE2
-- Performing Test WEBP_HAVE_FLAG_SSE2 - Success
-- Performing Test WEBP_HAVE_FLAG_MIPS32
-- Performing Test WEBP_HAVE_FLAG_MIPS32 - Failed
-- Performing Test WEBP_HAVE_FLAG_MIPS32
-- Performing Test WEBP_HAVE_FLAG_MIPS32 - Failed
-- Performing Test WEBP_HAVE_FLAG_MIPS_DSP_R2
-- Performing Test WEBP_HAVE_FLAG_MIPS_DSP_R2 - Failed
-- Performing Test WEBP_HAVE_FLAG_MIPS_DSP_R2
-- Performing Test WEBP_HAVE_FLAG_MIPS_DSP_R2 - Failed
-- Performing Test WEBP_HAVE_FLAG_NEON
-- Performing Test WEBP_HAVE_FLAG_NEON - Failed
-- Performing Test WEBP_HAVE_FLAG_NEON
-- Performing Test WEBP_HAVE_FLAG_NEON - Failed
-- Performing Test WEBP_HAVE_FLAG_MSA
-- Performing Test WEBP_HAVE_FLAG_MSA - Failed
-- Performing Test WEBP_HAVE_FLAG_MSA
-- Performing Test WEBP_HAVE_FLAG_MSA - Failed
CMake Deprecation Warning at extern/cesium-native/extern/uriparser/CMakeLists.txt:37 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- ===========================================================================
--
-- Configuration
-- Build type ............. RelWithDebInfo
-- Shared libraries ....... OFF
-- Compiler flags
-- C .................... /DWIN32 /D_WINDOWS
-- C++ .................. /DWIN32 /D_WINDOWS /GR /EHsc
-- Linker flags
-- Executable ........... /machine:x64
-- Module ............... /machine:x64
-- Shared ............... /machine:x64
-- Paths
-- Prefix ............... C:/Users/rking/Documents/Vista/Code/Vista/Packages/com.cesium.unity/Plugins/Standalone
-- qhelpgenerator .......
--
-- Features
-- Code for char * ...... ON
-- Code for wchar_t * ... ON
-- Tools ................ OFF
-- Test suite ........... OFF
-- Documentation ........ OFF
--
-- ===========================================================================
CMake Warning (dev) at extern/cesium-native/extern/draco/CMakeLists.txt:39 (include):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)
--- Running combined CXX flags test, flags: /w44018;/w44146;/w44244;/w44267;/w44804
--- Passed combined CXX flags test
CMake Deprecation Warning at extern/cesium-native/extern/meshoptimizer/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at extern/cesium-native/extern/glm/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at extern/cesium-native/extern/glm/CMakeLists.txt:2 (cmake_policy):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at extern/cesium-native/extern/asyncplusplus/CMakeLists.txt:21 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- Build spdlog: 1.10.0
-- Build type: RelWithDebInfo
-- Project 'expected_lite', package 'expected-lite' version: '0.6.2'
CMake Deprecation Warning at build-Standalone/extern/cesium-native/extern/zlib-src/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Warning (dev) at build-Standalone/extern/cesium-native/extern/zlib-src/CMakeLists.txt:4 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The following variable(s) would be set to empty:
PROJECT_VERSION
PROJECT_VERSION_MAJOR
PROJECT_VERSION_MINOR
PROJECT_VERSION_PATCH
This warning is for project developers. Use -Wno-dev to suppress it.
-- Renaming
-- C:/Users/rking/Documents/Vista/Code/Vista/Packages/com.cesium.unity/native~/build-Standalone/extern/cesium-native/extern/zlib-src/zconf.h
-- to 'zconf.h.included' because this file is included with zlib
-- but CMake generates it automatically in the build directory.
-- Configuring done (7.9s)
-- Generating done (3.5s)
-- Build files have been written to: C:/Users/rking/Documents/Vista/Code/Vista/Packages/com.cesium.unity/native~/build-Standalone
BuiMSBuild version 17.8.1+585e09762 for .NET Framework
Checking File Globs
Async++.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\asyncplusplus\RelWithDebInfo\async++.lib
draco_animation_enc.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\draco\draco_animation_enc.dir\RelWithDebInfo\draco_animation_enc.lib
draco_animation_dec.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\draco\draco_animation_dec.dir\RelWithDebInfo\draco_animation_dec.lib
sqlite3.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\sqlite3\RelWithDebInfo\sqlite3.lib
modp_b64.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\modp_b64\RelWithDebInfo\modp_b64.lib
spdlog.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\spdlog\RelWithDebInfo\spdlog.lib
meshoptimizer.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\meshoptimizer\RelWithDebInfo\meshoptimizer.lib
zlibstatic.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\zlib\RelWithDebInfo\zlibstatic.lib
s2geometry.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\RelWithDebInfo\s2geometry.lib
tidy-static.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\tidy-html5\RelWithDebInfo\tidy_static.lib
uriparser.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\uriparser\RelWithDebInfo\uriparser.lib
tinyxml2.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\RelWithDebInfo\tinyxml2.lib
sharpyuv.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\libwebp\sharpyuv.dir\RelWithDebInfo\sharpyuv.lib
draco_compression_mesh_enc.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\draco\draco_compression_mesh_enc.dir\RelWithDebInfo\draco_compression_mesh_enc.lib
draco_animation.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\draco\draco_animation.dir\RelWithDebInfo\draco_animation.lib
draco_io.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\draco\draco_io.dir\RelWithDebInfo\draco_io.lib
webputilsdecode.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\libwebp\webputilsdecode.dir\RelWithDebInfo\webputilsdecode.lib
webpdecode.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\libwebp\webpdecode.dir\RelWithDebInfo\webpdecode.lib
webputils.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\libwebp\webputils.dir\RelWithDebInfo\webputils.lib
ktx_read.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\KTX-Software\RelWithDebInfo\ktx_read.lib
draco_compression_point_cloud_enc.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\draco\draco_compression_point_cloud_enc.dir\RelWithDebInfo\draco_compression_point_cloud_enc.lib
draco_compression_point_cloud_dec.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\draco\draco_compression_point_cloud_dec.dir\RelWithDebInfo\draco_compression_point_cloud_dec.lib
webpdspdecode.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\libwebp\webpdspdecode.dir\RelWithDebInfo\webpdspdecode.lib
webpencode.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\libwebp\webpencode.dir\RelWithDebInfo\webpencode.lib
draco_core.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\draco\draco_core.dir\RelWithDebInfo\draco_core.lib
webpdsp.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\libwebp\webpdsp.dir\RelWithDebInfo\webpdsp.lib
draco_metadata.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\draco\draco_metadata.dir\RelWithDebInfo\draco_metadata.lib
draco_mesh.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\draco\draco_mesh.dir\RelWithDebInfo\draco_mesh.lib
draco_metadata_dec.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\draco\draco_metadata_dec.dir\RelWithDebInfo\draco_metadata_dec.lib
draco_metadata_enc.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\draco\draco_metadata_enc.dir\RelWithDebInfo\draco_metadata_enc.lib
draco_point_cloud.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\draco\draco_point_cloud.dir\RelWithDebInfo\draco_point_cloud.lib
draco_points_dec.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\draco\draco_points_dec.dir\RelWithDebInfo\draco_points_dec.lib
draco_points_enc.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\draco\draco_points_enc.dir\RelWithDebInfo\draco_points_enc.lib
webpdecoder.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\libwebp\RelWithDebInfo\webpdecoder.lib
draco_compression_decode.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\draco\draco_compression_decode.dir\RelWithDebInfo\draco_compression_decode.lib
draco_compression_attributes_dec.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\draco\draco_compression_attributes_dec.dir\RelWithDebInfo\draco_compression_attributes_dec.lib
draco_compression_entropy.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\draco\draco_compression_entropy.dir\RelWithDebInfo\draco_compression_entropy.lib
draco_compression_mesh_dec.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\draco\draco_compression_mesh_dec.dir\RelWithDebInfo\draco_compression_mesh_dec.lib
draco_compression_attributes_pred_schemes_enc.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\draco\draco_compression_attributes_pred_schemes_enc.dir\RelWithDebInfo\draco_compression_attributes_pred_schemes_enc.lib
draco_compression_attributes_enc.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\draco\draco_compression_attributes_enc.dir\RelWithDebInfo\draco_compression_attributes_enc.lib
draco_compression_encode.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\draco\draco_compression_encode.dir\RelWithDebInfo\draco_compression_encode.lib
draco_attributes.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\draco\draco_attributes.dir\RelWithDebInfo\draco_attributes.lib
draco_compression_bit_coders.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\draco\draco_compression_bit_coders.dir\RelWithDebInfo\draco_compression_bit_coders.lib
webp.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\libwebp\RelWithDebInfo\webp.lib
CesiumUtility.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\CesiumUtility\RelWithDebInfo\CesiumUtility.lib
Cesium3DTiles.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\Cesium3DTiles\RelWithDebInfo\Cesium3DTiles.lib
CesiumJsonReader.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\CesiumJsonReader\RelWithDebInfo\CesiumJsonReader.lib
CesiumGltf.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\CesiumGltf\RelWithDebInfo\CesiumGltf.lib
CesiumAsync.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\CesiumAsync\RelWithDebInfo\CesiumAsync.lib
CesiumGeometry.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\CesiumGeometry\RelWithDebInfo\CesiumGeometry.lib
draco.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\extern\draco\RelWithDebInfo\draco.lib
Cesium3DTilesReader.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\Cesium3DTilesReader\RelWithDebInfo\Cesium3DTilesReader.lib
CesiumGeospatial.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\CesiumGeospatial\RelWithDebInfo\CesiumGeospatial.lib
CesiumGltfReader.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\CesiumGltfReader\RelWithDebInfo\CesiumGltfReader.lib
Cesium3DTilesSelection.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\extern\cesium-native\Cesium3DTilesSelection\RelWithDebInfo\Cesium3DTilesSelection.lib
CesiumForUnityNative-Runtime.vcxproj -> C:\Users\rking\Documents\Vista\Code\Vista\Packages\com.cesium.unity\native~\build-Standalone\Runtime\RelWithDebInfo\CesiumForUnityNative-Runtime.dll
1>
-- Install configuration: "RelWithDebInfo"
-- Up-to-date: C:/Users/rking/Documents/Vista/Code/Vista/Packages/com.cesium.unity/Plugins/Standalone/./CesiumForUnityNative-Runtime.dll
--
--
EDIT: now solved. Seems like the Cmake in the KTXSoftware was empty for some reason even after a git submodule update. Downloaded manually off the blob on this repo and added it manually to the directory and that fixed it
Sorry, for some reason I only opened this website now, I don’t remember the specific reason for this problem, but the specific reason is that the project that has been successfully cmade has changed the address, or copied all the cesium-unity-com folders to another project and compiled again, the solution is to re-pull the resources and recompile
HeyFriend, I have the same problem about “INTERFACE_INCLUDE_DIRECTORIES”. the cmake interface is below. can i ask what you mean “can be ignored”? what steps did yout take, thank you.