[vtk-developers] New VTK wrapping tools and a function pointer typedef question...

David Cole david.cole at kitware.com
Thu Nov 11 16:37:34 EST 2010


Sorry for this.

Rather than the draconian rebuild-the-world mod to vtkWin32Header.h
suggested below, just pull from master again.

I just made this commit:
http://vtk.org/gitweb?p=VTK.git;a=commitdiff;h=81cdcc6bbfe0347187255e3ae28ea1799f40223a

which is a temporary workaround that only recompiles 5 files after the pull.

I'm still working to get the full change building with python wrapping
turned on.


Thanks,
David C.



On Thu, Nov 11, 2010 at 4:27 PM, Wylie, Brian <bnwylie at sandia.gov> wrote:
> If you blocked on this (like I was) you can apply this one line patch...
>
> bnwylie at S914708 /c/work/Titan/TPL/VTK (master)
> $ git diff
> diff --git a/Common/vtkWin32Header.h b/Common/vtkWin32Header.h
> index c20a502..7bb046d 100644
> --- a/Common/vtkWin32Header.h
> +++ b/Common/vtkWin32Header.h
> @@ -64,7 +64,7 @@ Do_not_include_vtkWin32Header_directly__vtkSystemIncludes_includes_it;
>  //
>  #ifndef VTK_CB_CC
>  #ifdef _WIN32
> -#define VTK_CB_CC __stdcall
> +#define VTK_CB_CC
>  #else
>  #define VTK_CB_CC
>  #endif
>
>
>  Brian Wylie - Org 1424
>  Sandia National Laboratories
>  MS 1323 - Building CSRI/242
>  (505)844-2238 FAX(505)284-2518
>       _______ __
>      /_  __(_) /_____ _____
>       / / / / __/ __ `/ __ \
>      / / / / /_/ /_/ / / / /
>     /_/ /_/\__/\__,_/_/ /_/
>  Scalable Analysis and Visualization
>
>
>
>



More information about the vtk-developers mailing list