[vtkusers] VTK compiling-question with Code::Blocks
Frank Blaschke
flankieren at web.de
Tue Dec 1 12:38:56 EST 2009
Hi,
I try to compile VTK with Code::Blocks(MinGW) to use it in Windows.
What ever I do i get this message:
<code>
C:\vtk-5.4.2\source\Hybrid\vtkWin32VideoSource.cxx: In function
`LRESULT vtkWin32VideoSourceCapControlProc(HWND__*, int)':
C:\vtk-5.4.2\source\Hybrid\vtkWin32VideoSource.cxx:137: error:
`CONTROLCALLBACK_PREROLL' was not declared in this scope
C:\vtk-5.4.2\source\Hybrid\vtkWin32VideoSource.cxx:142: error:
`CONTROLCALLBACK_CAPTURING' was not declared in this scope
C:\vtk-5.4.2\source\Hybrid\vtkWin32VideoSource.cxx: In function
`LRESULT vtkWin32VideoSourceStatusCallbackProc(HWND__*, int, const
CHAR*)':
C:\vtk-5.4.2\source\Hybrid\vtkWin32VideoSource.cxx:167: error:
`IDS_CAP_BEGIN' was not declared in this scope
C:\vtk-5.4.2\source\Hybrid\vtkWin32VideoSource.cxx:172: error:
`IDS_CAP_END' was not declared in this scope
C:\vtk-5.4.2\source\Hybrid\vtkWin32VideoSource.cxx: In member function
`virtual void vtkWin32VideoSource::Initialize()':
C:\vtk-5.4.2\source\Hybrid\vtkWin32VideoSource.cxx:331: error:
`AVSTREAMMASTER_NONE' was not declared in this scope
mingw32-make.exe[2]: ***
[Hybrid/CMakeFiles/vtkHybrid.dir/vtkWin32VideoSource.obj] Error 1
mingw32-make.exe[2]: Leaving directory `C:/vtk-5.4.2/bin'
mingw32-make.exe[1]: *** [Hybrid/CMakeFiles/vtkHybrid.dir/all] Error 2
mingw32-make.exe[1]: Leaving directory `C:/vtk-5.4.2/bin'
mingw32-make.exe: *** [all] Error 2
Process terminated with status 2 (1 minutes, 29 seconds)
5 errors, 0 warnings
</code>
What can I do? I tried to find 'CONTROLCALLBACK' anywhere, without any hit.
I use Windows7 on 64bit, Code::Blocks_8.02 with MinGW_5.1.6, VTK_5.4.2
Compiling with VisualStudio 2008 was successfull, but I wanna do it in
cross-platform.
Thanks and Greetings
Frank
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 1645 bytes
Desc: ?ffentlicher PGP-Schl?ssel
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091201/0b55b0e3/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091201/0b55b0e3/attachment.pgp>
More information about the vtkusers
mailing list