Skip to content

Fails to compile with Visual Studio 2022 on github actions #138

@newinnovations

Description

@newinnovations

After getting mupdf-rs to compile on github windows-2019 (see issue #137), I wanted to move to windows-2022 with Visual Studio 2022.

The error I get is D:\a\gh-mupdf-rs-win\gh-mupdf-rs-win\target\release\build\mupdf-sys-ab178f59b1d58a31\out\build\source\fitz\geometry.c(391,15): error C2099: initializer is not a constant [D:\a\gh-mupdf-rs-win\gh-mupdf-rs-win\target\release\build\mupdf-sys-ab178f59b1d58a31\out\build\platform\win32\libmupdf.vcxproj]

See the same repository gh-mupdf-rs-win with the following output for win 2022: actions run.

I expected this to work as there is a commit that promises compilation with Visual Studio 2022 (pr #125). However there is no test for this in the github CI. There is only a test with windows-2019 which uses Visual Studio 2019.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions