UE4_Assimp icon indicating copy to clipboard operation
UE4_Assimp copied to clipboard

UE5.4.4 - Cannot Compile Windows X64 Visual Studio 2022 UDynamicMesh.h': No such file or directory

Open fpibbs opened this issue 10 months ago • 11 comments

Here the error When I compile in VS22, X64:

  • Cannot open include file: 'GeometryFramework/Public/UDynamicMesh.h': No such file or directory

  • The command "K:\DEV\UE_5.4\Engine\Build\BatchFiles\Rebuild.bat AssimpCppEditor Win64 Development -Project="C:\Users\fcapp\Desktop\AssimpCpp\AssimpCpp.uproject" -WaitMutex -FromMsBuild -architecture=x64" exited with code -1.

How to solve?

UE5.4.4 VS22

fpibbs avatar Jan 28 '25 13:01 fpibbs

@902D9 This is for you. If GeometryFramework is a plugin maybe we need to add it to .uplugin dependencies ?

@fpibbs if you are in a rush you can switch git to a version to prior to DynamcMesh system or enable GeometryFramework if its a plugin

irajsb avatar Jan 28 '25 15:01 irajsb

@902D9 This is for you. If GeometryFramework is a plugin maybe we need to add it to .uplugin dependencies ?

@fpibbs if you are in a rush you can switch git to a version to prior to DynamcMesh system or enable GeometryFramework if its a plugin

Unfortunately it continues errors...

fpibbs avatar Jan 28 '25 15:01 fpibbs

https://github.com/irajsb/UE4_Assimp/commit/79f2d5833e0b2fc1498018797598d41346c8b3e5

Try this version

irajsb avatar Jan 28 '25 16:01 irajsb

VS22 Compile OK, but still no luck.

Image

fpibbs avatar Jan 28 '25 16:01 fpibbs

Image You can temporarily fix this problem by modifying the header of this file Source/UE_Assimp/Private/AIMesh.cpp to look like this: #include "UDynamicMesh.h"

Sorry for this, because it is Chinese New Year and I don't have much time to solve this problem right away. But I will find time to test the compatibility of various versions of UE in the next few days.

By the way, Happy Chinese New Year.

902D9 avatar Jan 29 '25 05:01 902D9

Image You can temporarily fix this problem by modifying the header of this file Source/UE_Assimp/Private/AIMesh.cpp to look like this: #include "UDynamicMesh.h"

Sorry for this, because it is Chinese New Year and I don't have much time to solve this problem right away. But I will find time to test the compatibility of various versions of UE in the next few days.

By the way, Happy Chinese New Year.

Thanks for your precious support. Basically my idea is to implement the IFC data workflow for AR Applications we're building internally for the Winter Olympics Engineering projects. I'd obviously love to quote your work if it can fit and should be useful for our scope and you. More than this we'll probably be presenting at next unreal fest if epic accept the project showcase. So please let me know as we can test the new versions. Best!

fpibbs avatar Jan 29 '25 07:01 fpibbs

Image You can temporarily fix this problem by modifying the header of this file Source/UE_Assimp/Private/AIMesh.cpp to look like this: #include "UDynamicMesh.h"

Sorry for this, because it is Chinese New Year and I don't have much time to solve this problem right away. But I will find time to test the compatibility of various versions of UE in the next few days.

By the way, Happy Chinese New Year.

Unfortunately the problem persists once modified

You can temporarily fix this problem by modifying the header of this file Source/UE_Assimp/Private/AIMesh.cpp to look like this: #include "UDynamicMesh.h"

non è possibile aprire il file di input 'C:\Users%user%\Desktop\TestAssimp\Plugins\UE4_Assimp\Source\ThirdParty\UE_AssimpLibrary\assimp\lib\Release\assimp.lib'

Cannot find Release\assimp.lib

fpibbs avatar Jan 30 '25 11:01 fpibbs

Have you compiled any third-party libraries? Here are the steps: How To Build

You need to install CMake.

If you package it for Windows platform, you need to copy assimp.dll from the compiled result to ProjectName\Binaries\Win64 directory before running it.

Image

#40 This is an automatic way to copy files

902D9 avatar Jan 30 '25 11:01 902D9

Ok, Compiled Release of Assimp, Unreal 5.4.4 ok and working:

  • Geometry Plugin enabled.

Thanks!

fpibbs avatar Jan 30 '25 13:01 fpibbs

#43 @irajsb Already checked and compiled with versions 5.0 to 5.5

902D9 avatar Jan 31 '25 12:01 902D9

Thank you for contributing

irajsb avatar Jan 31 '25 12:01 irajsb