> 
> Radu Poenaru wrote:
> > Hello !
> >
> >
> >
> > I have managed to compile FFmpeg using mingw32ce under cygwin. I get
> a
> > lot of warning on deprecated functions, but the .so file gets build
> in
> > the end.
> >
> >
> 
> What the heck is everyone doing, that they all need FFmpeg?
> (Just curious).


I need to play a video on my application. Boss wants me to do it "for all
plaforms" ?!?!?!??


> >
> >
> >
> > This is the config I am using:
> >
> >
> >
> > ./configure --cross-compile
> > --cross-prefix=/opt/mingw32ce/arm-wince-mingw32ce/bin/  --arch=arm4l
> >  --target-os=WinCE --enable-small --disable-mmx \
> >
> > --disable-network --disable-ipv6 --disable-ffmpeg --disable-ffserver
> > --disable-ffplay --disable-vhook --disable-encoders --disable-muxers
> > --disable-static --enable-shared\
> >
> > --enable-memalign-hack
> >
> 
> Did you take a look at the patch I posted a few weeks ago?  I've made
> a few config tweaks that you may need too.  You'll have to look, since
> I have a very short gold-fish like memory :)


If you are reffering to this one (
http://www.mail-archive.com/cegcc-devel@lists.sourceforge.net/msg00583.html
) then I did. With some modifications, because FFmpeg has a diferent
configure now, etc. 

That's how I was able to compile it in the first place.


> >
> >
> > I then run make on libavformat,libavcodec and libavutil ,and it
> produces
> > 3 respective libav*.so files.  I was expecting DLL's to be produced,
> so
> > I DID thought that was strange.
> >
> 
> IIRC, You should get .dlls.  Something is not being picked up right in
> your build.


There was a problem with the paramters in the config.mak file, I sorted this
our and I now get 2 beautifull files :a .dll and a .def

 
> 
> >
> >
> > Anyway, I deploy those files to my WinCE device and rename them as
> .dll
> > (am I stupid ? ) , but when I attempt to open them using
> >
> 
> Are you? :)
>
> >
> >
> > hDLL = LoadLibrary(_T("libavcodec-51.dll"));
> >
> >
> >
> > the function returns null and the output specifies an error:
> >
> >
> >
> > ERROR: function @ Ordinal 2245892 missing in Module 'coredll.dll'
> >
> > !!! Please Check your SYSGEN variable !!!
> >
> 
> Do you have any idea where that output is being done
> in the code?
> 
> > The number after the Ordinal does differ from lib to lib and from
> > compile to compile.. I just dunno..
> 
> Use the source Luke.  What is the function the code is trying to load
> that is at ordinal xxxx ?


A bit more updates on this one: I am able to load one of the smaller Dlls
(avutil.dll), and both avutil.dll and avcodec.dll are read and interpreted
by Depends.exe, which would suggest to me they are both properly formatted
as a DLL.

Only thing I can imagine (I am very new to all this) is that avcodec.dll
uses some function from coredll.dll that is not present in the coredll.dll
on my portable device. Could it be like a simple version mismatch? Can I get
the coredll.dll that mingw32ce expects to use? And copy that in my app
folder? Would that work, and where could I get that file?


As for the "function the code is trying to load at ordinal xxxx" I have no
ideea how to get that.  Debugger does not step into LoadLibrary, and I don't
have debug info on the DLL created with mingw32ce... , or do I ?

> >
> >
> >
> > I'd appreciate any help !
> >
> 
> Press F1 :)  Sorry, couldn't resist - Back from vacation mood.
> 
> Cheers,
> Pedro Alves


Kind regards,
 Rdau Poenaru


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to