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

Install zed-gstreamer on windows will get " Invalid numeric argument '/Werror=return-type' " #61

Open
2 tasks done
gluttonyOwO opened this issue Dec 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

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

When i install it with document on windows 11

git clone https://github.com/stereolabs/zed-gstreamer.git
cd zed-gstreamer
mkdir build
cd build
cmake -G "Visual Studio 16 2019" ..
cmake --build . --target INSTALL --config Release

And i will get this result
圖片

cl command error D8021Invalid numeric argument '/Werror=return-type

Steps to Reproduce

1.install it with any windows computer

Expected Result

when i remove "add_definitions(-Werror=return-type)" with all cmakelist.
it will install sussces on windows
圖片

Actual Result

圖片

cl command error D8021Invalid numeric argument '/Werror=return-type'

ZED Camera model

ZED2i

Environment

OS:windows 11
host:rog-zephyrus-g14-2024
GPU:RTX4060

Anything else?

Can you fix the issue with '/Werror=return-type' encountered in the CMakeLists with windows system?

@gluttonyOwO gluttonyOwO added the bug Something isn't working label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant