Comments (14)
So you used this to cross compile for windows, from a raspberry pi, or were
you cross compiling for raspberry pi?
On Fri, Feb 1, 2013 at 8:55 AM, Dennis Zierahn [email protected]:
Worked pretty nice.
For libxavs I had to add the "--disable-asm" option to configure.
build_libxavs() {
do_svn_checkout https://xavs.svn.sourceforge.net/svnroot/xavs/trunk xavs
cd xavs
export LDFLAGS='-lm'
generic_configure "--disable-asm" # unfortunately this using --host isn't
enough apparently...
unset LDFLAGS
do_make_install "CC=$(echo$cross_prefix)gcc AR=$ (echo $cross_prefix)ar
PREFIX=$mingw_w64_x86_64_prefix RANLIB=$(echo $cross_prefix)ranlib
STRIP=$(echo $cross-prefix)strip"
cd ..
}—
Reply to this email directly or view it on GitHubhttps://github.com//issues/3.
from ffmpeg-windows-build-helpers.
Hello Roger,
indeed I was cross compiling for windows on my RaspberryPi,
because i have no access to any other Intel linux machine
right now.
Your cross-helpers work pretty good. I appreciate this.
Cross compiling with bootstrapping the cross-compiler, which
also flawlessly worked, took about 20 hours.
The cross compiler on Raspberry had problems with some mmx instructions,
i do not recall the exact error. Anyway, setting the --disable-asm option helped
and was the only problem. Dirty patch of mine.
Cheers
Dennis
----- Original Message -----
From: Roger Pack
To: rdp/ffmpeg-windows-build-helpers
Cc: Dennis Zierahn
Sent: Friday, February 01, 2013 5:52 PM
Subject: Re: [ffmpeg-windows-build-helpers] Running this on Raspberry Pi / Debian / Wheezy (#3)
So you used this to cross compile for windows, from a raspberry pi, or were
you cross compiling for raspberry pi?
On Fri, Feb 1, 2013 at 8:55 AM, Dennis Zierahn [email protected]:
Worked pretty nice.
For libxavs I had to add the "--disable-asm" option to configure.
build_libxavs() {
do_svn_checkout https://xavs.svn.sourceforge.net/svnroot/xavs/trunk xavs
cd xavs
export LDFLAGS='-lm'
generic_configure "--disable-asm" # unfortunately this using --host isn't
enough apparently...
unset LDFLAGS
do_make_install "CC=$(echo$cross_prefix)gcc AR=$ (echo $cross_prefix)ar
PREFIX=$mingw_w64_x86_64_prefix RANLIB=$(echo $cross_prefix)ranlib
STRIP=$(echo $cross-prefix)strip"
cd ..
}—
Reply to this email directly or view it on GitHubhttps://github.com//issues/3.—
Reply to this email directly or view it on GitHub.
from ffmpeg-windows-build-helpers.
Ok could you post the exact error message so followers can find this? Then
I guess I'll close it and let people manually adjust if they run into it?
-r
On Fri, Feb 1, 2013 at 11:05 AM, Dennis Zierahn [email protected]:
Hello Roger,
indeed I was cross compiling for windows on my RaspberryPi,
because i have no access to any other Intel linux machine
right now.Your cross-helpers work pretty good. I appreciate this.
Cross compiling with bootstrapping the cross-compiler, which
also flawlessly worked, took about 20 hours.The cross compiler on Raspberry had problems with some mmx instructions,
i do not recall the exact error. Anyway, setting the --disable-asm option
helped
and was the only problem. Dirty patch of mine.Cheers
Dennis
----- Original Message -----
From: Roger Pack
To: rdp/ffmpeg-windows-build-helpers
Cc: Dennis Zierahn
Sent: Friday, February 01, 2013 5:52 PM
Subject: Re: [ffmpeg-windows-build-helpers] Running this on Raspberry Pi /
Debian / Wheezy (#3)So you used this to cross compile for windows, from a raspberry pi, or
were
you cross compiling for raspberry pi?On Fri, Feb 1, 2013 at 8:55 AM, Dennis Zierahn [email protected]:
Worked pretty nice.
For libxavs I had to add the "--disable-asm" option to configure.
build_libxavs() {
do_svn_checkout https://xavs.svn.sourceforge.net/svnroot/xavs/trunkxavs
cd xavs
export LDFLAGS='-lm'
generic_configure "--disable-asm" # unfortunately this using --host
isn't
enough apparently...
unset LDFLAGS
do_make_install "CC=$(echo$cross_prefix)gcc AR=$ (echo $cross_prefix)ar
PREFIX=$mingw_w64_x86_64_prefix RANLIB=$(echo $cross_prefix)ranlib
STRIP=$(echo $cross-prefix)strip"
cd ..
}—
Reply to this email directly or view it on GitHub<
https://github.com/rdp/ffmpeg-windows-build-helpers/issues/3>.—
Reply to this email directly or view it on GitHub.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-13006042.
from ffmpeg-windows-build-helpers.
When compiling for Win32 on a RaspberryPi with Debian Wheezy, You might
encounter the following error log and compiling terminates:
...
Found GNU assembler (GNU Binutils for Debian) 2.22
Minimum version is binutils-2.17
Your compiler can't handle inline SSSE3 asm.
If you really want to compile without asm, configure with --disable-asm.
Just add "--disable-asm" manually to the xavs configure and everything works fine.
from ffmpeg-windows-build-helpers.
awesome thanks!
from ffmpeg-windows-build-helpers.
I wonder why it says "binutils" cannot handle SSE3. Odd.
(note for followers that disabling asm might slow down the final executable
I suppose...well if they ever end up using xavs which is pretty rare I must
imagine...)
On Fri, Feb 1, 2013 at 11:28 AM, Dennis Zierahn [email protected]:
When compiling for Win32 on a RaspberryPi with Debian Wheezy, You might
encounter the following error log and compiling terminates:
...
Found GNU assembler (GNU Binutils for Debian) 2.22
Minimum version is binutils-2.17
Your compiler can't handle inline SSSE3 asm.
If you really want to compile without asm, configure with --disable-asm.Just add "--disable-asm" manually to the xavs configure and everything
works fine.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-13007034.
from ffmpeg-windows-build-helpers.
I belive, the asm sources are not correct prefixed with cross compile settings and the binutils were the native arm binutils.
from ffmpeg-windows-build-helpers.
Judging from how much support I got from this ticket: https://sourceforge.net/projects/xavs/forums/forum/551032/topic/6136352 I don't have much hope of this ever being fixed, so thanks for posting the work around instructions :)
from ffmpeg-windows-build-helpers.
I tried Your workaround which no luck.
do_make_install "CC=$(echo
Anyway, the STRIP part has a mistake, there is a hyphen in cross_prefix instead of an underscore.
I am still working on this issue. I am not getting past the configure...
from ffmpeg-windows-build-helpers.
I have debugged the xavs configure now and found the problem. It needs --cross-prefix for configure.
build_libxavs() {
do_svn_checkout https://xavs.svn.sourceforge.net/svnroot/xavs/trunk xavs
cd xavs
export LDFLAGS='-lm'
generic_configure "--cross-prefix=$cross_prefix" # unfortunately this using --host isn't enough apparently...
unset LDFLAGS
do_make_install
cd ..
}
The only caveat is, that configure prefers a local native yasm for asm compiling (no prefixing here, which is just what we need). Since i have that installed on my Raspberry Pi, it works like a charm.
I still have to check if ffmpeg.exe is finally linkable and running ok.
from ffmpeg-windows-build-helpers.
what if you use --cross-prefix and --host maybe?
Just wondering, thanks for debugging it.
-r
On Tue, Feb 19, 2013 at 12:39 AM, Dennis Zierahn
[email protected]:
I have debugged the xavs configure now and found the problem. It needs
--cross-prefix for configure.
build_libxavs() {
do_svn_checkout https://xavs.svn.sourceforge.net/svnroot/xavs/trunk xavs
cd xavs
export LDFLAGS='-lm'
generic_configure "--cross-prefix=$cross_prefix" # unfortunately this
using --host isn't enough apparently...
unset LDFLAGS
do_make_install
cd ..
}
The only caveat is, that configure prefers a local native yasm for asm
compiling (no prefixing here, which is just what we need). Since i have
that installed on my Raspberry Pi, it works like a charm.I still have to check if ffmpeg.exe is finally linkable and running ok.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-13760496.
from ffmpeg-windows-build-helpers.
Since it worked anyway, i did not try it.
from ffmpeg-windows-build-helpers.
Ok I have attempted to use your suggestions in 4d374e7 (and at least it doesn't hurt it in ubuntu so we're good there). I think using native yasm is ok as long as it calls it like "yasm -f win32" or the like. Thanks for your contribution! -r
from ffmpeg-windows-build-helpers.
see #658
from ffmpeg-windows-build-helpers.
Related Issues (20)
- Build flite failed HOT 5
- VAMP missing - All builds broken
- Request: Add libsvt_vp9 (Code Provided) HOT 2
- FFMPEG compilation is never easy
- Replace libmfx with libvpl (libmfx has security issues)
- FFMPEG 5.1.4 build issues HOT 1
- Error pathspec origin/master HOT 3
- Issue with enabling --enable-libbluray option during FFmpeg build
- Can't build n7.0 HOT 3
- Issue with x265 3.6 x86 asm optimization HOT 3
- How do i get this particular ffmpeg build with a specific filter to be compiled using this script? HOT 7
- configure: error: Xvid supports only 32/64 bit architectures HOT 2
- JPEG-XL
- "init_static_data" not a member of "AVCodec" HOT 1
- wsl 1 failures HOT 7
- qsv_av1 encoding support HOT 1
- vamp-plugin-sdk offline (with workaround) HOT 2
- harfbuzz configure error (with workaround) HOT 4
- what is name of amd h264 decoder
- eXtra-fast Essential Video Encoder (XEVE) support plan? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffmpeg-windows-build-helpers.