-
Notifications
You must be signed in to change notification settings - Fork 0
Description
git clone ...; cd ...; xmake
(updating submodule LC to latest):
- XRepo is not a git repository
(rewriteos.projectdir()
toos.scriptdir()
) - vulkan not found
(installed vulkan and clang++) - cannot open glfw
(it seems the submodule init wrongly; remove glfw andgit submodule init
again) - need Windows SDK > 10.21000
(install windows sdk) - cannot open input file 'nvrtc_static.lib' / cannot open 'cuda.h'
set_config("cuda_backend", false)
xmake run demo cpu
6) backend 'cpu' is not installed
set_config("cpu_backend", true)
xmake
7) unknown target(lc-ir) for lc-backend-cpu.deps!
set_config("enable_ir", true)
8) Could not find clang. Please set LUISA_CLANG_PATH to the path of clang++ executable
$env:LUISA_CLANG_PATH="D:\Programs\Scoop\apps\llvm\current\bin\clang++.exe"
9) Could not find LLVM. Please set LUISA_LLVM_PATH to the path of LLVM-C.dll
$env:LUISA_LLVM_PATH="D:\Programs\Scoop\apps\llvm\18.1.8\bin\LLVM-C.dll"
xmake run demo cpu
10) where is the color.png
?
(under build/windows/x64/release)
install VSCode extension clangd codelldb
11) red-underlined header files
(ctrl+shift+P; xmake updateIntellisense; ctrl+shift+P; clangd restart server)
xmake run demo dx
12) [error] D3D12 call 'D3D12CreateDevice( adapter.Get(), D3D_FEATURE_LEVEL_12_1, IID_PPV_ARGS(device.GetAddressOf()))' failed with error DXGI_ERROR_UNSUPPORTED (code = -2005270524).
(modify Device.cpp
to select Intel card)