pybind / pybind/pybind11

[BUG]: Build hangs on VS2019

Open
#3,963 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

triage
Dominant language
C++
Stars
18k
Forks
2.3k
Avg merge
5d 17h
Merged PRs (30d)
10

Description

Required prerequisites
Problem description

Builds hangs on Windows/Visual Studio 2019 on this step:
Building Custom Rule ..3rd_party/pybind11/tests/test_cmake_build/installed_target/CMakeLists.txt

Reproducible example code

Just download the latest build and run
mkdir build
cd build
cmake ..
cmake --build . --config Release --target check

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the hang on Windows with Visual Studio 2019 using the reported mkdir, cmake .., and cmake --build . --config Release --target check commands. Start by inspecting 3rd_party/pybind11/tests/test_cmake_build/installed_target/CMakeLists.txt and the surrounding build output. Done means the check target completes instead of hanging.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.