[vtkusers] Compilation problems on Win7 64bit and mingw64

Luca Tersi luca.tersi at unibo.it
Tue Aug 16 11:06:17 EDT 2011


Hi,

I tryed to compile VTK on Windows 7 64bit, using mingw64, nut I got the
following error:

[ 18%] Built target vtkverdict
[ 18%] Building C object
Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/v2i.c.obj
c:/Users/lt/Documents/kitware/vtk-5.6.1_src/Utilities/vtknetcdf/v2i.c:76:
error:
 redefinition of typedef 'schar'
c:/Users/lt/Documents/kitware/vtk-5.6.1_src/Utilities/vtknetcdf/ncx.h:160:
note:
 previous declaration of 'schar' was here
make[2]: *** [Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/v2i.c.obj] Error
1
make[1]: *** [Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/all] Error 2
make: *** [all] Error 2

Am I missing something?
What the best way to use gcc and g++ on this platform?

Thanks in advance

Luca


---

*Luca Tersi, Ph.D.*
*Department of Electronics, Computer Science, and Systems* *(DEIS)*
*Health Sciences and Technologies - Interdepartmental Center for Industrial
Research (HST - ICIR) *
*Alma Mater Studiorum - University of Bologna*
Via Venezia 52, I-47521 Cesena (FC) - Italy

-----------------------------------------
*Phone*: (+39) 0547 33 89 53
*Mobile*: (+39) 349 84 92 262
*Fax*: (+39) 0547 17 91 071
*Skype*: lucatersi
*E-Mail*:
luca.tersi at unibo.it
lucatersi at gmail.com
-----------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110816/02769a06/attachment.htm>


More information about the vtkusers mailing list