error build under msys and mingw

This forum is about all development around libVLC.
buatcintaku
New Cone
New Cone
Posts: 5
Joined: 17 Apr 2010 13:07

error build under msys and mingw

Postby buatcintaku » 27 Apr 2010 16:38

i'd tried build vlc on msys and mingw
i follow http://wiki.videolan.org/Win32CompileMSYSNew to build

at compile section

Code: Select all

PATH=/usr/win32/bin:$PATH make
error happened like this

Code: Select all

In file included from vlcshell.cpp:44: vlcplugin.h:85: error: 'uint16' has not been declared vlcplugin.h:111: error: 'WNDPROC' does not name a type vlcplugin.h:113: error: 'WNDPROC' has not been declared vlcplugin.h:138: error: 'uint16' does not name a type vlcplugin.h:216: error: 'WNDPROC' does not name a type vlcplugin.h: In member function 'void VlcPlugin::setWindowProc(int)': vlcplugin.h:114: error: 'pf_wndproc' was not declared in this scope In file included from vlcshell.cpp:45: vlcshell.h: At global scope: vlcshell.h:30: error: 'jref' does not name a type vlcshell.h:33: error: 'uint16' has not been declared vlcshell.h:33: error: 'int16' has not been declared vlcshell.h:43: error: 'uint16' has not been declared vlcshell.h:47: error: 'int32' does not name a type vlcshell.h:48: error: 'int32' does not name a type vlcshell.cpp:268: error: 'jref' does not name a type vlcshell.cpp:278: error: 'uint16' has not been declared vlcshell.cpp:278: error: 'int16' has not been declared vlcshell.cpp: In function 'NPError NPP_Destroy(NPP_t*, NPSavedData**)': vlcshell.cpp:323: error: 'WNDPROC' was not declared in this scope vlcshell.cpp:323: error: expected ';' before 'winproc' vlcshell.cpp:324: error: 'winproc' was not declared in this scope vlcshell.cpp:327: error: 'GWL_WNDPROC' was not declared in this scope vlcshell.cpp:327: error: 'SetWindowLong' was not declared in this scope vlcshell.cpp: In function 'NPError NPP_SetWindow(NPP_t*, NPWindow*)': vlcshell.cpp:442: error: 'WNDPROC' was not declared in this scope vlcshell.cpp:442: error: expected ';' before 'oldproc' vlcshell.cpp:443: error: 'oldproc' was not declared in this scope vlcshell.cpp:446: error: 'GWL_WNDPROC' was not declared in this scope vlcshell.cpp:446: error: 'SetWindowLong' was not declared in this scope vlcshell.cpp:449: error: 'GWLP_USERDATA' was not declared in this scope vlcshell.cpp:450: error: 'SetWindowLongPtr' was not declared in this scope vlcshell.cpp:453: error: expected ')' before 'SetWindowLong' vlcshell.cpp:457: error: 'GWL_STYLE' was not declared in this scope vlcshell.cpp:457: error: 'GetWindowLong' was not declared in this scope vlcshell.cpp:458: error: 'WS_CLIPCHILDREN' was not declared in this scope vlcshell.cpp:458: error: 'WS_CLIPSIBLINGS' was not declared in this scope vlcshell.cpp:459: error: 'SetWindowLong' was not declared in this scope vlcshell.cpp:462: warning: 'void libvlc_video_set_parent(libvlc_instance_t*, lib vlc_drawable_t, libvlc_exception_t*)' is deprecated (declared at ../../include/v lc/deprecated.h:85) vlcshell.cpp:462: warning: 'void libvlc_video_set_parent(libvlc_instance_t*, lib vlc_drawable_t, libvlc_exception_t*)' is deprecated (declared at ../../include/v lc/deprecated.h:85) vlcshell.cpp:469: error: 'InvalidateRect' was not declared in this scope vlcshell.cpp:470: error: 'UpdateWindow' was not declared in this scope vlcshell.cpp:477: error: 'GWL_WNDPROC' was not declared in this scope vlcshell.cpp:477: error: 'class VlcPlugin' has no member named 'getWindowProc' vlcshell.cpp:477: error: 'SetWindowLong' was not declared in this scope vlcshell.cpp:481: warning: 'void libvlc_video_set_parent(libvlc_instance_t*, lib vlc_drawable_t, libvlc_exception_t*)' is deprecated (declared at ../../include/v lc/deprecated.h:85) vlcshell.cpp:481: warning: 'void libvlc_video_set_parent(libvlc_instance_t*, lib vlc_drawable_t, libvlc_exception_t*)' is deprecated (declared at ../../include/v lc/deprecated.h:85) vlcshell.cpp: At global scope: vlcshell.cpp:582: error: 'uint16' has not been declared vlcshell.cpp:611: error: 'int32' does not name a type vlcshell.cpp:617: error: 'int32' does not name a type vlcshell.cpp: In function 'LRESULT Manage(HWND__*, UINT, WPARAM, LPARAM)': vlcshell.cpp:738: error: 'GWLP_USERDATA' was not declared in this scope vlcshell.cpp:738: error: 'GetWindowLongPtr' was not declared in this scope vlcshell.cpp:742: error: 'WM_ERASEBKGND' was not declared in this scope vlcshell.cpp:745: error: 'WM_PAINT' was not declared in this scope vlcshell.cpp:747: error: 'PAINTSTRUCT' was not declared in this scope vlcshell.cpp:747: error: expected ';' before 'paintstruct' vlcshell.cpp:751: error: 'paintstruct' was not declared in this scope vlcshell.cpp:751: error: 'BeginPaint' was not declared in this scope vlcshell.cpp:753: error: 'GetClientRect' was not declared in this scope vlcshell.cpp:755: error: 'BLACK_BRUSH' was not declared in this scope vlcshell.cpp:755: error: 'GetStockObject' was not declared in this scope vlcshell.cpp:755: error: 'FillRect' was not declared in this scope vlcshell.cpp:756: error: 'RGB' was not declared in this scope vlcshell.cpp:756: error: 'SetTextColor' was not declared in this scope vlcshell.cpp:757: error: 'SetBkColor' was not declared in this scope vlcshell.cpp:759: error: 'DT_CENTER' was not declared in this scope vlcshell.cpp:759: error: 'DT_VCENTER' was not declared in this scope vlcshell.cpp:759: error: 'DT_SINGLELINE' was not declared in this scope vlcshell.cpp:759: error: 'DrawText' was not declared in this scope vlcshell.cpp:761: error: 'EndPaint' was not declared in this scope vlcshell.cpp:766: error: 'class VlcPlugin' has no member named 'getWindowProc' vlcshell.cpp:767: error: 'CallWindowProc' was not declared in this scope make[2]: *** [npvlc_la-vlcshell.lo] Error 1 make[2]: Leaving directory `/home/ebiss-11/vlc-1.0.5/projects/mozilla' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ebiss-11/vlc-1.0.5' make: *** [all] Error 2
what should i do??

thanks

sorry my english is bad

kenig
Blank Cone
Blank Cone
Posts: 12
Joined: 14 Oct 2009 16:27

Re: error build under msys and mingw

Postby kenig » 14 Jul 2010 13:38

Don't compile the mozilla plugin if you don't need it


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 4 guests