PDA

View Full Version : Help with compiling FFMBC


poisondeathray
24th May 2011, 17:30
I'm attempting to compile ffmbc 0.6rc6 using qyot27's guide in this thread

http://doom10.org/index.php?topic=1234

http://code.google.com/p/ffmbc/

But I am getting error

$ ./configure --enable-gpl --enable-postproc --enable-memalign-hack --enable-ru
ntime-cpudetect --enable-avisynth --extra-cflags="-U__STRICT_ANSI__"
./configure: line 255: pr: command not found
gcc is unable to create an executable file.
If gcc is a cross-compiler, use the --enable-cross-compile option.
Only do this if you know what cross compiling means.
C compiler test failed.



I tried adding --enable-cross-compile , but no luck

Apparently someone else has encountered this problem, on the ffmbc message board as well
http://groups.google.com/group/ffmbc-discuss/browse_thread/thread/26360718c8b443e2


Any ideas ?

Thanks

Chikuzen
24th May 2011, 20:47
you have to install pr to compile ffmpeg.

http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/coreutils/coreutils-5.97-3/

download coreutils-5.97-3-msys-1.0.13-ext.tar.lzma and extract it.
put all binaries into your /bin folder.

poisondeathray
24th May 2011, 21:00
you have to install pr to compile ffmpeg.

http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/coreutils/coreutils-5.97-3/

download coreutils-5.97-3-msys-1.0.13-ext.tar.lzma and extract it.
put all binaries into your /bin folder.

Thanks. How is this different than quot27's guide to use the binaries included here?
http://www.cccp-project.net/nichorai/msys.premade.2010.09.07.7z

They appear to be the same, some versions have slight differences in the date

EDIT: but it's missing pr.exe... aha


EDIT#2: So it appears to compile with the "make" and "make install" , but the binary, ffmbc.exe doesn't seem to work ?

poisondeathray
25th May 2011, 01:03
ok thanks, I think I got it working, but it works only through the Msys prompt

How do I compile a build that can work independently in the normal command prompt ?

Is this the difference between "static build" ? Would I add ?

--enable-static \
--disable-shared \
--extra-libs=-static \
--extra-cflags=--static



EDIT: yes that works.

jmac698
25th September 2011, 04:56
There are up to date binaries and build instructions here:
http://forum.doom9.org/showthread.php?goto=newpost&t=162615