[vtkusers] compiling problem

Song Li lisong at vrac.iastate.edu
Thu May 23 16:51:27 EDT 2002


Hi, gurus,
  First time compile VTK application on Linux platform, and got the
errors like this:

"/home/software/vtk/vtk4.0/Linux/usr/local/include/vtk/vtkDataArray.h",
line 105: remark #981: operands are evaluated in unspecified order
    vtkSetClampMacro(NumberOfComponents,int,1,VTK_LARGE_INTEGER);
......
......
"/home/software/vtk/vtk4.0/Linux/usr/local/include/vtk/vtkDataArray.h",
line 318: remark #981: operands are evaluated in unspecified order
    vtkGetObjectMacro(LookupTable,vtkLookupTable);
......
......
"/home/software/vtk/vtk4.0/Linux/usr/local/include/vtk/vtkScalarsToColors.h",
line 117: remark #810: conversion from "double" to "float" may lose
significant bits
      return rgb[0]*0.30 + rgb[1]*0.59 + rgb[2]*0.11;}
......
......
"/home/software/vtk/vtk4.0/Linux/usr/local/include/vtk/vtkScalarsToColors.h",
line 125: remark #981: operands are evaluated in unspecified order
    vtkGetMacro(Alpha,float);
......
......
Hundreds of such errors, I am using Intel's ICC as compiler, do I need
some flags ???? or my VTK itself has problems ???? Thanks a lot!!


--
Song Li
VRAC(Virtual Reality Application Center),Iowa State University
Email: lisong at vrac.iastate.edu
Homepage: http://www.vrac.iastate.edu/~lisong


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020523/5e3c78ca/attachment.htm>


More information about the vtkusers mailing list