You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
xrepo install -f "asan=true" assimp
checking for Microsoft Visual Studio (x64) version ... 2022
note: install or modify (m) these packages (pass -y to skip confirm)?
in xmake-repo:
-> assimp v5.4.2 [runtimes:"MT", asan:y]
please input: y (y/n/m)
y
=> install assimp v5.4.2 .. failed
Xmake 版本
2.9.5
操作系统版本和架构
Windows 11 23H2
描述问题
xrepo install -f "asan=true" assimp安装失败
期待的结果
启用asan并安装assimp成功
工程配置
set_policy("build.sanitizer.address", true)
add_requires("assimp")
附加信息和错误日志
xrepo install -f "asan=true" assimp
checking for Microsoft Visual Studio (x64) version ... 2022
note: install or modify (m) these packages (pass -y to skip confirm)?
in xmake-repo:
-> assimp v5.4.2 [runtimes:"MT", asan:y]
please input: y (y/n/m)
y
=> install assimp v5.4.2 .. failed
LINK : warning LNK4044: 无法识别的选项“/fsanitize=address”;已忽略
assimp-vc143-mtd.lib(Importer.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“2”不匹配值“0”(_8FCA86DA0F1149108737A7927B309A60.o 中)
assimp-vc143-mtd.lib(Importer.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MTd_StaticDebug”不匹配值“MT_StaticRelease”(_8FCA86DA0F1149108737A7927B309A60.o 中)
assimp-vc143-mtd.lib(Version.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“2”不匹配值“0”(_8FCA86DA0F1149108737A7927B309A60.o 中)
assimp-vc143-mtd.lib(Version.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MTd_StaticDebug”不匹配值“MT_StaticRelease”(_8FCA86DA0F1149108737A7927B309A60.o 中)
assimp-vc143-mtd.lib(AssertHandler.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“2”不匹配值“0”(_8FCA86DA0F1149108737A7927B309A60.o 中)
assimp-vc143-mtd.lib(AssertHandler.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MTd_StaticDebug”不匹配值“MT_StaticRelease”(_8FCA86DA0F1149108737A7927B309A60.o 中)
assimp-vc143-mtd.lib(BaseProcess.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“2”不匹配值“0”(_8FCA86DA0F1149108737A7927B309A60.o 中)
assimp-vc143-mtd.lib(BaseProcess.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MTd_StaticDebug”不匹配值“MT_StaticRelease”(_8FCA86DA0F1149108737A7927B309A60.o 中)
assimp-vc143-mtd.lib(scene.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“2”不匹配值“0”(_8FCA86DA0F1149108737A7927B309A60.o 中)
assimp-vc143-mtd.lib(scene.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MTd_StaticDebug”不匹配值“MT_StaticRelease”(_8FCA86DA0F1149108737A7927B309A60.o 中)
assimp-vc143-mtd.lib(DefaultLogger.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“2”不匹配值“0”(_8FCA86DA0F1149108737A7927B309A60.o 中)
assimp-vc143-mtd.lib(DefaultLogger.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MTd_StaticDebug”不匹配值“MT_StaticRelease”(_8FCA86DA0F1149108737A7927B309A60.o 中)
assimp-vc143-mtd.lib(ScenePreprocessor.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“2”不匹配值“0”(_8FCA86DA0F1149108737A7927B309A60.o 中)
assimp-vc143-mtd.lib(ScenePreprocessor.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MTd_StaticDebug”不匹配值“MT_StaticRelease”(_8FCA86DA0F1149108737A7927B309A60.o 中)
assimp-vc143-mtd.lib(BaseImporter.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“2”不匹配值“0”(_8FCA86DA0F1149108737A7927B309A60.o 中)
assimp-vc143-mtd.lib(BaseImporter.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MTd_StaticDebug”不匹配值“MT_StaticRelease”(_8FCA86DA0F1149108737A7927B309A60.o 中)
if you want to get more verbose errors, please see:
-> C:\Users\user\AppData\Local.xmake\cache\packages\2409\a\assimp\v5.4.2\installdir.failed\logs\install.txt
error: install failed!
error: execv(C:\Users\user\xmake\xmake.exe require -j 26 --extra={system=false,configs={asan=true}} assimp) failed(-1)
The text was updated successfully, but these errors were encountered: