Autodesk / Aurora

Real-time GPU path tracing with an OpenUSD Hydra render delegate
Apache License 2.0
506 stars 31 forks source link

CMake error - Windows 10 #24

Closed cgrigstd closed 1 year ago

cgrigstd commented 1 year ago

CMake Error at C:/Program Files/CMake/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find Slang (missing: Slang_INCLUDE_DIRS Slang_LIBRARIES) Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE) Scripts/cmake/modules/FindSlang.cmake:51 (find_package_handle_standard_args) Libraries/Aurora/CMakeLists.txt:37 (find_package)

I'm using this command to make the build cmake -G "Visual Studio 16 2019" -A x64 . -S . -B Build -D EXTERNALS_ROOT=E:\AuroraExternals

Lucas3Dspain commented 1 year ago

If you don't mind me asking, how did you fix it? I had the same issue.

cgrigstd commented 1 year ago

Hello! @Lucas3Dspain.

Shure! The slang was not the source of the problem in fact I changed the version of libpng repo and it works, it has been downloaded and compiled

Originally they are using PNG_URL = "https://github.com/glennrp/libpng/archive/refs/tags/v1.6.29.tar.gz"

I am currently using this version: "https://github.com/glennrp/libpng/archive/refs/tags/v1.6.35.tar.gz" (in my case I am using Windows 10) You're going to put that link in the PNG_URL variable. This variable remains in installExternals.py

Here you can see it on the screenshot image

That fix my problen on the installation externals stage.