rive-app / rive-app/rive-runtime
Building for MinGW on Windows
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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