delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/29/22:11:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <4042A9D0.7060305@nycap.rr.com>
Date: Sun, 29 Feb 2004 22:11:12 -0500
From: Mathieu Malaterre <mmalater AT nycap DOT rr DOT com>
Reply-To: mathieu AT malaterre DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: VfW.H - Video for Windows include file
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Note-from-DJ: This may be spam

--------------030905090404070603030703
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

    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




--------------030905090404070603030703
Content-Type: text/plain;
 name="log.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="log.txt"

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



--------------030905090404070603030703
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
--------------030905090404070603030703--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019