doodlum / skyrim-community-shaders

SKSE core plugin for community-driven advanced graphics modifications for AE, SE and VR. Also fixes bugs and improves performance.
GNU General Public License v3.0
131 stars 39 forks source link

Cmake build error: MSB3073 The command "setlocal #189

Closed alandtse closed 6 months ago

alandtse commented 6 months ago

@FlayaN Can you double check this works when you have AUTO_PLUGIN_DEPLOYMENT but not AIO_ZIP_TO_DIST enabled?

CmakeUserPreset.json

{
  "version": 3,
  "configurePresets": [
    {
      "name": "ALL-WITH-AUTO-DEPLOYMENT",
      "cacheVariables": {
        "AUTO_PLUGIN_DEPLOYMENT": "ON",
        "ZIP_TO_DIST": "ON"
      },
      "environment": {
        "CommunityShadersOutputDir": "E:\\SteamLibrary\\steamapps\\common\\SkyrimVR/Data;E:\\SteamLibrary\\steamapps\\common\\Skyrim Special Edition/Data",
        "KickstartRT_VULKAN_SDK_CUSTOM_PATH": "G:\\VulkanSDK\\1.3.261.1"
      },
      "inherits": "ALL"
    }
  ]
}

Cmake output

PS E:\Documents\source\repos\skyrim-community-shaders> cmake --preset ALL-WITH-AUTO-DEPLOYMENT
Preset CMake variables:

  AUTO_PLUGIN_DEPLOYMENT="ON"
  BUILD_SKYRIM:BOOL="TRUE"
  CMAKE_CXX_FLAGS="/EHsc /MP /W4 /WX "
  CMAKE_MSVC_RUNTIME_LIBRARY="MultiThreaded$<$<CONFIG:Debug>:Debug>DLL"
  CMAKE_TOOLCHAIN_FILE:STRING="E:\Documents\source\repos\vcpkg/scripts/buildsystems/vcpkg.cmake"
  ENABLE_SKYRIM_AE="ON"
  ENABLE_SKYRIM_SE="ON"
  ENABLE_SKYRIM_VR="ON"
  SKSE_SUPPORT_XBYAK="ON"
  VCPKG_OVERLAY_PORTS:STRING="E:/Documents/source/repos/skyrim-community-shaders/cmake/ports/"
  VCPKG_TARGET_TRIPLET="x64-windows-static-md"
  ZIP_TO_DIST="ON"

Preset environment variables:

  CommunityShadersOutputDir="E:\SteamLibrary\steamapps\common\SkyrimVR/Data;E:\SteamLibrary\steamapps\common\Skyrim Special Edition/Data"
  KickstartRT_VULKAN_SDK_CUSTOM_PATH="G:\VulkanSDK\1.3.261.1"

-- Running vcpkg install
Detecting compiler hash for triplet x64-windows-static-md...
Detecting compiler hash for triplet x64-windows...
All requested packages are currently installed.
Total install time: 200 ns
bshoshany-thread-pool is header-only and can be used from CMake via:

    find_path(BSHOSHANY_THREAD_POOL_INCLUDE_DIRS "BS_thread_pool.hpp")
    target_include_directories(main PRIVATE ${BSHOSHANY_THREAD_POOL_INCLUDE_DIRS})

catch2 provides CMake targets:

    # this is heuristically generated, and may not be correct
    find_package(Catch2 CONFIG REQUIRED)
    target_link_libraries(main PRIVATE Catch2::Catch2 Catch2::Catch2WithMain)

clib-util is header-only and can be used from CMake via:

    find_path(CLIB_UTIL_INCLUDE_DIRS "ClibUtil/bitmasks.hpp")
    target_include_directories(main PRIVATE ${CLIB_UTIL_INCLUDE_DIRS})

cppwinrt provides CMake targets:

    find_package(cppwinrt CONFIG REQUIRED)
    target_link_libraries(main PRIVATE Microsoft::CppWinRT)

