Need Help on compiling the source code

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
maya

Need Help on compiling the source code

Postby maya » 16 Feb 2004 11:40

Hello,
I am trying to compile the source code 0.7.0 on windows environment (XP) and not abele to do so; can anyone give me the full instructions about how to make a project, and what needs to be added to the project so it will compile with no errors.

Thanks,

Regards
mayoo

Gibalou
Big Cone-huna
Big Cone-huna
Posts: 608
Joined: 26 Nov 2003 10:59

Postby Gibalou » 16 Feb 2004 13:11

Have a look at the INSTALL.win32 file in the source tree.

maya

thanks,

Postby maya » 20 Feb 2004 22:57

I am still having some problem compiling fully, the following are the errors...

--------------------Configuration: plugin_access_output_udp - Win32 Debug--------------------
Compiling...
udp.c

C:\Project_source\VLC source\vlc-snapshot-20040217\modules\access_output\udp.c(63) : error C2373: 'WriteRaw' : redefinition; different type modifiers
c:\program files\microsoft visual studio\vc98\include\winbase.h(3296) : see declaration of 'WriteRaw'
C:\Project_source\VLC source\vlc-snapshot-20040217\modules\access_output\udp.c(240) : error C2152: '=' : pointers to functions with different attributes
C:\Project_source\VLC source\vlc-snapshot-20040217\modules\access_output\udp.c(348) : error C2373: 'WriteRaw' : redefinition; different type modifiers
c:\program files\microsoft visual studio\vc98\include\winbase.h(3296) : see declaration of 'WriteRaw'
C:\Project_source\VLC source\vlc-snapshot-20040217\modules\access_output\udp.c(389) : warning C4244: '=' : conversion from '__int64 ' to 'unsigned char ', possible loss of data
C:\Project_source\VLC source\vlc-snapshot-20040217\modules\access_output\udp.c(390) : warning C4244: '=' : conversion from '__int64 ' to 'unsigned char ', possible loss of data
C:\Project_source\VLC source\vlc-snapshot-20040217\modules\access_output\udp.c(391) : warning C4244: '=' : conversion from '__int64 ' to 'unsigned char ', possible loss of data
C:\Project_source\VLC source\vlc-snapshot-20040217\modules\access_output\udp.c(392) : warning C4244: '=' : conversion from '__int64 ' to 'unsigned char ', possible loss of data
Error executing cl.exe.

plugin_access_output_udp.dll - 3 error(s), 4 warning(s)


