rive-app / rive-app/rive-runtime

Building for MinGW on Windows

Open
#25 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1.2k
Forks
121
PR merge metrics
No merged PRs in 30d

Description

Hello, I would like to build the rive runtime for MinGW.
Running premake5 gmake2 in the build directory works fine.
A problem arrises when running mingw32-make from mysys2 mingw64. Log:

==== Building rive_harfbuzz (debug) ====
Creating windows/cache/obj/debug/debug/rive_harfbuzz
gsubgpos-context.cc
...
world_transform_component.cpp
Creating windows/bin/debug
Linking rive
C:\msys64\mingw64\bin\ar.exe: wi: No such file or directory
mingw32-make[1]: *** [rive.make:1003: windows/bin/debug/rive.lib] Error 1
mingw32-make: *** [Makefile:54: rive] Error 2

If anyone has faced this issue before and found a solution please let me know!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the build directory by reproducing premake5 gmake2 followed by mingw32-make under MSYS2 mingw64. Inspect the generated rive.make rule near line 1003 and the ar.exe invocation shown in the log. Done means the Rive runtime builds successfully for MinGW without the reported archive error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.