The package DirectXTex is compatible with built-in CMake targets:

    find_package(directxtex CONFIG REQUIRED)
    target_link_libraries(main PRIVATE Microsoft::DirectXTex)

The DirectX Tool Kit for DX11 package is compatible with built-in CMake targets:

    find_package(directxtk CONFIG REQUIRED)
    target_link_libraries(main PRIVATE Microsoft::DirectXTK)

eastl provides CMake targets:

    # this is heuristically generated, and may not be correct
    find_package(EASTL CONFIG REQUIRED)
    target_link_libraries(main PRIVATE EASTL)

The package fmt provides CMake targets:

    find_package(fmt CONFIG REQUIRED)
    target_link_libraries(main PRIVATE fmt::fmt)

    # Or use the header-only version
    find_package(fmt CONFIG REQUIRED)
    target_link_libraries(main PRIVATE fmt::fmt-header-only)

imgui provides CMake targets:

    # this is heuristically generated, and may not be correct
    find_package(imgui CONFIG REQUIRED)
    target_link_libraries(main PRIVATE imgui::imgui)

magic-enum provides CMake targets:

    find_package(magic_enum CONFIG REQUIRED)
    target_link_libraries(main PRIVATE magic_enum::magic_enum)

The package nlohmann-json provides CMake targets:

    find_package(nlohmann_json CONFIG REQUIRED)
    target_link_libraries(main PRIVATE nlohmann_json::nlohmann_json)

The package nlohmann-json can be configured to not provide implicit conversions via a custom triplet file:

    set(nlohmann-json_IMPLICIT_CONVERSIONS OFF)

For more information, see the docs here:

    https://json.nlohmann.me/api/macros/json_use_implicit_conversions/

pystring provides CMake targets:

    # this is heuristically generated, and may not be correct
    find_package(pystring CONFIG REQUIRED)
    target_link_libraries(main PRIVATE pystring::pystring)

rapidcsv is header-only and can be used from CMake via:

    find_path(RAPIDCSV_INCLUDE_DIRS "rapidcsv.h")
    target_include_directories(main PRIVATE ${RAPIDCSV_INCLUDE_DIRS})

The package spdlog provides CMake targets:

    find_package(spdlog CONFIG REQUIRED)
    target_link_libraries(main PRIVATE spdlog::spdlog)

    # Or use the header-only version
    find_package(spdlog CONFIG REQUIRED)
    target_link_libraries(main PRIVATE spdlog::spdlog_header_only)

xbyak provides CMake targets:

    # this is heuristically generated, and may not be correct
    find_package(xbyak CONFIG REQUIRED)
    target_link_libraries(main PRIVATE xbyak::xbyak)

-- Running vcpkg install - done
-- Selecting Windows SDK version 10.0.20348.0 to target Windows 10.0.19045.
Options:
        Auto plugin deployment: ON
        Zip to dist: ON
        AIO Zip to dist: OFF
Options:
        Enable Xbyak: ON
        Enable Skyrim SE: ON
        Enable Skyrim AE: ON
        Enable Skyrim VR: ON
        Build Tests: ON
