[FFmpeg-trac] #5546(undetermined:new): MSVC x64 build broken

FFmpeg trac at avcodec.org
Thu May 12 18:28:05 CEST 2016


#5546: MSVC x64 build broken
-------------------------------------+-------------------------------------
             Reporter:  veroorzaker  |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by veroorzaker):

 Ok thanks guys, reading this I'm thinking it's probably a user error (e.g.
 didn't know arch flags had to be specified - never did it, also never had
 problems without them though), so I'll first carefully try everything out
 with different combinations, then report back.

 Some results already:
 - start VS x64 commandline
 - cl
 Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x64
 - git clone git://source.ffmpeg.org/ffmpeg.git
 - cd ffmpeg
 - ./configure --target-os=win64 --arch=x86_64 --toolchain=msvc
 - make
 - all fine, creates x64 executable

 Then:
 - start VS x86 commandline
 - cl
 Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x86
 - make clean
 - make distclean
 - ls -l */*.o
 -rw-r--r-- 1 None None 9461 May 12 17:59 compat/strtod.o
 - ./configure --target-os=win32 --arch=x86 --toolchain=msvc
 - make
 - libavutil/adler32.o : fatal error LNK1112: module machine type 'X86'
 conflicts with target machine type 'x64'

 Try again from scratch:
 - cd ..
 - rm -Rf ffmpeg
 - git clone git://source.ffmpeg.org/ffmpeg.git
 - cd ffmpeg
 - ./configure --target-os=win32 --arch=x86 --toolchain=msvc
 - make
 - all fine, creates x86 executable

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5546#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list