Opened 8 years ago

Last modified 8 years ago

#3650 open defect

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

Reported by: Michael 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 by Carl Eugen Hoyos, 8 years ago

Component: build systemdocumentation
Keywords: msvc added
Priority: normalminor
Status: newopen
Version: unspecifiedgit-master
Note: See TracTickets for help on using tickets.