Search found 35 matches

Go to advanced search

by junkie_crew
11 Oct 2007 14:31
Forum: VLC media player for Linux and friends Troubleshooting
Topic: Adding extras libraries to VLC
Replies: 15
Views: 2524

Re: Adding extras libraries to VLC

What about ffmpeg ? Did you cross compile it also for WinCE ? I have tried once, but I could not manage to do that... Would it be possible that you post this too ?
by junkie_crew
11 Oct 2007 11:01
Forum: VLC media player for Linux and friends Troubleshooting
Topic: Adding extras libraries to VLC
Replies: 15
Views: 2524

Re: Adding extras libraries to VLC

Have you managed to make it work on a real target ?

I have also compiled vlc-0.8.4 for WinCE but the executable I have got cannot run neither on an emulator nor on a smartphone...
Could you give me/us a HOWTO file with the things to modify and the compiler configurations ?

Thanks !
by junkie_crew
11 Oct 2007 10:08
Forum: VLC media player for Windows Troubleshooting
Topic: Compiling VLC with cegcc : redefinition of 'struct fd_set'
Replies: 14
Views: 1632

Re: Compiling VLC with cegcc : redefinition of 'struct fd_set'

My advice would be to use a software like SourceNavigator to browse your source code. Thanks to this tool, you will be able to understand the header's inclusion tree. There are some headers file which include others and indeed, it can drive craizy ;) But with redefinition the problem often comes fro...
by junkie_crew
10 Oct 2007 16:43
Forum: VLC media player for Windows Troubleshooting
Topic: Compiling with cegcc : undefined reference to...
Replies: 1
Views: 518

Compiling with cegcc : undefined reference to...

Almost done ! Maybe if I manage to solve this (last ?) error, I could build an available executable for WinCE :) Well, during the build of the vlc.exe file, I face these unresolved external symbols : g++ -Wsign-compare -Wall -D__stdcall= -D_OFF_T_ -D__USE_W32_SOCKETS -D__CEGCC__ -D_WIN32_WCE -DUNDER...
by junkie_crew
10 Oct 2007 16:11
Forum: VLC media player for Windows Troubleshooting
Topic: Compiling with cegcc : link problems
Replies: 1
Views: 501

Re: Compiling with cegcc : link problems

I finally found some precompiled librairies here : http://gnunet.org/hacking_win32_build.php3?xlang=French I added two or three files like libopengl32.a to the /opt/cegcc/arm-wince-cegcc/lib Then he was able to link all the object files to build vlc.exe. Unfortunately, I am facing some unresolved ex...
by junkie_crew
10 Oct 2007 13:01
Forum: VLC media player for Windows Troubleshooting
Topic: Compiling with cegcc : link problems
Replies: 1
Views: 501

Compiling with cegcc : link problems

During the final link command cimpiling vlc-0.8.6c with cegcc, some link options are not recognized by the compiler. Here are the errors I am stuck with : g++ -Wsign-compare -Wall -D__stdcall= -D_OFF_T_ -D__USE_W32_SOCKETS -D__CEGCC__ -D_WIN32_WCE -DUNDER_CE -D_UNICODE -D__cplusplus -I/opt/cegcc/arm...
by junkie_crew
10 Oct 2007 10:52
Forum: VLC media player for Windows Troubleshooting
Topic: Compiling VLC with cegcc : redefinition of 'struct fd_set'
Replies: 14
Views: 1632

Re: Compiling VLC with cegcc : redefinition of 'struct fd_set'

I have not finished to compile it yet, but as I said I decided not to include the types.h file and it goes through this... I can give you all the preprocessor definition I use to compile mine, it could help : Here are my environment settings : setenv CFLAGS "-D__stdcall= -D_OFF_T_ -D__USE_W32_S...
by junkie_crew
10 Oct 2007 10:47
Forum: VLC media player for Windows Troubleshooting
Topic: Compiling with cegcc : ar: wince_rc.o: No such file or direc
Replies: 2
Views: 326

Re: Compiling with cegcc : ar: wince_rc.o: No such file or direc

Yep, I found what was needed : The wince_rc.rc file is a ressource file, and the command supposed to deal with that kind of file is windres. So I changed my environment settings as following : setenv CFLAGS "-D__stdcall= -D_OFF_T_ -D__USE_W32_SOCKETS -D__CEGCC__ -D_WIN32_WCE -DUNDER_CE -D_UNICO...
by junkie_crew
09 Oct 2007 13:20
Forum: VLC media player for Windows Troubleshooting
Topic: Compiling with cegcc : ar: wince_rc.o: No such file or direc
Replies: 2
Views: 326

Compiling with cegcc : ar: wince_rc.o: No such file or direc

Hi, Still trying to compile vlc-0.8.6c for WinCE with cegcc, I am facing this error : : -DUNDER_CE -D__MINGW32__ -I. -I. -i wince_rc.rc -o wince_rc.o rm -f libwince.a ar cru libwince.a libwince_a-wince.o libwince_a-interface.o libwince_a-dialogs.o libwince_a-menus.o libwince_a-open.o libwince_a-play...
by junkie_crew
08 Oct 2007 16:22
Forum: VLC media player for Windows Troubleshooting
Topic: Compiling for WinCE : 'swprintf' was not declared in this sc
Replies: 2
Views: 545

Re: Compiling for WinCE : 'swprintf' was not declared in this sc

There is something I do not understand. The function swprintf is used in the misc/modules.c file. There is a compiler switch UNDER_CE, which is defined in my compiling command. I cannot tell why this function does not cause any error in this case, whereas it does in /modules/gui/wince/open.cpp Does ...
by junkie_crew
08 Oct 2007 11:05
Forum: VLC media player for Windows Troubleshooting
Topic: Compiling for WinCE : 'swprintf' was not declared in this sc
Replies: 2
Views: 545

Compiling for WinCE : 'swprintf' was not declared in this sc

Hi, I am trying to compile vlc-0.8.6c for WinCE using the cegcc compiler. I am facing this error in file open.cpp : g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -D_OFF_T_ -D_off_t=long -DSYS_MINGWCE -I../../../include `top_builddir="../../.." ../../../vlc-config --cxxflags builtin pic wince` -Ws...
by junkie_crew
05 Oct 2007 14:46
Forum: VLC media player for Windows Troubleshooting
Topic: conflicts with new declaration with 'C' linkage
Replies: 1
Views: 1862

Re: conflicts with new declaration with 'C' linkage

Alright, a solution would be to use the extern "C" command : /* $Id: tcscpy.h 21683 2006-04-21 15:15:18Z peterw $ */ #include <tchar.h> extern "C"{ _TCHAR * _tcscpy(_TCHAR * to, const _TCHAR * from) { _TCHAR *save = to; for (; (*to = *from); ++from, ++to); return save; } } It com...
by junkie_crew
05 Oct 2007 14:39
Forum: VLC media player for Windows Troubleshooting
Topic: conflicts with new declaration with 'C' linkage
Replies: 1
Views: 1862

conflicts with new declaration with 'C' linkage

Hi, I am still trying to build VCL (0.8.6c) for WinCE with cegcc. I am facing this error I cannot solve... : In file included from dialogs.cpp:38: /opt/cegcc/lib/gcc/arm-wince-cegcc/4.1.0/../../../../arm-wince-cegcc/lib/../include/w32api/shlobj.h:1483:1: warning: this is the location of the previous...
by junkie_crew
05 Oct 2007 13:16
Forum: VLC media player for Windows Troubleshooting
Topic: Compiling with cegcc : declaration does not declare anything
Replies: 5
Views: 635

Re: Compiling with cegcc : declaration does not declare anything

I finally found out what had to be changed. To solve this error, just comment the line 14 of sys/_types.h file :

Code: Select all

//typedef long _off_t; __extension__ typedef long long _off64_t;
Thank you j-b ;)
by junkie_crew
05 Oct 2007 10:58
Forum: VLC media player for Windows Troubleshooting
Topic: VLC for Pocket PC?
Replies: 1
Views: 1411

Re: VLC for Pocket PC?

I think development of VLC for WinCE/Mobile has been stopped (j-b ?). But I have tryied to compile it for 2 months, and I am close to the end, I hope. So if I reach a good status on that, I will post how to do it. You can eventually find some binairies for Pocket PC on the ftp, but I cannot tell you...
by junkie_crew
02 Oct 2007 17:39
Forum: VLC media player for Windows Troubleshooting
Topic: Compiling with cegcc : declaration does not declare anything
Replies: 5
Views: 635

Compiling with cegcc : declaration does not declare anything

