SeriousCache / UABE

Asset Bundle Extractor
3.61k stars 467 forks source link

Fail to build #644

Open sahlaysta opened 1 year ago

sahlaysta commented 1 year ago

Fail to build on Visual Studio 2022

I try to build this: https://github.com/SeriousCache/UABE/tree/78ee37ef5da83a2eec607fb7a3f3ab16731c19e4 (UABE 3.0 beta 1)

the error

Build step for ispc_compiler_binaries failed: 1

How to fix?

sahlaysta commented 1 year ago

I got it to build. I had to put #include optional and #include format in some places and replace format_to with vformat_to in some places.

MarGabor commented 1 year ago

Doesn't build for me, either.

Bundle Extractor/CMakeLists.txt:34 > (-) add_subdirectory (TexToolWrap)

Bundle Extractor/Plugins/CMakeLists.txt:3 > (-) add_subdirectory (AudioClip)

FileContextInfo.h > #include \<optional> AssetPluginUtil.h > #include \<optional>

AssetViewModifyDialog.h > #include \<format> Win32TaskStatusTracker.h > #include \<format>

AssetPluginUtil.cpp:686 > (-) std::format_to(std::back_inserter(lineBuf), "\u{:04u}", strValue[i]); (+) std::vformat_to(std::back_inserter(lineBuf), "\u{:04u}", std::make_format_args(strValue[i]));

Mesh.cpp:808, 817, 984, 993 > (-) std::format_to(...); (+) std::vformat_to(..., ..., std::make_format_args(..., ..., ...));

Errors left: AssimpMesh.cpp:295, 296 > aiAnimMesh has no member mName. I can only guess that it was meant to be "pAiMesh->mName".

Thus, I still can't build it. Any suggestions?