Opened 5 years ago

Last modified 5 years ago

#3650 open defect

configure fails for VS2013 if environment variable 'CL' was set

Reported by: onsager Owned by:
Priority: minor Component: documentation
Version: git-master Keywords: msvc
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

Certain values for the environment variable 'CL' on Windows break MSVC-based builds.

How to reproduce:

Set CL to '/MP' (or similar arguments containing forward slashes)

On several occasions (configure and actual build) msys path conversion kicks in and mangles the environment variable into something like 'c:\mingw\msys\1.0\MP', leading to missing bogus files for compiler and linker.

Solution:

set 'CL' to '-MP' or similar. The error is not ffmpegs fault but hard to identify, and should at least be mentioned at documentation level:

https://www.ffmpeg.org/platform.html#Microsoft-Visual-C_002b_002b-or-Intel-C_002b_002b-Compiler-for-Windows


Change History (1)

comment:1 Changed 5 years ago by cehoyos

  • Component changed from build system to documentation
  • Keywords msvc added
  • Priority changed from normal to minor
  • Status changed from new to open
  • Version changed from unspecified to git-master
Note: See TracTickets for help on using tickets.