Repository navigation
v0.0.6
setup.py(通过 scikit-build-core 构建后端)告诉 Python 的构建系统,它期望找到一个名为 5dchess_engine 的 C++ 扩展模块(即编译后的文件应为 5dchess_engine.so 或 5dchess_engine.pyd)。而CMakeLists.txt 使用 pybind11_add_module(engine bind.cpp) 命令,指示 pybind11 将编译后的模块命名为 engine(即生成 engine.so 或 engine.pyd)。 修改 CMakeLists.txt 文件,将 pybind11_add_module 中的模块名称从 engine 更改为 5dchess_engine,使其与 setup.py 中定义的扩展名保持一致。