-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Hi maintainers,
This time I build it on windows. Still use same customized configs:
- turn off TI_WITH_LLVM
- turn on TI_WITH_VULKAN
- turn on TI_WITH_C_API
it build ok for both taichi and taichi-aot-demos with Visual Studio 2022, but running with error TI_ERROR_ARGUMENT_NULL, as shown in the screenshot:
0. Machine Environment
- Visual Studio 2022 17.3.5
- cmake version 3.24.3
- vulkan SDK 1.3.204.1
- vulkaninfo result: vkinfo.txt
- GPU device: Intel Iris Xe Graphics

1. how I build taichi
taichi repo with latest commit
* 7a5dac064 2022-11-08 | [lang] MatrixType bug fix: Allow builtin any() and all() (#6533) (HEAD -> master, origin/master, origin/HEAD) [Yi Xu]
build script is d:/github/taichi/build.cmd with contents:
@echo off
set TAICHI_CMAKE_ARGS=-DCLANG_EXECUTABLE=D:/soft/taichi-clang-10.0.0/bin/clang++.exe -DLLVM_AS_EXECUTABLE="D:/soft/taichi-llvm-10.0.0-msvc2022/bin/llvm-as.exe" -DTI_WITH_VULKAN=ON -DTI_WITH_C_API=ON -DTI_WITH_LLVM=OFF
python setup.py install > log.txt 2>&1
The build log is:
taichi-build-log-windows-vs2022.txt
how I build taichi-aot-demo
taichi-aot-demo with latest commit
* 9994029 2022-11-08 | Fixed renderer initialization (#53) (HEAD -> master, origin/master, origin/HEAD) [PENGUINLIONG]
build script is d:/github/taichi-aot-demo/build.cmd with contents:
@echo off
set TAICHI_C_API_INSTALL_DIR=D:/github/taichi/_skbuild/win-amd64-3.9/cmake-install/c_api
cmake -S . -B build > configure-log.txt
The cmake configure log file is:
taichi-aot-demo-configure-log.txt
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