--------------------Configuration: plugin_mp4 - Win32 Debug--------------------
Compiling...
mp4.c
c:\project_source\vlc source\vlc-snapshot-20040217\include\vlc_common.h(569) : warning C4244: 'function' : conversion from 'unsigned __int64 ' to 'unsigned int ', possible loss of data
c:\project_source\vlc source\vlc-snapshot-20040217\include\vlc_common.h(570) : warning C4244: 'function' : conversion from 'unsigned __int64 ' to 'unsigned int ', possible loss of data
c:\project_source\vlc source\vlc-snapshot-20040217\modules\demux\mp4\mp4.c(361) : warning C4244: '=' : conversion from 'unsigned __int64 ' to 'unsigned int ', possible loss of data
c:\project_source\vlc source\vlc-snapshot-20040217\modules\demux\mp4\mp4.c(838) : warning C4244: 'function' : conversion from '__int64 ' to 'unsigned int ', possible loss of data
c:\project_source\vlc source\vlc-snapshot-20040217\modules\demux\mp4\mp4.c(840) : warning C4244: 'function' : conversion from '__int64 ' to 'unsigned int ', possible loss of data
c:\project_source\vlc source\vlc-snapshot-20040217\modules\demux\mp4\mp4.c(856) : warning C4244: '=' : conversion from '__int64 ' to 'unsigned int ', possible loss of data
c:\project_source\vlc source\vlc-snapshot-20040217\modules\demux\mp4\mp4.c(1194) : warning C4018: '>=' : signed/unsigned mismatch
c:\project_source\vlc source\vlc-snapshot-20040217\modules\demux\mp4\mp4.c(1195) : warning C4018: '<' : signed/unsigned mismatch
c:\project_source\vlc source\vlc-snapshot-20040217\modules\demux\mp4\mp4.c(1208) : warning C4018: '<' : signed/unsigned mismatch
c:\project_source\vlc source\vlc-snapshot-20040217\modules\demux\mp4\mp4.c(1223) : warning C4244: '+=' : conversion from 'unsigned __int64 ' to 'unsigned int ', possible loss of data
c:\project_source\vlc source\vlc-snapshot-20040217\modules\demux\mp4\mp4.c(1438) : warning C4018: '<' : signed/unsigned mismatch
c:\project_source\vlc source\vlc-snapshot-20040217\modules\demux\mp4\mp4.c(1493) : warning C4244: '=' : conversion from 'unsigned __int64 ' to 'unsigned short ', possible loss of data
c:\project_source\vlc source\vlc-snapshot-20040217\modules\demux\mp4\mp4.c(1788) : warning C4018: '<' : signed/unsigned mismatch
c:\project_source\vlc source\vlc-snapshot-20040217\modules\demux\mp4\mp4.c(1789) : warning C4018: '>=' : signed/unsigned mismatch
c:\project_source\vlc source\vlc-snapshot-20040217\modules\demux\mp4\mp4.c(1811) : warning C4018: '<' : signed/unsigned mismatch
c:\project_source\vlc source\vlc-snapshot-20040217\modules\demux\mp4\mp4.c(1822) : warning C4018: '>=' : signed/unsigned mismatch
drms.c
c:\project_source\vlc source\vlc-snapshot-20040217\modules\demux\mp4\mp4.c(593) : error C2520: conversion from unsigned __int64 to double not implemented, use signed __int64
c:\project_source\vlc source\vlc-snapshot-20040217\modules\demux\mp4\mp4.c(593) : error C2520: conversion from unsigned __int64 to double not implemented, use signed __int64
c:\project_source\vlc source\vlc-snapshot-20040217\modules\demux\mp4\mp4.c(607) : error C2520: conversion from unsigned __int64 to double not implemented, use signed __int64
c:\project_source\vlc source\vlc-snapshot-20040217\modules\demux\mp4\mp4.c(607) : error C2520: conversion from unsigned __int64 to double not implemented, use signed __int64
c:\project_source\vlc source\vlc-snapshot-20040217\modules\demux\mp4\mp4.c(838) : warning C4761: integral size mismatch in argument; conversion supplied
c:\project_source\vlc source\vlc-snapshot-20040217\modules\demux\mp4\mp4.c(840) : warning C4761: integral size mismatch in argument; conversion supplied
c:\project_source\vlc source\vlc-snapshot-20040217\include\vlc_common.h(569) : warning C4244: 'function' : conversion from 'unsigned __int64 ' to 'unsigned int ', possible loss of data
c:\project_source\vlc source\vlc-snapshot-20040217\include\vlc_common.h(570) : warning C4244: 'function' : conversion from 'unsigned __int64 ' to 'unsigned int ', possible loss of data
c:\project_source\vlc source\vlc-snapshot-20040217\modules\demux\mp4\drms.c(481) : warning C4244: '=' : conversion from 'unsigned __int64 ' to 'unsigned int ', possible loss of data
c:\project_source\vlc source\vlc-snapshot-20040217\modules\demux\mp4\drms.c(522) : warning C4244: '=' : conversion from 'unsigned __int64 ' to 'unsigned int ', possible loss of data
c:\project_source\vlc source\vlc-snapshot-20040217\modules\demux\mp4\drms.c(541) : warning C4244: '=' : conversion from 'unsigned __int64 ' to 'unsigned int ', possible loss of data
c:\project_source\vlc source\vlc-snapshot-20040217\modules\demux\mp4\drms.c(542) : warning C4244: '=' : conversion from 'unsigned __int64 ' to 'unsigned int ', possible loss of data
c:\project_source\vlc source\vlc-snapshot-20040217\modules\demux\mp4\drms.c(820) : warning C4013: 'mkdir' undefined; assuming extern returning int
c:\project_source\vlc source\vlc-snapshot-20040217\modules\demux\mp4\drms.c(1044) : error C2065: 'CSIDL_COMMON_APPDATA' : undeclared identifier
c:\project_source\vlc source\vlc-snapshot-20040217\modules\demux\mp4\drms.c(1211) : warning C4013: 'strtoll' undefined; assuming extern returning int
Error executing cl.exe.