Copying package folder with dll/pdb with all features to E:/Documents/source/repos/skyrim-community-shaders/build/aio
Copying AIO to E:\SteamLibrary\steamapps\common\SkyrimVR/Data
Copying AIO to E:\SteamLibrary\steamapps\common\Skyrim Special Edition/Data
Copying base CommunityShader into E:/Documents/source/repos/skyrim-community-shaders/build/zip.
Zipping E:/Documents/source/repos/skyrim-community-shaders/build/zip to E:/Documents/source/repos/skyrim-community-shaders/dist/CommunityShaders.7z
Zipping E:/Documents/source/repos/skyrim-community-shaders/features/Cloud Shadows to E:/Documents/source/repos/skyrim-community-shaders/dist/Cloud Shadows.7z
Zipping E:/Documents/source/repos/skyrim-community-shaders/features/Complex Parallax Materials to E:/Documents/source/repos/skyrim-community-shaders/dist/Complex Parallax Materials.7z
Zipping E:/Documents/source/repos/skyrim-community-shaders/features/Dynamic Cubemaps to E:/Documents/source/repos/skyrim-community-shaders/dist/Dynamic Cubemaps.7z
Zipping E:/Documents/source/repos/skyrim-community-shaders/features/Dynamic Cubemaps - Metals to E:/Documents/source/repos/skyrim-community-shaders/dist/Dynamic Cubemaps - Metals.7z
Zipping E:/Documents/source/repos/skyrim-community-shaders/features/Grass Lighting to E:/Documents/source/repos/skyrim-community-shaders/dist/Grass Lighting.7z
Zipping E:/Documents/source/repos/skyrim-community-shaders/features/Light Limit Fix to E:/Documents/source/repos/skyrim-community-shaders/dist/Light Limit Fix.7z
Zipping E:/Documents/source/repos/skyrim-community-shaders/features/Light Limit Fix - Candle Glow to E:/Documents/source/repos/skyrim-community-shaders/dist/Light Limit Fix - Candle Glow.7z
Zipping E:/Documents/source/repos/skyrim-community-shaders/features/Light Limit Fix Particle Lights Example to E:/Documents/source/repos/skyrim-community-shaders/dist/Light Limit Fix Particle Lights Example.7z
Zipping E:/Documents/source/repos/skyrim-community-shaders/features/Screen-Space Shadows to E:/Documents/source/repos/skyrim-community-shaders/dist/Screen-Space Shadows.7z
Zipping E:/Documents/source/repos/skyrim-community-shaders/features/Terrain Blending to E:/Documents/source/repos/skyrim-community-shaders/dist/Terrain Blending.7z
Zipping E:/Documents/source/repos/skyrim-community-shaders/features/Tree LOD Lighting to E:/Documents/source/repos/skyrim-community-shaders/dist/Tree LOD Lighting.7z
Zipping E:/Documents/source/repos/skyrim-community-shaders/features/Water Blending to E:/Documents/source/repos/skyrim-community-shaders/dist/Water Blending.7z
Zipping E:/Documents/source/repos/skyrim-community-shaders/features/Water Caustics to E:/Documents/source/repos/skyrim-community-shaders/dist/Water Caustics.7z
Zipping E:/Documents/source/repos/skyrim-community-shaders/features/Water Parallax to E:/Documents/source/repos/skyrim-community-shaders/dist/Water Parallax.7z
Zipping E:/Documents/source/repos/skyrim-community-shaders/features/Wetness Effects to E:/Documents/source/repos/skyrim-community-shaders/dist/Wetness Effects.7z
-- Configuring done (4.8s)
-- Generating done (0.2s)
-- Build files have been written to: E:/Documents/source/repos/skyrim-community-shaders/build

Having a build error now.

