Skip to content

build only succeed without docs -DBUILD_DOCS=OFF #3852

@comsyspro

Description

@comsyspro

Is there an existing issue for this?

  • I have searched the existing issues

Is your issue described in the documentation?

  • I have read the documentation

Is your issue present in the latest beta/pre-release?

None

Describe the Bug

manual build on windows only succeed without docs -DBUILD_DOCS=OFF

steps done:
using latest "MSYS2 UCRT64"
installed also doxygen v 1.11.0 on windows 10
pacman -Syu

dependencies=(
"git"
"mingw-w64-ucrt-x86_64-boost" # Optional
"mingw-w64-ucrt-x86_64-cmake"
"mingw-w64-ucrt-x86_64-cppwinrt"
"mingw-w64-ucrt-x86_64-curl-winssl"
"mingw-w64-ucrt-x86_64-doxygen" # Optional, for docs... better to install official Doxygen
"mingw-w64-ucrt-x86_64-graphviz" # Optional, for docs
"mingw-w64-ucrt-x86_64-MinHook"
"mingw-w64-ucrt-x86_64-miniupnpc"
"mingw-w64-ucrt-x86_64-nlohmann-json"
"mingw-w64-ucrt-x86_64-nodejs"
"mingw-w64-ucrt-x86_64-nsis"
"mingw-w64-ucrt-x86_64-onevpl"
"mingw-w64-ucrt-x86_64-openssl"
"mingw-w64-ucrt-x86_64-opus"
"mingw-w64-ucrt-x86_64-toolchain"
)
pacman -S "${dependencies[@]}"

git clone https://github.com/lizardbyte/sunshine.git --recurse-submodules
cd sunshine
mkdir build

cmake -B build -G Ninja -S . #this will fail
cmake -B build -DBUILD_DOCS=OFF -G Ninja -S . #this is working
ninja -C build

Expected Behavior

No response

Additional Context

No response

Host Operating System

Docker

Operating System Version

Windows 10

Architecture

amd64/x86_64

Sunshine commit or version

latest

Package

Windows - installer (recommended)

GPU Type

AMD

GPU Model

RTX3070

GPU Driver/Mesa Version

latest NVIDIA

Capture Method

None

Config

Apps

Relevant log output

error building

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions