Changes between Version 25 and Version 26 of CompilationGuide/MSVC
- Timestamp:
- Sep 28, 2018, 3:14:08 PM (5 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CompilationGuide/MSVC
v25 v26 73 73 }}} 74 74 75 For 64 bit builds specify target and architecture: 76 {{{ 77 ./configure --target-os=win64 --arch=x86_64 --toolchain=msvc 78 }}} 79 More info in the thread here [https://trac.ffmpeg.org/ticket/5546] 80 75 81 or the following: 76 82 … … 122 128 This 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. 123 129 130 4. zlib not found: 131 132 Some 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 {{{ 134 nmake -f win32/Makefile.msc AS=ml64 LOC="-DASMV -DASMINF -I." OBJA="inffasx64.obj gvmat64.obj inffas8664.obj" 135 }}} 136 To 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 {{{ 138 set include=%include%;[your absolute path to the zlib folder] 139 set lib=%lib%;[your absolute path to the zlib folder] 140 msys2_shell.cmd 141 }}} 142 124 143 How to build debug version? 125 144