Opened 5 years ago
Closed 5 years ago
#8658 closed defect (needs_more_info)
Problems with MSYS2 FFmpeg Environment Setup
Reported by: | tbicim | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
When I run msys2_shell from the vs prompt cl and armasm points to correct locations however link doesn't.
How to reproduce:
open visual studio 2015 command prompt run msys2_shell.bat to open msys command prompt run which cl run which link run which armasm
Result:
$ which cl /c/Program Files (x86)/Microsoft Visual Studio 14.0/VC/BIN/x86_ARM/cl $ which link /usr/bin/link $ which armasm /c/Program Files (x86)/Microsoft Visual Studio 14.0/VC/BIN/x86_ARM/armasm
Change History (6)
follow-up: 2 comment:1 by , 5 years ago
Keywords: | MSYS2 VS removed |
---|
comment:2 by , 5 years ago
Replying to cehoyos:
Aren't you describing the issue you as user have to solve to be able to compile FFmpeg with msys or do I misunderstand?
I followed the guide on the site and I am having problems build the system.
I thought someone else might have encountered the same issue so I posted here.
comment:3 by , 5 years ago
Isn’t it sufficient to mv /usr/bin/link /usr/bin/link.bak
?
Personally, I strongly recommend to use wsl to build native Windows binaries.
follow-up: 5 comment:4 by , 5 years ago
Thats why we have compat/windows/mslink in the tree, which gets automatically used when you specify --toolchain=msvc. Not sure what guide you are following, but using --toolchain instead of overriding CC/LD manually is quite recommended.
comment:5 by , 5 years ago
Replying to heleppkes:
Thats why we have compat/windows/mslink in the tree, which gets automatically used when you specify --toolchain=msvc. Not sure what guide you are following, but using --toolchain instead of overriding CC/LD manually is quite recommended.
I followed this guide:
https://trac.ffmpeg.org/wiki/CompilationGuide/WinRT
When I invoke the configure command I get the error: unknown option "--toolchain=msvc".
comment:6 by , 5 years ago
Component: | build system → undetermined |
---|---|
Resolution: | → needs_more_info |
Status: | new → closed |
Aren't you describing the issue you as user have to solve to be able to compile FFmpeg with msys or do I misunderstand?