window 编译tengine

参考官网:Tengine/compile_visual_studio.md at tengine-lite · OAID/Tengine (github.com)

cmake 参考ncnn 博客编译

打开 "x64 Native Tools Command Prompt for VS 201x:

  

cd /d X:/your/downloaded/Tengine

mkdir  build 

cd build

::cmake.exe -G "Visual Studio 16 2019" -A x64 -DTENGINE_OPENMP=OFF ..

cmake.exe --build . --parallel %NUMBER_OF_PROCESSORS%

cmake.exe --build . --target install

  

 

posted @ 2022-08-01 15:35  刘文华  阅读(250)  评论(0编辑  收藏  举报