Severity    Code    Description Project File    Line    Suppression State   Details
Error   MSB3073 The command "setlocal
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noprofile -executionpolicy Bypass -file E:/Documents/source/repos/vcpkg/scripts/buildsystems/msbuild/applocal.ps1 -targetBinary E:/Documents/source/repos/skyrim-community-shaders/build/Release/CommunityShaders.dll -installedDir E:/Documents/source/repos/skyrim-community-shaders/build/vcpkg_installed/x64-windows-static-md/bin -OutVariable out
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
"C:\Program Files\CMake\bin\cmake.exe" -E copy_directory E:/Documents/source/repos/skyrim-community-shaders/package E:/Documents/source/repos/skyrim-community-shaders/build/aio
if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\CMake\bin\cmake.exe" -E copy E:/Documents/source/repos/skyrim-community-shaders/build/Release/CommunityShaders.dll E:/Documents/source/repos/skyrim-community-shaders/build/aio/SKSE/Plugins/
if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\CMake\bin\cmake.exe" -E copy E:/Documents/source/repos/skyrim-community-shaders/build/Release/CommunityShaders.pdb E:/Documents/source/repos/skyrim-community-shaders/build/aio/SKSE/Plugins/
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
"C:\Program Files\CMake\bin\cmake.exe" -E copy_directory "E:/Documents/source/repos/skyrim-community-shaders/features/Cloud Shadows" E:/Documents/source/repos/skyrim-community-shaders/build/aio
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
"C:\Program Files\CMake\bin\cmake.exe" -E copy_directory "E:/Documents/source/repos/skyrim-community-shaders/features/Complex Parallax Materials" E:/Documents/source/repos/skyrim-community-shaders/build/aio
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
"C:\Program Files\CMake\bin\cmake.exe" -E copy_directory "E:/Documents/source/repos/skyrim-community-shaders/features/Dynamic Cubemaps" E:/Documents/source/repos/skyrim-community-shaders/build/aio
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
"C:\Program Files\CMake\bin\cmake.exe" -E copy_directory "E:/Documents/source/repos/skyrim-community-shaders/features/Dynamic Cubemaps - Metals" E:/Documents/source/repos/skyrim-community-shaders/build/aio
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
"C:\Program Files\CMake\bin\cmake.exe" -E copy_directory "E:/Documents/source/repos/skyrim-community-shaders/features/Grass Collision" E:/Documents/source/repos/skyrim-community-shaders/build/aio
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
"C:\Program Files\CMake\bin\cmake.exe" -E copy_directory "E:/Documents/source/repos/skyrim-community-shaders/features/Grass Lighting" E:/Documents/source/repos/skyrim-community-shaders/build/aio
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
"C:\Program Files\CMake\bin\cmake.exe" -E copy_directory "E:/Documents/source/repos/skyrim-community-shaders/features/Light Limit Fix" E:/Documents/source/repos/skyrim-community-shaders/build/aio
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
"C:\Program Files\CMake\bin\cmake.exe" -E copy_directory "E:/Documents/source/repos/skyrim-community-shaders/features/Light Limit Fix - Candle Glow" E:/Documents/source/repos/skyrim-community-shaders/build/aio
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
"C:\Program Files\CMake\bin\cmake.exe" -E copy_directory "E:/Documents/source/repos/skyrim-community-shaders/features/Light Limit Fix Particle Lights Example" E:/Documents/source/repos/skyrim-community-shaders/build/aio
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
"C:\Program Files\CMake\bin\cmake.exe" -E copy_directory "E:/Documents/source/repos/skyrim-community-shaders/features/Screen-Space Shadows" E:/Documents/source/repos/skyrim-community-shaders/build/aio
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
"C:\Program Files\CMake\bin\cmake.exe" -E copy_directory "E:/Documents/source/repos/skyrim-community-shaders/features/Terrain Blending" E:/Documents/source/repos/skyrim-community-shaders/build/aio
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
"C:\Program Files\CMake\bin\cmake.exe" -E copy_directory "E:/Documents/source/repos/skyrim-community-shaders/features/Tree LOD Lighting" E:/Documents/source/repos/skyrim-community-shaders/build/aio
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
"C:\Program Files\CMake\bin\cmake.exe" -E copy_directory "E:/Documents/source/repos/skyrim-community-shaders/features/Water Blending" E:/Documents/source/repos/skyrim-community-shaders/build/aio
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
"C:\Program Files\CMake\bin\cmake.exe" -E copy_directory "E:/Documents/source/repos/skyrim-community-shaders/features/Water Caustics" E:/Documents/source/repos/skyrim-community-shaders/build/aio
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
"C:\Program Files\CMake\bin\cmake.exe" -E copy_directory "E:/Documents/source/repos/skyrim-community-shaders/features/Water Parallax" E:/Documents/source/repos/skyrim-community-shaders/build/aio
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
"C:\Program Files\CMake\bin\cmake.exe" -E copy_directory "E:/Documents/source/repos/skyrim-community-shaders/features/Wetness Effects" E:/Documents/source/repos/skyrim-community-shaders/build/aio
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
"C:\Program Files\CMake\bin\cmake.exe" -E copy_directory E:/Documents/source/repos/skyrim-community-shaders/build/aio E:\SteamLibrary\steamapps\common\SkyrimVR/Data
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
"C:\Program Files\CMake\bin\cmake.exe" -E copy_directory E:/Documents/source/repos/skyrim-community-shaders/build/aio "E:\SteamLibrary\steamapps\common\Skyrim Special Edition/Data"
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
"C:\Program Files\CMake\bin\cmake.exe" -E copy_directory E:/Documents/source/repos/skyrim-community-shaders/package E:/Documents/source/repos/skyrim-community-shaders/build/zip
if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\CMake\bin\cmake.exe" -E copy E:/Documents/source/repos/skyrim-community-shaders/build/Release/CommunityShaders.dll E:/Documents/source/repos/skyrim-community-shaders/build/zip/SKSE/Plugins/
if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\CMake\bin\cmake.exe" -E copy E:/Documents/source/repos/skyrim-community-shaders/build/Release/CommunityShaders.pdb E:/Documents/source/repos/skyrim-community-shaders/build/zip/SKSE/Plugins/
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
cd E:\Documents\source\repos\skyrim-community-shaders\build\zip
if %errorlevel% neq 0 goto :cmEnd
E:
if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\CMake\bin\cmake.exe" -E tar cf E:/Documents/source/repos/skyrim-community-shaders/dist/CommunityShaders.7z --format=7zip -- .
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
cd "E:\Documents\source\repos\skyrim-community-shaders\features\Cloud Shadows"
if %errorlevel% neq 0 goto :cmEnd
E:
if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\CMake\bin\cmake.exe" -E tar cf "E:/Documents/source/repos/skyrim-community-shaders/dist/Cloud Shadows.7z" --format=7zip -- .
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
cd "E:\Documents\source\repos\skyrim-community-shaders\features\Complex Parallax Materials"
if %errorlevel% neq 0 goto :cmEnd
E:
if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\CMake\bin\cmake.exe" -E tar cf "E:/Documents/source/repos/skyrim-community-shaders/dist/Complex Parallax Materials.7z" --format=7zip -- .
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
cd "E:\Documents\source\repos\skyrim-community-shaders\features\Dynamic Cubemaps"
if %errorlevel% neq 0 goto :cmEnd
E:
if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\CMake\bin\cmake.exe" -E tar cf "E:/Documents/source/repos/skyrim-community-shaders/dist/Dynamic Cubemaps.7z" --format=7zip -- .
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
cd "E:\Documents\source\repos\skyrim-community-shaders\features\Dynamic Cubemaps - Metals"
if %errorlevel% neq 0 goto :cmEnd
E:
if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\CMake\bin\cmake.exe" -E tar cf "E:/Documents/source/repos/skyrim-community-shaders/dist/Dynamic Cubemaps - Metals.7z" --format=7zip -- .
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
cd "E:\Documents\source\repos\skyrim-community-shaders\features\Grass Collision"
if %errorlevel% neq 0 goto :cmEnd
E:
if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\CMake\bin\cmake.exe" -E tar cf "E:/Documents/source/repos/skyrim-community-shaders/dist/Grass Collision.7z" --format=7zip -- .
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
cd "E:\Documents\source\repos\skyrim-community-shaders\features\Grass Lighting"
if %errorlevel% neq 0 goto :cmEnd
E:
if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\CMake\bin\cmake.exe" -E tar cf "E:/Documents/source/repos/skyrim-community-shaders/dist/Grass Lighting.7z" --format=7zip -- .
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
cd "E:\Documents\source\repos\skyrim-community-shaders\features\Light Limit Fix"
if %errorlevel% neq 0 goto :cmEnd
E:
if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\CMake\bin\cmake.exe" -E tar cf "E:/Documents/source/repos/skyrim-community-shaders/dist/Light Limit Fix.7z" --format=7zip -- .
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
cd "E:\Documents\source\repos\skyrim-community-shaders\features\Light Limit Fix - Candle Glow"
if %errorlevel% neq 0 goto :cmEnd
E:
if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\CMake\bin\cmake.exe" -E tar cf "E:/Documents/source/repos/skyrim-community-shaders/dist/Light Limit Fix - Candle Glow.7z" --format=7zip -- .
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
cd "E:\Documents\source\repos\skyrim-community-shaders\features\Light Limit Fix Particle Lights Example"
if %errorlevel% neq 0 goto :cmEnd
E:
if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\CMake\bin\cmake.exe" -E tar cf "E:/Documents/source/repos/skyrim-community-shaders/dist/Light Limit Fix Particle Lights Example.7z" --format=7zip -- .
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
cd "E:\Documents\source\repos\skyrim-community-shaders\features\Screen-Space Shadows"
if %errorlevel% neq 0 goto :cmEnd
E:
if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\CMake\bin\cmake.exe" -E tar cf "E:/Documents/source/repos/skyrim-community-shaders/dist/Screen-Space Shadows.7z" --format=7zip -- .
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
cd "E:\Documents\source\repos\skyrim-community-shaders\features\Terrain Blending"
if %errorlevel% neq 0 goto :cmEnd
E:
if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\CMake\bin\cmake.exe" -E tar cf "E:/Documents/source/repos/skyrim-community-shaders/dist/Terrain Blending.7z" --format=7zip -- .
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
cd "E:\Documents\source\repos\skyrim-community-shaders\features\Tree LOD Lighting"
if %errorlevel% neq 0 goto :cmEnd
E:
if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\CMake\bin\cmake.exe" -E tar cf "E:/Documents/source/repos/skyrim-community-shaders/dist/Tree LOD Lighting.7z" --format=7zip -- .
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
cd "E:\Documents\source\repos\skyrim-community-shaders\features\Water Blending"
if %errorlevel% neq 0 goto :cmEnd
E:
if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\CMake\bin\cmake.exe" -E tar cf "E:/Documents/source/repos/skyrim-community-shaders/dist/Water Blending.7z" --format=7zip -- .
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
cd "E:\Documents\source\repos\skyrim-community-shaders\features\Water Caustics"
if %errorlevel% neq 0 goto :cmEnd
E:
if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\CMake\bin\cmake.exe" -E tar cf "E:/Documents/source/repos/skyrim-community-shaders/dist/Water Caustics.7z" --format=7zip -- .
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
cd "E:\Documents\source\repos\skyrim-community-shaders\features\Water Parallax"
if %errorlevel% neq 0 goto :cmEnd
E:
if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\CMake\bin\cmake.exe" -E tar cf "E:/Documents/source/repos/skyrim-community-shaders/dist/Water Parallax.7z" --format=7zip -- .
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
setlocal
cd "E:\Documents\source\repos\skyrim-community-shaders\features\Wetness Effects"
if %errorlevel% neq 0 goto :cmEnd
E:
if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\CMake\bin\cmake.exe" -E tar cf "E:/Documents/source/repos/skyrim-community-shaders/dist/Wetness Effects.7z" --format=7zip -- .
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
:VCEnd" exited with code 1. CommunityShaders    G:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets   166     

Thanks!

Originally posted by @alandtse in https://github.com/doodlum/skyrim-community-shaders/issues/181#issuecomment-1958837144

alandtse commented 6 months ago

Hmm. Maybe it was a transient error as after flushing my cmakecache and rebooting I don't see it anymore. I did manually create the aio directory at one point. I'll close this for now.

FlayaN commented 6 months ago

@alandtse Yeah I've seen similar issues when I have skyrim running etc, I can check if this error can at least be made into a clearer error why it fails or if it can be mitigated somehow.