[FFmpeg-devel] [PATCH] build: make out-of-tree builds bit-identical to in-tree builds
Henrik Gramner
henrik at gramner.com
Sat Jan 23 10:41:16 CET 2016
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.
More information about the ffmpeg-devel
mailing list