plugin_mp4.dll - 5 error(s), 26 warning(s)

--------------------Configuration: plugin_vout_directx - Win32 Debug--------------------
Compiling...
events.c

c:\project_source\vlc source\vlc-snapshot-20040217\include\vlc_common.h(569) : warning C4244: 'function' : conversion from 'unsigned __int64 ' to 'unsigned int ', possible loss of data
c:\project_source\vlc source\vlc-snapshot-20040217\include\vlc_common.h(570) : warning C4244: 'function' : conversion from 'unsigned __int64 ' to 'unsigned int ', possible loss of data
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\vout.h(55) : error C2061: syntax error : identifier 'HMONITOR'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\vout.h(57) : error C2143: syntax error : missing ')' before '__stdcall'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\vout.h(57) : error C2143: syntax error : missing '{' before '__stdcall'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\vout.h(57) : error C2059: syntax error : ')'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\vout.h(57) : error C2165: 'left-side modifier' : cannot modify pointers to data
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\vout.h(97) : error C2059: syntax error : '}'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(102) : error C2037: left of 'hparent' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(103) : error C2037: left of 'hwnd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(103) : error C2198: 'GetMessageA' : too few actual parameters
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(109) : error C2037: left of 'hparent' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(122) : error C2037: left of 'i_window_width' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(123) : error C2037: left of 'i_window_height' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(124) : warning C4047: 'function' : 'unsigned int ' differs in levels of indirection from 'int *'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(124) : warning C4024: 'function through pointer' : different types for formal and actual parameter 2
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(124) : warning C4047: 'function' : 'unsigned int ' differs in levels of indirection from 'int *'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(124) : warning C4024: 'function through pointer' : different types for formal and actual parameter 3
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(124) : error C2198: 'function through pointer' : too few actual parameters
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(126) : error C2037: left of 'hwnd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(147) : error C2037: left of 'i_lastmoved' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(149) : error C2037: left of 'b_cursor_hidden' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(151) : error C2037: left of 'b_cursor_hidden' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(179) : error C2037: left of 'i_changes' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(241) : error C2037: left of 'b_using_overlay' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(242) : error C2037: left of 'hwnd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(243) : warning C4133: 'function' : incompatible types - from 'char [42]' to 'struct HWND__ *'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(243) : error C2198: 'SetWindowTextA' : too few actual parameters
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(244) : error C2037: left of 'b_hw_yuv' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(245) : error C2037: left of 'hwnd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(246) : warning C4133: 'function' : incompatible types - from 'char [34]' to 'struct HWND__ *'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(246) : error C2198: 'SetWindowTextA' : too few actual parameters
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(247) : error C2037: left of 'hwnd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(248) : warning C4133: 'function' : incompatible types - from 'char [34]' to 'struct HWND__ *'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(248) : error C2198: 'SetWindowTextA' : too few actual parameters
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(265) : error C2037: left of 'hwnd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(271) : error C2037: left of 'i_changes' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(301) : error C2037: left of 'hparent' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(301) : error C2037: left of 'hwnd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(304) : error C2037: left of 'hparent' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(306) : error C2037: left of 'hwnd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(310) : error C2037: left of 'hwnd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(311) : warning C4047: 'function' : 'struct HWND__ *' differs in levels of indirection from 'const int '
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(311) : warning C4024: 'SetClassLongA' : different types for formal and actual parameter 1
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(311) : error C2198: 'SetClassLongA' : too few actual parameters
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(312) : error C2037: left of 'hwnd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(313) : warning C4047: 'function' : 'struct HWND__ *' differs in levels of indirection from 'const int '
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(313) : warning C4024: 'SetClassLongA' : different types for formal and actual parameter 1
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(313) : error C2198: 'SetClassLongA' : too few actual parameters
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(314) : error C2037: left of 'hwnd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(315) : warning C4047: 'function' : 'struct HWND__ *' differs in levels of indirection from 'const int '
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(315) : warning C4024: 'SetClassLongA' : different types for formal and actual parameter 1
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(315) : error C2198: 'SetClassLongA' : too few actual parameters
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(318) : error C2037: left of 'hwnd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(318) : warning C4047: 'function' : 'struct HWND__ *' differs in levels of indirection from 'const int '
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(318) : warning C4024: 'SetWindowLongA' : different types for formal and actual parameter 1
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(318) : error C2198: 'SetWindowLongA' : too few actual parameters
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(320) : error C2037: left of 'pf_wndproc' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(321) : error C2037: left of 'hwnd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(322) : warning C4047: 'function' : 'struct HWND__ *' differs in levels of indirection from 'const int '
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(322) : warning C4024: 'SetWindowLongA' : different types for formal and actual parameter 1
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(322) : error C2198: 'SetWindowLongA' : too few actual parameters
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(325) : error C2037: left of 'hwnd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(325) : warning C4047: 'function' : 'const struct tagRECT *' differs in levels of indirection from 'const int '
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(325) : warning C4024: 'InvalidateRect' : different types for formal and actual parameter 2
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(325) : error C2198: 'InvalidateRect' : too few actual parameters
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(379) : error C2037: left of 'i_window_width' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(380) : error C2037: left of 'i_window_height' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(384) : error C2037: left of 'hwnd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(398) : error C2037: left of 'hwnd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(406) : error C2037: left of 'hwnd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(406) : warning C4047: 'function' : 'struct HWND__ *' differs in levels of indirection from 'const int '
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(406) : warning C4024: 'ShowWindow' : different types for formal and actual parameter 1
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(406) : error C2198: 'ShowWindow' : too few actual parameters
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(411) : error C2037: left of 'hwnd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(411) : warning C4047: 'function' : 'struct HWND__ *' differs in levels of indirection from 'const int '
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(411) : warning C4024: 'SendMessageA' : different types for formal and actual parameter 1
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(411) : error C2198: 'SendMessageA' : too few actual parameters
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(414) : error C2037: left of 'hwnd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(414) : error C2198: 'GetSystemMenu' : too few actual parameters
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(431) : error C2037: left of 'hwnd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(431) : error C2037: left of 'hparent' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(433) : error C2037: left of 'hwnd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(433) : error C2198: 'DestroyWindow' : too few actual parameters
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(435) : error C2037: left of 'hparent' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(438) : error C2037: left of 'hvideownd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(438) : warning C4047: 'function' : 'struct HWND__ *' differs in levels of indirection from 'const int '
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(438) : warning C4024: 'PostMessageA' : different types for formal and actual parameter 1
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(438) : error C2198: 'PostMessageA' : too few actual parameters
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(441) : error C2037: left of 'hwnd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(442) : warning C4047: 'function' : 'struct HWND__ *' differs in levels of indirection from 'const int '
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(442) : warning C4024: 'SetWindowLongA' : different types for formal and actual parameter 1
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(442) : error C2037: left of 'pf_wndproc' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(442) : error C2198: 'SetWindowLongA' : too few actual parameters
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(443) : error C2037: left of 'hwnd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(443) : warning C4047: 'function' : 'struct HWND__ *' differs in levels of indirection from 'const int '
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(443) : warning C4024: 'SetWindowLongA' : different types for formal and actual parameter 1
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(443) : error C2198: 'SetWindowLongA' : too few actual parameters
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(446) : error C2037: left of 'hwnd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(446) : warning C4047: 'function' : 'const struct tagRECT *' differs in levels of indirection from 'const int '
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(446) : warning C4024: 'InvalidateRect' : different types for formal and actual parameter 2
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(446) : error C2198: 'InvalidateRect' : too few actual parameters
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(449) : error C2037: left of 'hwnd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(476) : error C2037: left of 'hwnd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(476) : warning C4133: 'function' : incompatible types - from 'struct tagRECT *' to 'struct HWND__ *'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(476) : error C2198: 'GetClientRect' : too few actual parameters
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(480) : error C2037: left of 'hwnd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(480) : warning C4133: 'function' : incompatible types - from 'struct tagPOINT *' to 'struct HWND__ *'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(480) : error C2198: 'ClientToScreen' : too few actual parameters
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(484) : error C2037: left of 'i_window_width' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(485) : error C2037: left of 'i_window_height' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(486) : error C2037: left of 'i_window_x' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(487) : error C2037: left of 'i_window_y' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(493) : error C2037: left of 'i_window_x' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(494) : error C2037: left of 'i_window_y' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(495) : error C2037: left of 'i_window_width' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(496) : error C2037: left of 'i_window_height' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(501) : error C2037: left of 'hvideownd' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(502) : warning C4047: 'function' : 'struct HWND__ *' differs in levels of indirection from 'int '
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(502) : warning C4024: 'SetWindowPos' : different types for formal and actual parameter 2
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(502) : error C2198: 'SetWindowPos' : too few actual parameters
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(505) : error C2037: left of 'rect_dest' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(506) : error C2037: left of 'rect_dest' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(506) : error C2037: left of 'rect_dest' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(507) : error C2037: left of 'rect_dest' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(508) : error C2037: left of 'rect_dest' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(508) : error C2037: left of 'rect_dest' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(514) : error C2037: left of 'rect_dest_clipped' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(514) : error C2037: left of 'rect_dest' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(515) : error C2037: left of 'rect_display' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(515) : error C2198: 'IntersectRect' : too few actual parameters
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(517) : error C2037: left of 'rect_src_clipped' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(517) : error C2198: 'SetRectEmpty' : too few actual parameters
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(529) : error C2037: left of 'rect_dest_clipped' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(529) : error C2037: left of 'rect_dest_clipped' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(530) : error C2037: left of 'rect_dest_clipped' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(530) : error C2037: left of 'rect_dest_clipped' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(532) : error C2037: left of 'rect_src_clipped' specifies undefined struct/union 'vout_sys_t'
c:\project_source\vlc source\vlc-snapshot-20040217\modules\video_output\directx\events.c(532) : fatal error C1003: error count exceeds 100; stopping compilation
Error executing cl.exe.

