[FFmpeg-devel] [PATCH] build: make out-of-tree builds bit-identical to in-tree builds
andreas.cadhalpun at googlemail.com
Sat Jan 23 14:45:41 CET 2016
On 23.01.2016 12:04, Hendrik Leppkes wrote:
> On Sat, Jan 23, 2016 at 10:41 AM, Henrik Gramner <henrik at gramner.com> wrote:
>> On Sat, Jan 23, 2016 at 10:31 AM, Andreas Cadhalpun
>> <andreas.cadhalpun at googlemail.com> wrote:
>>> Yes, I see. Apparently these use two different path notations,
>>> 'C:\path\to\file' and '/c/path/to/file', simultaneously.
>>> It seems 'pwd' uses the '/c/path/to/file' notation while make uses
>>> That seems pretty insane. ;)
>>> What command gives the current directory in 'C:\path\to\file' notation
>>> for MSVC builds?
>>> Setting DST_PATH to that for these builds should fix this problem.
>> cygpath (if it's available, which it is on MSYS2 and Cygwin at least)
>> can convert between Windows/UNIX style paths. See
>> I would opt for converting everything to UNIX-style paths instead of
>> Windows-style paths. IIRC some system had issues with the latter in
>> certain scenarios.
> The MSVC tools will not be able to understand the UNIX-style paths, so
> thats not a good choice here (and exactly where this problem comes
I've sent a patch that tries to convert it to Windows-style path instead.
It would be great if you could test if that works.
More information about the ffmpeg-devel