[Paraview] vtkTableFFT compilation issue with CVS version

Steven Janzou sjanzou at gmail.com
Sun Mar 15 03:30:12 EDT 2009


Just updated to latest CVS - looks like changes work - compile and
runs fine with BUILD_OVERVIEW on.

Relevant changes were to vtkTableFFT.cxx and vtkTableFFT.h:

VTK_EXPORT added to class vtkTable declaration in vtkTableFFT.h

For vtkTableFFT.cxx, the strcasecmp call was replaced with SystemTools::Strucmp.

Thanks,
Steve


On Sat, Mar 14, 2009 at 6:23 AM, Steven Janzou <sjanzou at gmail.com> wrote:
> When building the vtkPVFiltersCS project (MS VS 9), I receive the
> following error:
>
> C:\CPP\Projects\ResultsViewer\Paraview\Build\bin\Debug\vtkPVFiltersCS.lib
> and object C:\CPP\Projects\ResultsViewer\Paraview\Build\bin\Debug\vtkPVFiltersCS.exp
> vtkTableFFTClientServer.obj : error LNK2019: unresolved external
> symbol "public: static class vtkTableFFT * __cdecl
> vtkTableFFT::New(void)" (?New at vtkTableFFT@@SAPAV1 at XZ) referenced in
> function "class vtkObjectBase * __cdecl
> vtkTableFFTClientServerNewCommand(void)"
> (?vtkTableFFTClientServerNewCommand@@YAPAVvtkObjectBase@@XZ)
> C:\CPP\Projects\ResultsViewer\Paraview\Build\bin\Debug\vtkPVFiltersCS.dll
> : fatal error
>
>
> This is after several errors when compiling due to Window lack of
> strcasecmp. I added the following to string.h to address the
> strcasecmp error in vtkTableFFT.cxx:
>
> #if defined(WIN32) || defined(WIN64)
> #define strcasecmp _stricmp
> #endif /* Def WIN32 or Def WIN64 */
>
>
> So, even after removing the build directory and starting over, the
> vtkTableFFT is still an unresolved external.
>
> Any suggestions would be greatly appreciated.
>
> Thanks,
> Steve
>


More information about the ParaView mailing list