Problem in FFMPEG 1.1
Hi, I am trying to compile ffmpeg 1.1 with: ./configure --toolchain=msvc I have followed the instruction at: https://ffmpeg.org/platform.html#Microsoft-Visual-C_002b_002b but after that command: Simone@Simone-PC /c/Jobs/ffmpeg-1.1 $ ./configure toolchain=msvc c99wrap cl is unable to create an executable file. If c99wrap cl is a cross-compiler, use the --enable-cross-compile option. Only do this if you know what cross compiling means. C compiler test failed. If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "config.log" produced by configure as this will help solving the problem. Simone@Simone-PC /c/Jobs/ffmpeg-1.1 $ in attachment the "config.log" file.... Thanks in advance Simone
Simone Cercignani <simonec77 <at> gmail.com> writes:
BEGIN /tmp/ffconf.SArScMTJ.c 1 int main(void){ return 0; } END /tmp/ffconf.SArScMTJ.c c99wrap cl -nologo -D_USE_MATH_DEFINES -Dinline=__inline -FIstdlib.h -Dstrtoll=_strtoi64 -c -Fo /tmp/ffconf.STVYlRnc.o /tmp/ffconf.SArScMTJ.c ffconf.SArScMTJ.c ffconf.STVYlRnc.o_converted.c c99wrap link -o /tmp/ffconf.KIETZgvw.exe /tmp/ffconf.STVYlRnc.o link: invalid option -- o Try `link --help' for more information.
The last line looks suspicious. If you type "link" on the (msvc) console, how does the output look like? Carl Eugen
Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:
Simone Cercignani <simonec77 <at> gmail.com> writes:
BEGIN /tmp/ffconf.SArScMTJ.c 1 int main(void){ return 0; } END /tmp/ffconf.SArScMTJ.c c99wrap cl -nologo -D_USE_MATH_DEFINES -Dinline=__inline -FIstdlib.h -Dstrtoll=_strtoi64 -c -Fo /tmp/ffconf.STVYlRnc.o /tmp/ffconf.SArScMTJ.c ffconf.SArScMTJ.c ffconf.STVYlRnc.o_converted.c c99wrap link -o /tmp/ffconf.KIETZgvw.exe /tmp/ffconf.STVYlRnc.o link: invalid option -- o Try `link --help' for more information.
The last line looks suspicious. If you type "link" on the (msvc) console, how does the output look like?
Carl Eugen
Note to this: It is possible that coreutils’ link.exe conflicts with MSVC’s linker. You can find out by running which link to see which link.exe you are using. If it is located at /bin/link.exe, then you have the wrong one in your PATH. Either move or remove that copy, or make sure MSVC’s link.exe takes precedence in your PATH over coreutils’. So, just remove usr/bin/link.exe and you'll be fine Mehdi
participants (3)
-
Carl Eugen Hoyos -
Mehdi Saeedi -
Simone Cercignani