Erik van Pienbroek wrote: > Op dinsdag 16-01-2007 om 18:11 uur [tijdzone +0000], schreef Cool_Zer0: > >> Well... >> Since I'm running out of time I have done one thing... >> I've generated static libraries of ffmpeg and add them on my Visual C++ >> project... Then when I build I get a lot of linking problems... To solve >> that I've copied all the .a's present on the lib folder of CeGcc and add >> them too to my project... >> >> It now compiles and links... >> > > Hi, > > As for as I know isn't it possible to combine CeGCC's .a files > with .lib's created by Visual C++. The right way (tm) should > be to create a .DLL with CeGCC (based on a .def file which > describes all the exported functions). With the .def file you > can create a .lib which can be used by Visual C++ by using > the 'lib.exe' program (which is part of Visual C++) > > You mentioned that you already had succeeded in creating > a .DLL with CeGCC. Did you also see the exported functions > with the Dependency Walker ? > >
FFMpeg is prepared to create the dll's... It is also prepared to call the "lib.exe" of VC++ and it even create the .def files... Since I don't have CeGcc on Windows what I do is copy the files *.def to Windows and then call my self the lib.exe.. Something like: lib /machine:arm /def:avutil-49.def (ffmpeg keeps calling with /machine:i386 but I think that is with "arm" the right choice... don't you?) (I don't know if it's the right sintax because I'm not near the development computer now)... FFMpeg also creates the .lib's that is suppose to call the .dll's functions... If I use that .lib's to link it all works fine until the part that I want to run the application... It keeps saying that my application is not a valid PocketPC application... I don't know if is something wrong with the DLL's or some problem of mine... It a bit hard to debug only with a "... is not a valid PocketPC application.". If you want I can publish the .dll's generated, the .lib's generated, the .def's generated and even the .h needed by ffmpeg so that you can test.. I helped on anything? Thanks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Cegcc-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cegcc-devel
