Skip to content

Build fails silently on Windows with MSYS2 UCRT64 #7

@Zzak24

Description

@Zzak24

Hello,

I am trying to build this project on Windows following your instructions, but the .exe file is not created. There are no error messages during the final 'make' step.

My Environment:

  • OS: Windows 11
  • Build Environment: MSYS2 UCRT64
  • Compiler: GCC 15.1.0

What I have tried so far:

  1. Installed dependencies: pacman -S mingw-w64-ucrt-x86_64-wxwidgets3.2-msw mingw-w64-ucrt-x86_64-protobuf
  2. Fixed several compilation errors in the source code:
    • Added #include <cstdint> to src/util/mediancut.cpp.
    • Added #include <unordered_set> to src/gui/PicrossApp.cpp.
    • Added a missing semicolon ; in src/gui/PicrossApp.cpp.
  3. Changed pkg_search_module(PROTOBUF REQUIRED protobuf-lite) to pkg_search_module(PROTOBUF REQUIRED protobuf) in CMakeLists.txt to fix a linker error.
  4. After these fixes, I ran the build using cmake -G "MinGW Makefiles" .. followed by make.

The make command completes without any errors, but ppe.exe is not generated in the build directory.

Could you please provide some advice? Thank you.

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