[vtkusers] VTK 5.6.1Compiling error

John Drescher drescherjm at gmail.com
Wed May 25 08:02:13 EDT 2011


> I'm having problems with compiling of 5.6.1v. The errors starts with
> poxio.c while trying to include unistd.h (I've tried to compile with
> Borland C++ 5.81 and Microsoft Visual Studio 9 - 2008). It seems
> borland neither microsoft compiler defines _MSC_VER and I can't do it
> by hand ( in makefile ) because it causes errors in other modules.
> After fix this import problem hard-coding, I've got a lot of warnings
> from netcdf module (even when NETCDF_DISABLE_COMPILER_WARNINGS = ON )
> I've already try to find a solution, but with no success.
>

I have no problem at all compiling vtk-5.6.1 in Visual Studio 2008 32
or 64 bit. What options have you turned on in cmake-gui. I generally
turn on Qt and turn off testing and shared libs and that is it.

-- 
John M. Drescher



More information about the vtkusers mailing list