ruyo / VRM4U

Runtime VRM loader for UnrealEngine4
Other
1.36k stars 176 forks source link

Compile error on special edition UE4 #165

Open kylexdd opened 2 years ago

kylexdd commented 2 years ago

Hi Ruyo,

i am trying install VRM4U for special edition unreal engine and i am using 4.27.2 version. I got a error in last 2 modules. Is it matter if i using 2022 version visual studio? Thanks!

Screenshots, log

LogAximmetry: Display: UnrealBuildTool: [589/596] Module.Engine.16_of_50.cpp LogAximmetry: Display: UnrealBuildTool: [590/596] Module.Engine.28_of_50.cpp LogAximmetry: Display: UnrealBuildTool: [591/596] Module.Engine.27_of_50.cpp LogAximmetry: Display: UnrealBuildTool: [592/596] Module.Engine.10_of_50.cpp LogAximmetry: Display: UnrealBuildTool: [593/596] UE4-Engine.lib LogAximmetry: Display: UnrealBuildTool: Creating library C:\Program Files\Epic Games\UE_4.27\Engine\Intermediate\Build\Win64\UE4\Development\Engine\UE4-Engine.lib and object C:\Program Files\Epic Games\UE_4.27\Engine\Intermediate\Build\Win64\UE4\Development\Engine\UE4-Engine.exp LogAximmetry: Display: UnrealBuildTool: [594/596] UE4-VRM4ULoader.dll LogAximmetry: Display: UnrealBuildTool: Creating library C:\Program Files\Epic Games\UE_4.27\Engine\Plugins\Marketplace\VRM4U\Intermediate\Build\Win64\UE4\Development\VRM4ULoader\UE4-VRM4ULoader.suppressed.lib and object C:\Program Files\Epic Games\UE_4.27\Engine\Plugins\Marketplace\VRM4U\Intermediate\Build\Win64\UE4\Development\VRM4ULoader\UE4-VRM4ULoa der.suppressed.exp LogAximmetry: Display: UnrealBuildTool: Module.VRM4ULoader.cpp.obj : error LNK2019: unresolved external symbol "public: void __cdecl FSkeletalMeshLODRenderData::InitResources(bool,int,class TArray<class UMorphTarget ,class TSizedDefaultAllocator<32> > &,class USkeletalMesh )" (?InitResources@FSkeletalMeshLODRenderData@@QEAAX_NHAEAV?$TArray@PEAVUMorphTarg et@@V?$TSizedDefaultAllocator@$0CA@@@@@PEAVUSkeletalMesh@@@Z) referenced in function "public: bool __cdecl VRMConverter::ConvertModel(class UVrmAssetListObject *)" (?ConvertModel@VRMConverter@@QEAA_NPEAVUVrmAssetListObject@@@Z) LogAximmetry: Display: UnrealBuildTool: C:\Program Files\Epic Games\UE_4.27\Engine\Plugins\Marketplace\VRM4U\Binaries\Win64\UE4-VRM4ULoader.dll : fatal error LNK1120: 1 unresolved externals LogAximmetry: Display: UnrealBuildTool: [595/596] UE4-VRM4U.dll LogAximmetry: Display: UnrealBuildTool: Creating library C:\Program Files\Epic Games\UE_4.27\Engine\Plugins\Marketplace\VRM4U\Intermediate\Build\Win64\UE4\Development\VRM4U\UE4-VRM4U.suppressed.lib and object C:\Program Files\Epic Games\UE_4.27\Engine\Plugins\Marketplace\VRM4U\Intermediate\Build\Win64\UE4\Development\VRM4U\UE4-VRM4U.suppressed.exp LogAximmetry: Error: Could not build VRM4U. This plugin will not be installed. (UnrealBuildTool exited with 6.) LogAximmetry: Display: Plugin installation complete. Some plugins could not be installed.

UnrealEngine Version: UE4.27.2

Additional context Here the link about the special edition UE install third party plugin https://aximmetry.com/learn/tutorials/for-aximmetry-de-users/how-to-install-third-party-code-plugins-for-unreal-editor-for-aximmetry/

ruyo commented 2 years ago

Hi.

If you want to build VRM4U, please refer to the following document It is recommended to place it under the project folder because it is difficult to support problems when placed under Engine. I have been able to build it with no problems. Please check with the unmodified engine source when testing.

https://ruyo-github-io.translate.goog/VRM4U/03_exe/?_x_tr_sl=ja&_x_tr_tl=en&_x_tr_hl=ja