On Win11, when configuring this project with CMake, I get this error:
CMake Error at C:/Program Files/CMake/share/cmake-4.3/Modules/FindPackageHandleStandardArgs.cmake:290 (message):
Could NOT find KTX (missing: KTX_INCLUDE_DIR KTX_LIBRARY)
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-4.3/Modules/FindPackageHandleStandardArgs.cmake:654 (_FPHSA_FAILURE_MESSAGE)
CMake/FindKTX.cmake:55 (find_package_handle_standard_args)
CMakeLists.txt:20 (find_package)
The reason is, that in attachments\CMake\FindKTX.cmake, find_path on line 28 and find_library on line 40 don't find what they're looking for, even though I have the KTX software installed.
Then, find_package_handle_standard_args on line 55 emits that error.
A local resolution to that problem could be to set the environment variable KTX_DIR accordingly.
Or one could add the default installation path used by the KTX-Software installer, like $ENV{ProgramFiles}/KTX-Software/include and $ENV{ProgramFiles}/KTX-Software/lib.
On Win11, when configuring this project with CMake, I get this error:
The reason is, that in
attachments\CMake\FindKTX.cmake,find_pathon line 28 andfind_libraryon line 40 don't find what they're looking for, even though I have the KTX software installed.Then,
find_package_handle_standard_argson line 55 emits that error.A local resolution to that problem could be to set the environment variable
KTX_DIRaccordingly.Or one could add the default installation path used by the KTX-Software installer, like
$ENV{ProgramFiles}/KTX-Software/includeand$ENV{ProgramFiles}/KTX-Software/lib.