set assimp_dir to the root sdk installation 文心快码 针对你的问题“assimp wasn't found correctly. set assimp_dir to the root sdk installation”,这里是一些详细的解决步骤: 确认assimp是否已经正确安装: 首先,你需要确认assimp库是否已经在你的系统上安装。如果你不确定,可以尝试在命令行中运行一些与...
使用OHOS SDK构建filament01-03 收起 参照OHOS IDE和SDK的安装方法配置好开发环境。 从github下载源码。 执行如下命令: git clone https://github.com/assimp/assimp.git 进入源码所在的目录,创建批处理文件ohos_build.cmd,内容如下: @echo off setlocal set OHOS_SDK_HOME=D:\Tools\Huawei\OHOS\SDK\9 ...
#include<assimp/Importer.hpp>#include<assimp/postprocess.h>#include<assimp/scene.h>usingnamespaceAssimp;Importer importer;// 去掉里面的点、线图元importer.SetPropertyInteger(AI_CONFIG_PP_SBP_REMOVE,aiPrimitiveType_LINE|aiPrimitiveType_POINT);autopAssimpScene=importer.ReadFile(filename.data(),aiProcess_...