[vlc] How to build VLC 0.8.0 under Windows CE platform?

Faustina Chan siuchi_fchan at hotmail.com
Thu Nov 18 06:11:57 CET 2004


Hi all,

Can someone teach me how to build VLC 0.8.0 under Windows CE platform?  I'm 
using the project workspace vlc.vcw under directory vlc-0.8.0\evc.  I got 
the following error when building vlc.exe with WCE ARMV4 configuration.

--------------------Configuration: vlc - Win32 (WCE ARMV4) 
Debug--------------------
Linking...
vlc.obj : error LNK2019: unresolved external symbol VLC_CleanUp referenced 
in function WinMain
vlc.obj : error LNK2019: unresolved external symbol VLC_Die referenced in 
function WinMain
vlc.obj : error LNK2019: unresolved external symbol VLC_AddIntf referenced 
in function WinMain
vlc.obj : error LNK2019: unresolved external symbol VLC_Play referenced in 
function WinMain
vlc.obj : error LNK2019: unresolved external symbol VLC_Destroy referenced 
in function WinMain
vlc.obj : error LNK2019: unresolved external symbol VLC_Init referenced in 
function WinMain
vlc.obj : error LNK2019: unresolved external symbol VLC_Create referenced in 
function WinMain
vlc.obj : error LNK2019: unresolved external symbol VLC_Version referenced 
in function WinMain
ARMV4Dbg/vlc.exe : fatal error LNK1120: 8 unresolved externals
Error executing link.exe.

vlc.exe - 9 error(s), 0 warning(s)


I also have difficulty to build plugin_access_mms, plugin_ipv4, plugin_ts 
and plugin_vout_directx projects. Are they needed for Windows CE platform?

THanks a lot.



--------------------Configuration: plugin_access_mms - Win32 (WCE ARMV4) 
Debug--------------------
Compiling...
asf.c
buffer.c
mms.c
mmsh.c
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\access\mms\mmsh.c(269) : 
warning C4018: '<' : signed/unsigned mismatch
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\access\mms\mmsh.c(274) : 
warning C4018: '<' : signed/unsigned mismatch
mmstu.c
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\access\mms\mmstu.c(395) : 
warning C4018: '<' : signed/unsigned mismatch
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\access\mms\mmstu.c(1307) : 
warning C4018: '<=' : signed/unsigned mismatch
Linking...
   Creating library ARMV4Dbg/plugin_access_mms.lib and object 
ARMV4Dbg/plugin_access_mms.exp
mmstu.obj : error LNK2019: unresolved external symbol inet_ntoa referenced 
in function MMSOpen
mmstu.obj : error LNK2019: unresolved external symbol getsockname referenced 
in function MMSOpen
mmstu.obj : error LNK2019: unresolved external symbol send referenced in 
function mms_CommandSend
ARMV4Dbg/plugin_access_mms.dll : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.

plugin_access_mms.dll - 4 error(s), 4 warning(s)

--------------------Configuration: plugin_ipv4 - Win32 (WCE ARMV4) 
Debug--------------------
Linking...
   Creating library ARMV4Dbg/plugin_ipv4.lib and object 
ARMV4Dbg/plugin_ipv4.exp
ipv4.obj : error LNK2019: unresolved external symbol connect referenced in 
function OpenUDP
ipv4.obj : error LNK2019: unresolved external symbol bind referenced in 
function OpenUDP
ipv4.obj : error LNK2019: unresolved external symbol getsockopt referenced 
in function OpenUDP
ipv4.obj : error LNK2019: unresolved external symbol setsockopt referenced 
in function OpenUDP
ipv4.obj : error LNK2019: unresolved external symbol socket referenced in 
function OpenUDP
ipv4.obj : error LNK2019: unresolved external symbol gethostbyname 
referenced in function BuildAddr
ipv4.obj : error LNK2019: unresolved external symbol inet_addr referenced in 
function BuildAddr
ipv4.obj : error LNK2019: unresolved external symbol htons referenced in 
function BuildAddr
ipv4.obj : error LNK2019: unresolved external symbol select referenced in 
function OpenTCP
ipv4.obj : error LNK2019: unresolved external symbol __WSAFDIsSet referenced 
in function OpenTCP
ipv4.obj : error LNK2019: unresolved external symbol ioctlsocket referenced 
in function SocketTCP
ipv4.obj : error LNK2019: unresolved external symbol listen referenced in 
function ListenTCP
ARMV4Dbg/plugin_ipv4.dll : fatal error LNK1120: 12 unresolved externals
Error executing link.exe.

plugin_ipv4.dll - 13 error(s), 0 warning(s)

--------------------Configuration: plugin_ts - Win32 (WCE ARMV4) 
Debug--------------------
Compiling...
ts.c
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\demux\ts.c(46) : fatal 
error C1083: Cannot open include file: 'dvbpsi.h': No such file or directory
Error executing clarm.exe.

plugin_ts.dll - 1 error(s), 0 warning(s)

