Skip to content

Configuration error on Python 3.11.0 - No SOURCES given to target: extension_testclinic #436

Open

Description

@Andrej730

See below:

cmake -G Ninja ..\python-cmake-buildsystem\ -DCMAKE_INSTALL_PREFIX="L:\oblivion\install-python" -DBUILD_LIBPYTHON_SHARED=ON -DPYTHON_VERSION="3.11.0"
# CMake Error at cmake/Extensions.cmake:169 (add_library):
#   Cannot find source file:
# 
#     L:/Projects/Github/python-cmake-buildsystem/Python-3.11.0/Modules/_testclinic.c
# Call Stack (most recent call first):
#   cmake/extensions/CMakeLists.txt:397 (add_python_extension)
# 
# 
# CMake Error at cmake/Extensions.cmake:169 (add_library):
#   No SOURCES given to target: extension_testclinic
# Call Stack (most recent call first):
#   cmake/extensions/CMakeLists.txt:397 (add_python_extension)
# 
# 
# CMake Generate step failed.  Build files cannot be regenerated correctly.

Activity

  1. changed the title [-]Configuration error on Python 3.11.0[/-] [+]Configuration error on Python 3.11.0 - `No SOURCES given to target: extension_testclinic`[/+] on Dec 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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