Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep a record on installing this on Windows #1

Open
iscas-zac opened this issue Oct 18, 2024 · 0 comments
Open

Keep a record on installing this on Windows #1

iscas-zac opened this issue Oct 18, 2024 · 0 comments

Comments

@iscas-zac
Copy link

git clone ...; cd ...; xmake (updating submodule LC to latest):

  1. XRepo is not a git repository
    (rewrite os.projectdir() to os.scriptdir())
  2. vulkan not found
    (installed vulkan and clang++)
  3. cannot open glfw
    (it seems the submodule init wrongly; remove glfw and git submodule init again)
  4. need Windows SDK > 10.21000
    (install windows sdk)
  5. 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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant