yuanming-hu / spgrid_topo_opt

Narrow-Band Topology Optimization on a Sparsely Populated Grid, ACM Transactions on Graphics (SIGGRAPH Asia 2018)
185 stars 37 forks source link

I try to build topo_opt on ubuntu16.04, I can't find libtaichi_topo_opt.so,what's gong on ? #22

Closed jlxy11 closed 1 year ago

jlxy11 commented 1 year ago

(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


-- 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.