Giter Club home page Giter Club logo

Comments (12)

rdp avatar rdp commented on June 22, 2024

congrats on getting it going, you're quite probably the first person to ever use it besides myself :)
Anyway, could you try it with the latest git HEAD, and paste me your full output? gist would work... It does work for me 32 bit ubuntu VM with 32 bit compiler, I will attempt it with other combinations...

from ffmpeg-windows-build-helpers.

Selur avatar Selur commented on June 22, 2024

deleted all files, downloaded script again and now it doesn't even builg mingw,...

Would you like to include non-free (non GPL compatible) libraries, like many aac encoders
The resultant binary will not be distributable, but might be useful for in-house use. Include non-free [y/n]?n
Would you like to compile with -march=native, which can get a few percent speedup
but also makes it so you cannot distribute the binary to machines of other architecture/cpu
(also note that you should only enable this if compiling on a VM on the same box you intend to target, otherwise
it makes no sense) Use march=native? THIS IS JUST EXPERIMENTAL AND DOES NOT WORK FULLY YET--choose n typically. [y/n]?n
First we will download and compile a gcc cross-compiler (MinGW-w64).
You will be prompted with a few questions as it installs (it takes quite awhile).
Enter to continue:
wget: option requires an argument -- 'O'
Usage: wget [OPTION]... [URL]...

Try wget --help' for more options. ./cross_compile_ffmpeg.sh: line 74: mingw-w64-build-3.0.6: command not found chmod: cannot accessmingw-w64-build-3.0.6': No such file or directory
./cross_compile_ffmpeg.sh: line 76: ./mingw-w64-build-3.0.6: No such file or directory

from ffmpeg-windows-build-helpers.

rdp avatar rdp commented on June 22, 2024

oops that's embarrassing. Hopefully fixed now...I've been having some trouble building the 64 bit compiler for some reason, will look a bit more into it tomorrow...

from ffmpeg-windows-build-helpers.

rdp avatar rdp commented on June 22, 2024

ok as of 4ca5ab8 I did a test with a 64 bit Ubuntu VM and it compiled successfully. Let me know if you are still getting failures...

from ffmpeg-windows-build-helpers.

Selur avatar Selur commented on June 22, 2024

downloaded the latest version, nor the 'utvideo not found' problem is back,...

Cloning into 'ffmpeg_git.tmp'...
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-1jUDy3/pkcs11: No such file or directory
remote: Counting objects: 249710, done.
remote: Compressing objects: 100% (52501/52501), done.
remote: Total 249710 (delta 197481), reused 249001 (delta 196809)
Receiving objects: 100% (249710/249710), 67.31 MiB | 1.07 MiB/s, done.
Resolving deltas: 100% (197481/197481), done.
done downloading ffmpeg_git
configuring ffmpeg_git as $ PATH=/home/selur/ffmpeg/sandbox/mingw-w64-i686/bin:/usr/lib/libfm:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games ./configure --enable-memalign-hack --arch=x86 --enable-gpl --enable-libx264 --enable-avisynth --enable-libxvid --target-os=mingw32 --cross-prefix=/home/selur/ffmpeg/sandbox/mingw-w64-i686/bin/i686-w64-mingw32- --pkg-config=pkg-config --enable-libmp3lame --enable-version3 --enable-libvo-aacenc --enable-libvpx --extra-libs=-lws2_32 --extra-libs=-lpthread --enable-zlib --extra-libs=-lwinmm --extra-libs=-lgdi32 --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --disable-optimizations --enable-mmx --disable-postproc --enable-fontconfig --enable-libass --enable-libutvideo --enable-libopus --enable-runtime-cpudetect
Makefile:2: config.mak: No such file or directory
Makefile:48: /common.mak: No such file or directory
Makefile:91: /libavutil/Makefile: No such file or directory
Makefile:91: /library.mak: No such file or directory
Makefile:178: /doc/Makefile: No such file or directory
Makefile:179: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'. Stop.
ERROR: utvideo not found

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
[email protected] 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.

from ffmpeg-windows-build-helpers.

rdp avatar rdp commented on June 22, 2024

Odd, I was able to get it to compile successfully yesterday on a 64 bit Ubuntu VM. Does the file "libutvideo.a" exist, like sandbox/mingw-w64-i686/i686-w64-mingw32/lib/libutvideo.a? If you remove it, and remove your sandbox/win32/utvideo-11.1.0 directory and rebuild ffmpeg is the problem still present? If so could you post me your ffmpeg config.log file? Thanks! (I may be able to provide a binary that has it all built locally for you if desired...but it would be interesting to see what's the problem first :)

from ffmpeg-windows-build-helpers.

Selur avatar Selur commented on June 22, 2024

" Does the file "libutvideo.a" exist"
yes

"If you remove it, and remove your sandbox/win32/utvideo-11.1.0 directory and rebuild ffmpeg is the problem still present?"
-> I deleted the whole sandbox and build everything anew and got the problem

"If so could you post me your ffmpeg config.log file?"
-> https://gist.github.com/3745066

from ffmpeg-windows-build-helpers.

rdp avatar rdp commented on June 22, 2024

Hmm, the relevant part is
error: 'INT_PTR' does not name a type
which I used to get but thought I had fixed:
https://gist.github.com/3660825

Could you remove your sandbox/win32/utvideo-11.1.0 and run it again and post me your full output when your run it? If you wanted to do something more, you could try running the "patch" command described in the build_utvideo method from within that subdir and tell me what the output there is.
Thanks!

from ffmpeg-windows-build-helpers.

rdp avatar rdp commented on June 22, 2024

also are you running it from a directory with spaces in it?

from ffmpeg-windows-build-helpers.

Selur avatar Selur commented on June 22, 2024

nope, I run it in: /home/selur/ffmpeg

https://gist.github.com/3745659 contains the output after 1st deleting sandbox/win32/utvideo-11.1.0 and than calling the script again

"If you wanted to do something more, you could try running the "patch" command described in the build_utvideo method from within that subdir and tell me what the output there is."
AAAAAHHH I think I found the problem,.. I followed the README.md instructions:

first download it (git clone the repo, run it, or do the following in a bash script) $

wget https://raw.github.com/rdp/ffmpeg-windows-build-helpers/master/cross_compile_ffmpeg.sh -O cross_compile_ffmpeg.sh
chmod u+x cross_compile_ffmpeg.sh

./cross_compile_ffmpeg.sh

and so I never ran git clone and got no diff file ;) (I assumed the script would take care of it ;)
-> will rerun the whole thing and report if I run into other problems :)

from ffmpeg-windows-build-helpers.

Selur avatar Selur commented on June 22, 2024

-> cloning the git and not using wget solved the problem
I successfully build 64bit and 32bit ffmpeg builds!!

Thanks for the help and this nice script!

from ffmpeg-windows-build-helpers.

rdp avatar rdp commented on June 22, 2024

Ok I've attempted to make it actually work just the script. Sorry about
that and thanks for finding the fix :)
-r

On Tue, Sep 18, 2012 at 3:27 PM, Selur [email protected] wrote:

-> cloning the git and not using wget solved the problem
I successfully build 64bit and 32bit ffmpeg builds!!

Thanks for the help and this nice script!


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-8671283.

from ffmpeg-windows-build-helpers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.