[FFmpeg-devel] [PATCH] build: make out-of-tree builds bit-identical to in-tree builds

Hendrik Leppkes h.leppkes at gmail.com
Sat Jan 23 12:04:55 CET 2016

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
>> 'C:\path\to\file'.
>> 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
> https://git.videolan.org/?p=x264.git;a=blob;f=tools/msvsdepend.sh
> 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

More information about the ffmpeg-devel mailing list