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

ZEDSamples could not be compiled. Try rebuilding from source manually. #48

Open
2 tasks done
samuelsuen1220 opened this issue Dec 23, 2024 · 3 comments
Open
2 tasks done

Comments

@samuelsuen1220
Copy link

Preliminary Checks

  • This issue is not a duplicate. Before opening a new issue, please search existing issues.
  • This issue is not a question, feature request, or anything other than a bug report directly related to this project.

Description

I cannot open the project even though i have followed the instruction step by step.
I constantly get the error from Unreal saying that Zed Samples could not be compiled.
I tried to build the whole project from visual studio.

Get and error saying:

The command ""C:\Program Files\Epic Games\UE_5.4\Engine\Build\BatchFiles\Build.bat" ZEDSamplesEditor Win64 Development -Project="C:\Unreal_Project\zed-UE5-4.2.0\ZEDSamples.uproject" -WaitMutex -FromMsBuild -architecture=x64" exited with code 8.

Can someone please help?

I am using Unreal Engine 5.4.4 with Zed sdk 4.1.4.
My cuda version is 12.1.66.

Steps to Reproduce

1 Clone this repository
2. Right click on the ZEDSamples.uproject and select generate project file
3. open ZedSamples.sln with visual studio.
4. Build the solution and get the error: The command ""C:\Program Files\Epic Games\UE_5.4\Engine\Build\BatchFiles\Build.bat" ZEDSamplesEditor Win64 Development -Project="C:\Unreal_Project\zed-UE5-4.2.0\ZEDSamples.uproject" -WaitMutex -FromMsBuild -architecture=x64" exited with code 8.
5. Try to open ZEDSamples.uproject
6. Get the error:
The following modules are missing or built with a different engine version:

ZEDSamples
Stereolabs
ZED
SpatialMapping
SpatialMappingEditor
ZEDEditor
EnvironmentalLighting

Would you like to rebuild them now?

  1. Click yes
  2. Get the error: ZEDSamples could not be compiled. Try rebuilding from source manually.

...

Expected Result

Opening the project successfully with Unreal.

Actual Result

Getting error message

ZED Camera model

ZED2i

Environment

Window 11
Unreal Engine 5.4.4 
Zed SDK 4.1.4.
Cuda version is 12.1.66.

Anything else?

No response

@Bvallon-sl
Copy link
Collaborator

Hi,

Can you share the logs/errors you have during the step 4 ?

It should have more that what you added in your message.

Thanks.

@samuelsuen1220
Copy link
Author

It works magically when i try it again today.
My guess is that visual studio 2022 has been updated and there are some changes that have been made.
Yet, I am not 100% sure.

@samuelsuen1220
Copy link
Author

When i try to build with another version (ZED Plugin for UE5.3 v4.1)

It gives the following error:

The command ""C:\Program Files\Epic Games\UE_5.3\Engine\Build\BatchFiles\Build.bat" ZEDSamplesEditor Win64 Development -Project="C:\Samuel_Project\Unreal_Project\zed-UE5-4.1\ZEDSamples.uproject" -WaitMutex -FromMsBuild" exited with code 6.

Number of parameters supplied in the logging message template do not match the number of named placeholders (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2017)

Possible null reference argument for parameter 'other' in 'void HashSet.UnionWith(IEnumerable other)'.

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

No branches or pull requests

2 participants