Changes between Version 25 and Version 26 of CompilationGuide/MSVC


Ignore:
Timestamp:
Sep 28, 2018, 3:14:08 PM (3 weeks ago)
Author:
rolandha
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/MSVC

    v25 v26  
    7373}}} 
    7474 
     75For 64 bit builds specify target and architecture: 
     76{{{ 
     77./configure --target-os=win64 --arch=x86_64 --toolchain=msvc  
     78}}} 
     79More info in the thread here [https://trac.ffmpeg.org/ticket/5546] 
     80 
    7581or the following: 
    7682 
     
    122128This can happen if you try to build from a cloned git repository and have git configured to replace line endings in your local working copy. Be sure that you have the git option `core.autocrlf` set to `false` when cloning the git repo. 
    123129 
     1304. zlib not found: 
     131 
     132Some information can be found here [https://ffmpeg.org/platform.html#Microsoft-Visual-C_002b_002b-or-Intel-C_002b_002b-Compiler-for-Windows]. For 64 bit zlib builds run nmake with the parameters 
     133{{{ 
     134nmake -f win32/Makefile.msc AS=ml64 LOC="-DASMV -DASMINF -I." OBJA="inffasx64.obj gvmat64.obj inffas8664.obj" 
     135}}} 
     136To make sure that MSVC finds the zlib files, add the include and lib path from the Visual Studio Command Line prior to launching MSYS2: 
     137{{{ 
     138set include=%include%;[your absolute path to the zlib folder] 
     139set lib=%lib%;[your absolute path to the zlib folder] 
     140msys2_shell.cmd 
     141}}} 
     142 
    124143How to build debug version? 
    125144