plugin_vout_directx.dll - 102 error(s), 37 warning(s)

--------------------Configuration: plugin_waveout - Win32 Debug--------------------
Compiling...
waveout.c
c:\program files\microsoft visual studio\vc98\include\initguid.h(19) : fatal error C1189: #error : initguid: must include objbase.h first.
Error executing cl.exe.

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

CAN ANYONE HELP ME PLEASE !!!!

THANKS
MAYA

Gibalou
Big Cone-huna
Big Cone-huna
Posts: 608
Joined: 26 Nov 2003 10:59

Postby Gibalou » 22 Feb 2004 01:40

Don't use MSVC, even though it kinda works for me with MSVC 7.0, you won't be able to compile a full-featured version of VLC with MSVC.

Use cygwin as detailed in the INSTALL.win32 file.

smashedguitar
New Cone
New Cone
Posts: 2
Joined: 27 Sep 2005 00:36

Postby smashedguitar » 27 Sep 2005 20:40

Thanks for the descriptive reply !

As a follow up, Here is the error I get:

Compiling...
ipv4.c
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\io.h(259) : error C2373: 'closesocket' : redefinition; different type modifiers
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinSock2.h(1660) : see declaration of 'closesocket'

All other plugins compile except this. And I am using standard VLC snapshot. Any help will be appreciated.

- Joe

saigon_man
New Cone
New Cone
Posts: 4
Joined: 26 Oct 2005 15:52

Postby saigon_man » 28 Oct 2005 15:51

I posted the instruction of how to compile vlc 0.8.2 using cygwin in win xp
viewtopic.php?t=13480&highlight=compile+vlc

I think if you use visual C++ then there will be some limitations on some libraries that VLC is using. For more info, refer to the install.win32 file in your vlc folder.

Hope this helps

TL
Cheers

Reven
Blank Cone
Blank Cone
Posts: 26
Joined: 28 Oct 2005 10:32

Postby Reven » 28 Oct 2005 22:20

This thread really belongs in the Windows forum. That being said...

The binaries that are shipped are not Cygwin - they were made with MinGW. Cygwin is nice, but not practical for production purposes.

There are obviously automated scripts (the daily builds) used to build VLC in a MinGW environment. Are those scripts available anywhere?
Ex Turbo Modestum


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 76 guests