mltframework / mltframework/mlt
Build failure for mingw 32 bit
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 1.9k
- Forks
- 387
- Avg merge
- 17h 28m
- Merged PRs (30d)
- 8
Description
I have tried to compile mlt with GCC compiler targeting mingw 32 bit but it fails with this error:
FAILED: src/modules/core/CMakeFiles/mltcore.dir/transition_matte.c.obj
F:\msys64\mingw32\bin\cc.exe -DARCH_X86_64 -DUSE_SSE -Dmltcore_EXPORTS -IF:/msys64/home/x/mlt/src/modules/core/../../win
32 -IF:/msys64/home/x/mlt/src/framework/.. -mmmx -msse -msse2 -std=gnu11 -MD -MT src/modules/core/CMakeFiles/mltcore.dir
/transition_matte.c.obj -MF src\modules\core\CMakeFiles\mltcore.dir\transition_matte.c.obj.d -o src/modules/core/CMakeFi
les/mltcore.dir/transition_matte.c.obj -c F:/msys64/home/x/mlt/src/modules/core/transition_matte.c
F:/msys64/home/x/mlt/src/modules/core/transition_matte.c: In function 'copy_Y_to_A_scaled_luma_sse':
F:/msys64/home/x/mlt/src/modules/core/transition_matte.c:50:9: error: 'asm' operand has impossible constraints
50 | __asm__ volatile
| ^~~~~~~
[106/273] Building C object src/modules/core/CMakeFiles/mltcore.dir/transition_mix.c.obj
ninja: build stopped: subcommand failed.
- gcc version 12.1.0
- Target: i686-w64-mingw32
- Command:
cmake -DWINDOWS_DEPLOY=OFF -DSWIG_PYTHON=ON -B bin
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 src/modules/core/transition_matte.c at line 50 and inspect copy_Y_to_A_scaled_luma_sse, then reproduce the failure with the reported CMake command targeting i686-w64-mingw32. Compare the compiler flags and inline-assembly constraints shown in the error; done means the 32-bit MinGW build completes past this compilation step.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, cmake
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100