[vtkusers] Error Compiling VTK on latest Cygwin

philipp.batchelor at kcl.ac.uk philipp.batchelor at kcl.ac.uk
Mon Jan 20 04:42:55 EST 2003


I also tried that, and had the same problem, on cygwin with gcc 3.2, going
back to gcc 2.95 (cc-2,c++-2 on cygwin) worked (without Wrapping). But
there must be a proper
3.2 solution. (From other compilations: 3.2 is much stricter for ANSI
compliance than gcc 2.*).

P

On Sun, 19 Jan 2003, Wahid Alizada wrote:

>
>
> Hi,
>
> I've installed Cygwin and am now trying to install VTK.
>
> I ran non-interactive cmake and the makefiles were created successfully.
>
> After running make (for the second time), here's a snippet of the error:
>
> ------------------
>
> $ make
> cmake.depends is up-to-date
> /home/wahid/VTK/Wrapping: building default_target
> cmake.depends is up-to-date
> /home/wahid/VTK/Utilities: building default_target
> cmake.depends is up-to-date
> /home/wahid/VTK/Utilities/zlib: building default_target
> /home/wahid/VTK/Utilities/png: building default_target
> /home/wahid/VTK/Utilities/jpeg: building default_target
> /home/wahid/VTK/Utilities/tiff: building default_target
> gcc -mwin32  -I/home/wahid/VTK/Utilities/tiff -I/home/wahid/VTK -I/home/wahi
> d/VTK/Rendering -I/home/wahid/VTK/IO -I/home/wahid/VTK/Imaging -I/home/wah
> id/VTK/Graphics -I/home/wahid/VTK/Filtering -I/home/wahid/VTK/Common -I/home
> /wahid/VTK/Common/Testing/Cxx -I/home/wahid/VTK/Utilities/jpeg -I/home/wahid
> /VTK/Utilities/tiff -I/home/wahid/VTK/Utilities/expat -I/home/wahid/VTK/Util
> ities/png -I/home/wahid/VTK/Utilities/zlib -I/home/wahid/VTK/Utilities/freet
> ype/include -I/home/wahid/VTK/Utilities/freetype -I/home/wahid/VTK/Utilities
> /ftgl/src -I/home/wahid/VTK/Utilities/ftgl   -DJPEG_SUPPORT -DZIP_SUPP
> ORT -D_HPUX_SOURCE -DTIF_PLATFORM_CONSOLE -c
> /home/wahid/VTK/Utilities/tiff/tif_jpeg.c -o tif_jpeg.o
> In file included from /home/wahid/VTK/Utilities/tiff/tif_jpeg.c:56:
> /home/wahid/VTK/Utilities/jpeg/jpeglib.h:94: parse error before "boolean"
> /home/wahid/VTK/Utilities/jpeg/jpeglib.h:94: warning: no semicolon at end of
> struct or union
> /home/wahid/VTK/Utilities/jpeg/jpeglib.h:95: warning: data definition has no
> type or storage class
>
> --------------
>
> I'm running on Windows XP.
>
> Any insight into this is much appreciated.
>
> Wahid
>
>
>
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>




More information about the vtkusers mailing list