Luca Barbato wrote: > Cool_Zer0 wrote: >> I don't have any libm inside that folder... But I have the libm of my >> standard GCC... >> I'm using the cross-compiler available on VLC: >> http://download.videolan.org/pub/testing/wince/ > > build one yourself it shouldn't _that_ hard. > >> >> I've been searching on google but I can't find other cross compiler >> for Windows CE... Do you know of any useful link? > > gcc is perfectly fine, just find the instructions on how to deploy it > or use a distribution providing it... > >> >> By the way.. Do you think that with cross-compiling I can compile >> FFMpeg and use the .lib on Visual C++ projects? > > as usual, if you use an ide that can understand msvc project files and > uses gcc to compile and link you'll be fine, otherwise you may have to > experience any sort of pain because of the nonstandard C compiler > provided by microsoft. > > lu > Looks like I've been able to compile FFMpeg with the correct "arm-wince-cegcc". My configure looks like this: # ./configure --cross-compile --cross-prefix=/usr/ppc/arm-wince-cegcc/bin/ --arch=armv4l --enable-memalign-hack --disable-ipv6 --prefix=/usr/local/wince --log=yes --disable-encoders --disable-decoders --disable-parsers --disable-muxers --disable-demuxers --enable-parser=h263 --enable-encoder=h263 --enable-decoder=h263 --enable-muxer=h263 --enable-demuxer=h263 --disable-ffserver --disable-ffplay --disable-ffmpeg --disable-network Not I want to have the libavformat.lib and libavcodec.lib and to do that I add this tags "--enable-shared --disable-static". Result: (...) make[1]: Entering directory `/root/ffmpeg/libavformat' /usr/ppc/arm-wince-cegcc/bin/gcc -shared -Wl,-soname,libavformat.so.51 -Wl,--warn-common -Wl,--as-needed -Wl,-rpath-link,"/root/ffmpeg"/libavcodec -Wl,-rpath-link,"/root/ffmpeg"/libavformat -Wl,-rpath-link,"/root/ffmpeg"/libavutil -o libavformat.so.51 utils.o cutils.o os_support.o allformats.o framehook.o avio.o aviobuf.o file.o raw.o -L"/root/ffmpeg"/libavutil -lavutil -lavcodec -L"/root/ffmpeg"/libavcodec -lm Info: resolving __ctype_ptr by linking to __imp___ctype_ptr (auto-import) /root/ffmpeg/libavcodec/libavcodec.a(utils.o): In function `init_crcs': /root/ffmpeg/libavcodec/utils.c:1187: undefined reference to `av_crc_init' /root/ffmpeg/libavcodec/utils.c:1188: undefined reference to `av_crc_init' /root/ffmpeg/libavcodec/utils.c:1189: undefined reference to `av_crc_init' /root/ffmpeg/libavcodec/libavcodec.a(utils.o): In function `av_fast_realloc': /root/ffmpeg/libavcodec/utils.c:72: undefined reference to `av_crc04C11DB7' /root/ffmpeg/libavcodec/utils.c:72: undefined reference to `av_crc8005' /root/ffmpeg/libavcodec/utils.c:72: undefined reference to `av_crc07' collect2: ld returned 1 exit status make[1]: *** [libavformat.so.51] Error 1 make[1]: Leaving directory `/root/ffmpeg/libavformat' make: *** [lib] Error 2 Any expert knows why I'm getting this error? Thanks
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4