Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fpibbs opened this issue Jan 28, 2025 · 11 comments

Comments

@fpibbs
Copy link

fpibbs commented Jan 28, 2025

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 fpibbs changed the title UE5.4.4 - Cannot Compile Windows X64 Visual Studio 2022 UE5.4.4 - Cannot Compile Windows X64 Visual Studio 2022 UDynamicMesh.h': No such file or directory Jan 28, 2025
@irajsb
Copy link
Owner

irajsb commented Jan 28, 2025

@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

@fpibbs
Copy link
Author

fpibbs commented Jan 28, 2025

@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...

@irajsb
Copy link
Owner

irajsb commented Jan 28, 2025

79f2d58

Try this version

@fpibbs
Copy link
Author

fpibbs commented Jan 28, 2025

VS22 Compile OK, but still no luck.

Image

@902D9
Copy link
Contributor

902D9 commented Jan 29, 2025

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.

@fpibbs
Copy link
Author

fpibbs commented Jan 29, 2025

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
Copy link
Author

fpibbs commented Jan 30, 2025

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

@902D9
Copy link
Contributor

902D9 commented Jan 30, 2025

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

@fpibbs
Copy link
Author

fpibbs commented Jan 30, 2025

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

  • Geometry Plugin enabled.

Thanks!

@902D9
Copy link
Contributor

902D9 commented Jan 31, 2025

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

@irajsb
Copy link
Owner

irajsb commented Jan 31, 2025

Thank you for contributing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants