You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Hello StereoLabs Devs,
I am currently working with the ZED Plugin in Unreal Engine 5.4.
When trying to package my project with the Development configuration, I noticed some errors linked to some source files of the ZED Plugin preventing the packaging to succeed. To be sure that it wasn't something in my project, I reproduced the steps on a fresh clone from the main branch of this repo, and I still had the error.
After investigating the errors, I looked in two header files (Plugins/Stereolabs/Source/Stereolabs/Private/Threading/StereolabsMeasureRunnable.h) and (Plugins/Stereolabs/Source/Stereolabs/Private/Threading/StereolabsAIDetectionRunnable.h).
From my understanding, the class ESlErrorCode is used but apparently not included.
With some help from my IDE's suggestions, I found the declaration of this class in Plugins/Stereolabs/Source/Stereolabs/Public/Core/StereolabsBaseTypes.h, and including this header file in StereolabsMeasureRunnable.h and StereolabsAIDetectionRunnable.h solved the issue (the build when packaging the project succeeds)
I thought it was weird because these errors do not happen when simply building the Editor, only when packaging the project.
I am using the body tracking examples which are working perfectly fine when building the editor.
I did look into previous issues and found this one (#41), that then led me to this forum postwhere an issue in these files was already discussed. Unfortunately, user KenTYLeung ended up successfully build their project without indicating what fixes they had applied.
My final conclusion is that I don't exactly know where this bug is coming from, and adding the includes fixed it for me. However, I have very limited knowledge of the ZED Plugin code base, so I am not sure that this fix should be merged into main at some point, maybe something else is causing this.
Steps to Reproduce
Clone the main branch of the repo
Generate solution files, build the solution (Development Editor) (no errors at this point)
When UE opens up, package the project for Windows with the Development Binary Configuration
The errors I mentioned above happen
The build fails
Expected Result
The build should succeed when packaging the project
Actual Result
The build fails (see my comment above for details)
Preliminary Checks
Description
Hello StereoLabs Devs,
I am currently working with the ZED Plugin in Unreal Engine 5.4.
When trying to package my project with the Development configuration, I noticed some errors linked to some source files of the ZED Plugin preventing the packaging to succeed. To be sure that it wasn't something in my project, I reproduced the steps on a fresh clone from the main branch of this repo, and I still had the error.
Here is the complete build log : UBA-ZEDSamples-Win64-Development.txt
The errors I identified were the following ones:
After investigating the errors, I looked in two header files (
Plugins/Stereolabs/Source/Stereolabs/Private/Threading/StereolabsMeasureRunnable.h
) and (Plugins/Stereolabs/Source/Stereolabs/Private/Threading/StereolabsAIDetectionRunnable.h
).From my understanding, the class ESlErrorCode is used but apparently not included.
With some help from my IDE's suggestions, I found the declaration of this class in
Plugins/Stereolabs/Source/Stereolabs/Public/Core/StereolabsBaseTypes.h
, and including this header file in StereolabsMeasureRunnable.h and StereolabsAIDetectionRunnable.h solved the issue (the build when packaging the project succeeds)I thought it was weird because these errors do not happen when simply building the Editor, only when packaging the project.
I am using the body tracking examples which are working perfectly fine when building the editor.
I did look into previous issues and found this one (#41), that then led me to this forum post where an issue in these files was already discussed. Unfortunately, user KenTYLeung ended up successfully build their project without indicating what fixes they had applied.
My final conclusion is that I don't exactly know where this bug is coming from, and adding the includes fixed it for me. However, I have very limited knowledge of the ZED Plugin code base, so I am not sure that this fix should be merged into main at some point, maybe something else is causing this.
Steps to Reproduce
main
branch of the repoExpected Result
The build should succeed when packaging the project
Actual Result
The build fails (see my comment above for details)
ZED Camera model
ZED2i
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: