[vtkusers] VTK compiling-question with Code::Blocks
Michael Jackson
mike.jackson at bluequartz.net
Tue Dec 1 13:11:07 EST 2009
Just a guess but I do not think vtkWin32VideoSource is compatible with
MinGW.
_________________________________________________________
Mike Jackson mike.jackson at bluequartz.net
BlueQuartz Software www.bluequartz.net
Principal Software Engineer Dayton, Ohio
On Dec 1, 2009, at 12:38 PM, Frank Blaschke wrote:
> 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
> <mime-attachment>_______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list