[vtkusers] "vtknetcdf/ncx.c: ix_float_implementation" error when building VTK on Mac OS X

Jing LI jli023 at cs.auckland.ac.nz
Thu Jun 28 22:54:25 EDT 2007


I got such errors when building VTK 5.0.3 on Mac OS X using Cmake 2.4.6

 

Linking CXX static library ../bin/libvtkWidgets.a

[ 86%] Built target vtkWidgets

Scanning dependencies of target vtkNetCDF

[ 86%] Building C object Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/var.o

[ 86%] Building C object Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/attr.o

[ 86%] Building C object Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/dim.o

[ 86%] Building C object
Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/error.o

[ 86%] Building C object
Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/libvers.o

[ 86%] Building C object Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/nc.o

[ 86%] Building C object Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/ncio.o

[ 87%] Building C object Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/ncx.o

/users/jl/develop/VTK/Utilities/vtknetcdf/ncx.c:1120:2: error: #error
"ix_float implementation"

make[2]: *** [Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/ncx.o] Error 1

make[1]: *** [Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/all] Error 2

make: *** [all] Error 2

dhcp-39pool-08:/users/jl/develop/VTKBuild jli023$

 

I have set "VTK_USE_CARBON:BOOL=OFF

VTK_USE_COCOA:BOOL=ON" in the file "CMakeCache.txt". 
 
Does anyone have an idea about how to fix it?
 
Thank you in advance, 

 

 

Jing 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070629/0bc32c0f/attachment.htm>


More information about the vtkusers mailing list