Skip to content

Compilation failures --python=39 or 310 #1050

@luc-j-bourhis

Description

@luc-j-bourhis

In an empty directory, python .\boostrap.py --builder cctbx --python=39 --use-conda --nproc 10 fails with

...\modules\boost\libs\python\src\numpy\dtype.cpp(101): error C2039: 'elsize': is not a member of '_PyArray_Descr'
...\conda_base\lib\site-packages\numpy\_core\include\numpy\ndarraytypes.h(618): note: see declaration of '_PyArray_Descr'

With --python=310, it's

...\modules\boost\libs\python\src\exec.cpp(109): error C3861: '_Py_fopen': identifier not found

This was with Visual Studio 2022 but it is not relevant I don't think: the problem is that the version of Boost at https://github.com/cctbx/boost.git is far too old.

What am I missing here?!?

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