--------------------Configuration: plugin_vout_directx - Win32 (WCE ARMV4) 
Debug--------------------
Compiling...
directx.c
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\directx.c(49) 
: fatal error C1083: Cannot open include file: 'multimon.h': No such file or 
directory
events.c
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(108) 
: warning C4133: 'function' : incompatible types - from 'char [9]' to 'const 
unsigned short *'
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(113) 
: warning C4133: 'function' : incompatible types - from 'char [24]' to 
'const unsigned short *'
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(113) 
: warning C4113: 'int (__cdecl *)()' differs in parameter lists from 
'unsigned long (__cdecl *)(unsigned long )'
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(159) 
: error C2065: 'WM_NCMOUSEMOVE' : undeclared identifier
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(159) 
: error C2051: case expression not constant
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(306) 
: warning C4133: 'function' : incompatible types - from 'char [42]' to 
'const unsigned short *'
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(309) 
: warning C4133: 'function' : incompatible types - from 'char [34]' to 
'const unsigned short *'
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(311) 
: warning C4133: 'function' : incompatible types - from 'char [34]' to 
'const unsigned short *'
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(316) 
: warning C4133: 'function' : incompatible types - from 'char *' to 'const 
unsigned short *'
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(361) 
: error C2065: 'WNDCLASSEX' : undeclared identifier
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(361) 
: error C2146: syntax error : missing ';' before identifier 'wc'
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(361) 
: error C2065: 'wc' : undeclared identifier
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(362) 
: error C2275: 'HICON' : illegal use of this type as an expression
        c:\program files\windows ce tools\wce420\pocket pc 
2003\include\armv4\windef.h(274) : see declaration of 'HICON'
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(362) 
: error C2146: syntax error : missing ';' before identifier 'vlc_icon'
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(362) 
: error C2065: 'vlc_icon' : undeclared identifier
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(362) 
: warning C4047: '=' : 'int ' differs in levels of indirection from 'void *'
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(363) 
: error C2143: syntax error : missing ';' before 'type'
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(364) 
: error C2143: syntax error : missing ';' before 'type'
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(382) 
: warning C4047: '=' : 'int ' differs in levels of indirection from 'void *'
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(383) 
: error C2065: 'vlc_path' : undeclared identifier
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(383) 
: warning C4047: 'function' : 'unsigned short *' differs in levels of 
indirection from 'int '
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(383) 
: warning C4024: 'GetModuleFileNameW' : different types for formal and 
actual parameter 2
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(385) 
: warning C4013: 'ExtractIcon' undefined; assuming extern returning int
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(389) 
: error C2224: left of '.cbSize' must have struct/union type
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(390) 
: error C2224: left of '.style' must have struct/union type
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(390) 
: error C2065: 'CS_OWNDC' : undeclared identifier
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(391) 
: error C2224: left of '.lpfnWndProc' must have struct/union type
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(392) 
: error C2224: left of '.cbClsExtra' must have struct/union type
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(393) 
: error C2224: left of '.cbWndExtra' must have struct/union type
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(394) 
: error C2224: left of '.hInstance' must have struct/union type
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(395) 
: error C2224: left of '.hIcon' must have struct/union type
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(396) 
: error C2224: left of '.hCursor' must have struct/union type
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(397) 
: error C2224: left of '.hbrBackground' must have struct/union type
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(398) 
: error C2224: left of '.lpszMenuName' must have struct/union type
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(399) 
: error C2224: left of '.lpszClassName' must have struct/union type
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(400) 
: error C2224: left of '.hIconSm' must have struct/union type
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(403) 
: warning C4013: 'RegisterClassEx' undefined; assuming extern returning int
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(407) 
: warning C4047: 'function' : 'struct HICON__ *' differs in levels of 
indirection from 'int '
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(407) 
: warning C4024: 'DestroyIcon' : different types for formal and actual 
parameter 1
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(411) 
: warning C4133: 'function' : incompatible types - from 'char [12]' to 
'const unsigned short *'
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(419) 
: error C2224: left of '.lpszClassName' must have struct/union type
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(419) 
: error C2224: left of '.hIconSm' must have struct/union type
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(419) 
: error C2224: left of '.hIcon' must have struct/union type
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(426) 
: warning C4133: 'function' : incompatible types - from 'char [18]' to 
'const unsigned short *'
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(441) 
: warning C4013: 'AdjustWindowRect' undefined; assuming extern returning int
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(441) 
: error C2065: 'WS_OVERLAPPEDWINDOW' : undeclared identifier
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(443) 
: error C2065: 'i_style' : undeclared identifier
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(444) 
: error C2065: 'i_stylex' : undeclared identifier
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(454) 
: error C2065: 'WS_EX_NOPARENTNOTIFY' : undeclared identifier
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(455) 
: warning C4133: 'function' : incompatible types - from 'char [12]' to 
'const unsigned short *'
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(456) 
: warning C4133: 'function' : incompatible types - from 'char [21]' to 
'const unsigned short *'
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(498) 
: warning C4133: 'function' : incompatible types - from 'char [1]' to 'const 
unsigned short *'
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(500) 
: warning C4133: 'function' : incompatible types - from 'char [15]' to 
'const unsigned short *'
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(700) 
: warning C4013: 'SetWindowLongPtr' undefined; assuming extern returning int
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(700) 
: error C2065: 'GWLP_USERDATA' : undeclared identifier
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(704) 
: warning C4013: 'GetWindowLongPtr' undefined; assuming extern returning int
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(750) 
: error C2065: 'SC_SCREENSAVE' : undeclared identifier
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(750) 
: error C2051: case expression not constant
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(751) 
: error C2065: 'SC_MONITORPOWER' : undeclared identifier
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(751) 
: error C2051: case expression not constant
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(780) 
: warning C4133: 'function' : incompatible types - from 'char [18]' to 
'const unsigned short *'
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(780) 
: warning C4133: 'function' : incompatible types - from 'char [1]' to 'const 
unsigned short *'
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(789) 
: error C2065: 'WM_NCPAINT' : undeclared identifier
c:\documents and 
settings\fujitsu\fchan\vlc\zip\vlc-0.8.0\modules\video_output\directx\events.c(789) 
: error C2051: case expression not constant
Error executing clarm.exe.

plugin_vout_directx.dll - 39 error(s), 26 warning(s)


-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list