(py39) user@node01:~/taichi/build/projects/spgrid_topo_opt-master/CMakeFiles$ ti build
[T 03/14/23 16:06:38.206] [logging.cpp:Logger@67] Taichi core started. Thread ID = 40609
Loading module topo_opt
Warning: module [topo_opt] loading failed: /home/user/taichi/build/libtaichi_topo_opt.so: cannot open shared object file: No such file or directory
☯ ☯ ☯ ☯ ☯ ☯ ☯ ☯
Taichi ~~ Open Source Computer Graphics Library
☰ ☱ ☲ ☳ ☴ ☵ ☶ ☷
Running cmake...
Using C++ compiler: /usr/bin/c++
-- Detected CPU: skylake-avx512
CPU feature detection done.
Using Instruction Set Externsion: [AVX2]
Using float64 (double) precision as real
Using /home/user/anaconda3/envs/py39/bin/python3 as python executable.
Python 3.9.16
version: 3.9
include: /home/user/anaconda3/envs/py39/include/python3.9
library: /home/user/anaconda3/envs/py39/lib/libpython3.9.so
:1: DeprecationWarning:
`numpy.distutils` is deprecated since NumPy 1.23.0, as a result
of the deprecation of `distutils` itself. It will be removed for
Python >= 3.12. For older Python versions it will remain present.
It is recommended to use `setuptools < 60.0` for those Python versions.
For more details, see:
https://numpy.org/devdocs/reference/distutils_status_migration.html
numpy include: /home/user/.local/lib/python3.9/site-packages/numpy/core/include
pybind11 include: /home/user/.local/lib/python3.9/site-packages/pybind11/include;/home/user/.local/lib/python3.9/site-packages/pybind11/include
Runtimes exist.
PYTHON_LIBRARIES/home/user/anaconda3/envs/py39/lib/libpython3.9.so
---------------------------------------------------------------
Ignoring project examples. (No CMakeLists.txt.)
---------------------------------------------------------------
Adding project spgrid_topo_opt-master:
CMake Deprecation Warning at projects/spgrid_topo_opt-master/external/glfw/CMakeLists.txt:10 (cmake_policy):
The OLD behavior for policy CMP0042 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
-- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR)
-- Using X11 for window creation
Environment variable CUDA_ARCH not found. Not using CUDA.
C++ Flags: -DTC_ISE_AVX2 -std=c++14 -march=native -DGL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED -Wall -DTC_PASS_EXCEPTION_TO_PYTHON -DTC_INCLUDED -DTC_USE_DOUBLE -g
Project libraries: topo_opt
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/taichi/build
Building taichi...
Consolidate compiler generated dependencies of target glfw
[ 13%] Built target glfw
Consolidate compiler generated dependencies of target taichi_core
[ 91%] Built target taichi_core
Consolidate compiler generated dependencies of target taichi_topo_opt
make[2]: No rule to make target '../projects/spgrid_topo_opt-master/solver/libSPGridCPUSolver.so', needed by 'libtaichi_topo_opt.so'. Stop.
CMakeFiles/Makefile2:173: recipe for target 'projects/spgrid_topo_opt-master/CMakeFiles/taichi_topo_opt.dir/all' failed
make[1]: [projects/spgrid_topo_opt-master/CMakeFiles/taichi_topo_opt.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
make: *** [all] Error 2
Error: Build failed.
(py39) user@node01:~/taichi/build/projects/spgrid_topo_opt-master/CMakeFiles$ ti build [T 03/14/23 16:06:38.206] [logging.cpp:Logger@67] Taichi core started. Thread ID = 40609 Loading module topo_opt Warning: module [topo_opt] loading failed: /home/user/taichi/build/libtaichi_topo_opt.so: cannot open shared object file: No such file or directory
Taichi
~~ Open Source Computer Graphics LibraryRunning cmake... Using C++ compiler: /usr/bin/c++ -- Detected CPU: skylake-avx512
Using Instruction Set Externsion: [AVX2]
Using float64 (double) precision as real Using /home/user/anaconda3/envs/py39/bin/python3 as python executable. Python 3.9.16 version: 3.9 include: /home/user/anaconda3/envs/py39/include/python3.9 library: /home/user/anaconda3/envs/py39/lib/libpython3.9.so
-- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR) -- Using X11 for window creation Environment variable CUDA_ARCH not found. Not using CUDA.
C++ Flags: -DTC_ISE_AVX2 -std=c++14 -march=native -DGL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED -Wall -DTC_PASS_EXCEPTION_TO_PYTHON -DTC_INCLUDED -DTC_USE_DOUBLE -g Project libraries: topo_opt -- Configuring done -- Generating done -- Build files have been written to: /home/user/taichi/build Building taichi... Consolidate compiler generated dependencies of target glfw [ 13%] Built target glfw Consolidate compiler generated dependencies of target taichi_core [ 91%] Built target taichi_core Consolidate compiler generated dependencies of target taichi_topo_opt make[2]: No rule to make target '../projects/spgrid_topo_opt-master/solver/libSPGridCPUSolver.so', needed by 'libtaichi_topo_opt.so'. Stop. CMakeFiles/Makefile2:173: recipe for target 'projects/spgrid_topo_opt-master/CMakeFiles/taichi_topo_opt.dir/all' failed make[1]: [projects/spgrid_topo_opt-master/CMakeFiles/taichi_topo_opt.dir/all] Error 2 Makefile:135: recipe for target 'all' failed make: *** [all] Error 2 Error: Build failed.