Hi, I am trying to compile vlc-0.8.6c for WinCE under cegcc. I use this configuration : setenv CFLAGS "-D__stdcall= -D_OFF_T_ -D__USE_W32_SOCKETS -D__CEGCC__ -D_WIN32_WCE -DUNDER_CE -I/opt/cegcc/arm-wince-cegcc/include" setenv LD_LIBRARY_PATH /opt/cegcc/arm-wince-cegcc/lib:$LD_LIBRARY_PATH...
by junkie_crew
02 Oct 2007 14:42
Forum: VLC media player for Windows Troubleshooting
Topic: Compiling VLC with cegcc : redefinition of 'struct fd_set'
Replies: 14
Views: 1632

Re: Compiling VLC with cegcc : redefinition of 'struct fd_set'

I managed to pass through these problems, I hope what I have done is right : First of all, to avoid the problem in sap.c, I added the preprocessor definition __USE_W32_SOCKETS to the compiling command. Then, I faced other errors : In file network.h, I took the definitions of the WIN_32 switch, as fo...
by junkie_crew
02 Oct 2007 10:53
Forum: VLC media player for Windows Troubleshooting
Topic: Compiling VLC with cegcc : redefinition of 'struct fd_set'
Replies: 14
Views: 1632

Re: Compiling VLC with cegcc : redefinition of 'struct fd_set'

The problem is that even if I manage not to compile the stream_output plugin, I will have the same error compiling win32_specific.c It seems that the problem comes from the include of sys/types.h somewhere. And I think both headers (winsock[2].h and types.h) are necessary to compile those files. So ...
by junkie_crew
01 Oct 2007 17:13
Forum: VLC media player for Windows Troubleshooting
Topic: Compiling VLC with cegcc : redefinition of 'struct fd_set'
Replies: 14
Views: 1632

Re: Compiling VLC with cegcc : redefinition of 'struct fd_set'

My configure is the one following : ./configure --host=arm-wince-pe --target=arm-wince-pe --build=i686-linux --prefix=/usr/local/wince --includedir=/opt/cegcc/arm-wince-cegcc/include --includedir=/home/giraulte/vlc-0.8.6c/include --disable-sdl --disable-gtk --disable-dvdnav --disable-dvdread --disab...
by junkie_crew
01 Oct 2007 15:52
Forum: VLC media player for Windows Troubleshooting
Topic: Compiling VLC with cegcc : redefinition of 'struct fd_set'
Replies: 14
Views: 1632

Re: Compiling VLC with cegcc : redefinition of 'struct fd_set'

As I could not found where the definition was called twice, I have put the header winsock2.h at the beginning of the sap.c file. The previous error disapeared, but I have got a new one... gcc -mcpu=xscale -DHAVE_CONFIG_H -I. -I. -I.. -D_OFF_T_ -D_off_t=long -DSYS_MINGWCE -I../include `top_builddir=&...
by junkie_crew
01 Oct 2007 13:24
Forum: VLC media player for Windows Troubleshooting
Topic: Compiling VLC with cegcc : redefinition of 'struct fd_set'
Replies: 14
Views: 1632

Re: Compiling VLC with cegcc : redefinition of 'struct fd_set'

Just one question. How do I find which included header causes the redefinition ? I am quite sure that it comes from sys/types.h, but I cannot find in which file it is called...

Thanks !
by junkie_crew
01 Oct 2007 10:40
Forum: VLC media player for Windows Troubleshooting
Topic: Compiling VLC with cegcc : redefinition of 'struct fd_set'
Replies: 14
Views: 1632

Compiling VLC with cegcc : redefinition of 'struct fd_set'

Hi, I am trying to compile VLC for WinCE with cegcc. I have got all the libs and contrib and I read somewhere that cegcc was the appriopriate compiler to compile the 0.8.6c version of VLC. But this error occurs, and I cannot find how to solve it... gcc -mcpu=xscale -DHAVE_CONFIG_H -I. -I. -I.. -D_OF...
by junkie_crew
14 Sep 2007 14:11
Forum: VLC media player for Windows Troubleshooting
Topic: Unresolved external symbol compiling for WinCE
Replies: 0
Views: 358

Unresolved external symbol compiling for WinCE

Hi, I am close to succeed compiling VLC for Wince, but when I compile the vlc project on Embedded Visual C++, I still have got those two error messages : vlc.obj : error LNK2019: unresolved external symbol ___wgetmainargs referenced in function _main libvlc.lib(unicode.obj) : error LNK2019: unresolv...

Go to advanced search