Skip to content

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

@gluttonyOwO

Description

@gluttonyOwO

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions