MantisBT - VTK | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000635 | VTK | (No Category) | public | 2004-02-29 23:23 | 2016-08-12 09:54 |
Reporter | Mathieu Malaterre | ||||
Assigned To | David Partyka | ||||
Priority | low | Severity | minor | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Project | |||||
Type | |||||
Summary | 0000635: vtkWin32VideoSource does not compile on cygwin | ||||
Description | I try compiling some very simple programs that were using the API of video for windows (references such as CAPSTATUS, CAPDRIVERCAPS, CONTROLCALLBACK_PREROLL ...). They should be defined in Vfw.h but I can't find these definitions on my cygwin system. Is there a problem with this particular library ? or is it just missing ? I attached to this email the log of make. You can find the source code here: http://www.vtk.org/cgi-bin/viewcvs.cgi/Hybrid/vtkWin32VideoSource.cxx [^] Thanks, Mathieu Ref: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_capdlgvideoformat.asp [^] Building object file vtkWin32VideoSource.o... /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:34: error: 'CAPSTATUS' is used as a type, but is not defined as a type. /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:35: error: ' CAPDRIVERCAPS' is used as a type, but is not defined as a type. /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:36: error: ' CAPTUREPARMS' is used as a type, but is not defined as a type. /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx: In function `LRESULT vtkWin32VideoSourceCapControlProc(HWND__*, int)': /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:136: error: ` capGetUserData' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:136: error: (Each undeclared identifier is reported only once for each function it appears in.) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:138: error: ` CONTROLCALLBACK_PREROLL' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:143: error: ` CONTROLCALLBACK_CAPTURING' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx: At global scope: /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:152: error: type specifier omitted for parameter `LPVIDEOHDR' /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:152: error: syntax error before `)' token /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx: In function `LRESULT vtkWin32VideoSourceCallbackProc(...)': /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:154: error: `hwndC' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:154: error: ` capGetUserData' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:155: error: `lpVHdr' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx: In function `LRESULT vtkWin32VideoSourceStatusCallbackProc(HWND__*, int, const CHAR*)': /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:168: error: ` IDS_CAP_BEGIN' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:173: error: ` IDS_CAP_END' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx: In member function ` virtual void vtkWin32VideoSource::Initialize()': /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:285: error: ` capCreateCaptureWindow' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:296: error: ` capDriverConnect' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:304: error: 'class vtkWin32VideoSourceInternal' has no member named 'CapDriverCaps' /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:304: error: ` CAPDRIVERCAPS' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:304: error: ` capDriverGetCaps' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:310: error: 'class vtkWin32VideoSourceInternal' has no member named 'CaptureParms' /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:310: error: ` CAPTUREPARMS' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:310: error: ` capCaptureGetSetup' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:314: error: 'class vtkWin32VideoSourceInternal' has no member named 'CaptureParms' /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:319: error: 'class vtkWin32VideoSourceInternal' has no member named 'CaptureParms' /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:322: error: 'class vtkWin32VideoSourceInternal' has no member named 'CaptureParms' /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:323: error: 'class vtkWin32VideoSourceInternal' has no member named 'CaptureParms' /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:324: error: 'class vtkWin32VideoSourceInternal' has no member named 'CaptureParms' /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:325: error: 'class vtkWin32VideoSourceInternal' has no member named 'CaptureParms' /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:326: error: 'class vtkWin32VideoSourceInternal' has no member named 'CaptureParms' /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:327: error: 'class vtkWin32VideoSourceInternal' has no member named 'CaptureParms' /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:328: error: 'class vtkWin32VideoSourceInternal' has no member named 'CaptureParms' /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:329: error: 'class vtkWin32VideoSourceInternal' has no member named 'CaptureParms' /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:330: error: 'class vtkWin32VideoSourceInternal' has no member named 'CaptureParms' /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:331: error: 'class vtkWin32VideoSourceInternal' has no member named 'CaptureParms' /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:332: error: 'class vtkWin32VideoSourceInternal' has no member named 'CaptureParms' /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:332: error: ` AVSTREAMMASTER_NONE' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:334: error: 'class vtkWin32VideoSourceInternal' has no member named 'CaptureParms' /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:335: error: ` capCaptureSetSetup' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:344: error: ` capSetUserData' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:354: error: ` capSetCallbackOnCapControl' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:364: error: ` capSetCallbackOnFrame' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:373: error: ` capSetCallbackOnVideoStream' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:382: error: ` capSetCallbackOnStatus' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:391: error: ` capSetCallbackOnError' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:399: error: ` capOverlay' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx: In member function ` void vtkWin32VideoSource::OnParentWndDestroy()': /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:455: error: ` capDriverDisconnect' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx: In member function ` void vtkWin32VideoSource::InternalGrab(void*)': /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:475: error: syntax error before `=' token /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx: In member function ` virtual void vtkWin32VideoSource::Grab()': /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:573: error: ` capGrabFrameNoStop' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx: In member function ` virtual void vtkWin32VideoSource::Record()': /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:594: error: ` capCaptureSequenceNoFile' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx: In member function ` virtual void vtkWin32VideoSource::Stop()': /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:612: error: ` capCaptureStop' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx: In member function ` void vtkWin32VideoSource::VideoFormatDialog()': /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:874: error: 'class vtkWin32VideoSourceInternal' has no member named 'CapStatus' /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:874: error: `CAPSTATUS ' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:874: error: ` capGetStatus' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:875: error: 'class vtkWin32VideoSourceInternal' has no member named 'CapStatus' /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:882: error: ` capDlgVideoFormat' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx: In member function ` void vtkWin32VideoSource::VideoSourceDialog()': /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:907: error: 'class vtkWin32VideoSourceInternal' has no member named 'CapStatus' /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:907: error: ` capGetStatus' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:908: error: 'class vtkWin32VideoSourceInternal' has no member named 'CapStatus' /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:915: error: ` capDlgVideoSource' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx: In member function ` virtual void vtkWin32VideoSource::SetFrameRate(float)': /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:968: error: 'class vtkWin32VideoSourceInternal' has no member named 'CaptureParms' /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:968: error: ` capCaptureGetSetup' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:971: error: 'class vtkWin32VideoSourceInternal' has no member named 'CaptureParms' /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:976: error: 'class vtkWin32VideoSourceInternal' has no member named 'CaptureParms' /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:978: error: 'class vtkWin32VideoSourceInternal' has no member named 'CaptureParms' /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:978: error: ` capCaptureSetSetup' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx: In member function ` void vtkWin32VideoSource::DoVFWFormatCheck()': /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:1033: error: ` capGetVideoFormatSize' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:1043: error: ` capGetVideoFormat' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx: In member function ` void vtkWin32VideoSource::DoVFWFormatSetup()': /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:1123: error: ` capGetVideoFormatSize' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:1133: error: ` capGetVideoFormat' undeclared (first use this function) /home/mathieu/Kitware/VTK/Hybrid/vtkWin32VideoSource.cxx:1157: error: ` capSetVideoFormat' undeclared (first use this function) make[1]: *** [vtkWin32VideoSource.o] Error 1 make: *** [default_target] Error 2 | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | vfw.patch (1,063) 2008-12-29 04:36 https://www.vtk.org/Bug/file/6949/vfw.patch | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2008-11-30 09:18 | Mathieu Malaterre | Assigned To | Mathieu Malaterre => David Cole | ||
2008-12-29 04:21 | Mathieu Malaterre | Note Added: 0014445 | |||
2008-12-29 04:36 | Mathieu Malaterre | File Added: vfw.patch | |||
2008-12-29 04:37 | Mathieu Malaterre | Note Added: 0014446 | |||
2011-01-19 10:21 | David Cole | Assigned To | David Cole => David Partyka | ||
2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) | ||
2013-07-22 20:33 | Dave DeMarle | Status | backlog => expired | ||
2013-07-22 20:33 | Dave DeMarle | Note Added: 0031293 | |||
2016-08-12 09:54 | Kitware Robot | Note Added: 0036719 | |||
2016-08-12 09:54 | Kitware Robot | Status | expired => closed | ||
2016-08-12 09:54 | Kitware Robot | Resolution | open => moved |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|