Skip to content

Build errors with ARM64 on Windows #1859

@num3ric

Description

@num3ric
cmake -S . -B build -G "Visual Studio 17 2022"^
    -A ARM64^
    -DBUILD_SHARED_LIBS=ON^
    -DOCIO_BUILD_STATIC=OFF^
    -DOCIO_BUILD_TRUELIGHT=OFF^
    -DOCIO_BUILD_APPS=OFF^
    -DOCIO_BUILD_GPU_TESTS=OFF^
    -DOCIO_BUILD_NUKE=OFF^
    -DOCIO_BUILD_DOCS=OFF^
    -DOCIO_BUILD_TESTS=OFF^
    -DOCIO_BUILD_PYGLUE=OFF^
    -DOCIO_BUILD_JNIGLUE=OFF^
    -DOCIO_STATIC_JNIGLUE=OFF^
    -DOCIO_USE_BOOST_PTR=OFF^
    -DOCIO_PYGLUE_LINK=OFF^
    -DOCIO_BUILD_PYTHON=OFF^
    -DCMAKE_INSTALL_PREFIX:PATH=.\install

cmake --build build --config Release --target INSTALL

yields the following build errors:

OpenColorIO-2.3.0\src\OpenColorIO\CPUInfo.cpp(40,12): error C3861: '_xg
etbv': identifier not found
OpenColorIO-2.3.0\src\OpenColorIO\CPUInfo.cpp(52,5): error C3861: '__cp
uid': identifier not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    Build IssueIssues related to build or environment problems on any platform.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions