volumizer and g++

New Message Reply Date view Thread view Subject view Author view

Sean Spicer (spicer@bme.stanford.edu)
Thu, 23 Mar 2000 23:01:50 -0800


Dave, all,

I ran into a problem compiling volumizer code with g++ on Mips (from
the gcc2.8.1 release on freeware.sgi.com) here is the output:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

solveDeath 24% make
        g++ -g -c voVolume.cxx
In file included from /usr/include/vo/Cache.h:10,
                 from voVolume.hxx:54,
                 from voVolume.cxx:42:
/usr/include/vo/Volumizer.h:31: `ostream_withassign' was not declared in
this scope
/usr/include/vo/Volumizer.h:31: parse error before `)'
/usr/include/vo/Volumizer.h:32: parse error before `&'
/usr/include/vo/Volumizer.h:52: declaration of identifier
`ostream_withassign' as `int voError::ostream_withassign'
/usr/include/vo/Volumizer.h:32: conflicts with previous use in class as
`int voError::ostream_withassign'
/usr/include/vo/Volumizer.h:52: parse error before `&'
/usr/include/vo/Geometry.h: In method `void voIndices::setValue(int,
float)':
In file included from /usr/include/vo/Cache.h:11,
                 from voVolume.hxx:54,
                 from voVolume.cxx:42:
/usr/include/vo/Geometry.h:308: warning: assignment to `int' from `float'
/usr/include/vo/Appearance.h: In method `void voBrick::getBrickSizes(int
&, int &, int &, int &, int &, int &)':
In file included from /usr/include/vo/Cache.h:12,
                 from voVolume.hxx:54,
                 from voVolume.cxx:42:
/usr/include/vo/Appearance.h:472: warning: assignment to `int' from
`float'
/usr/include/vo/Appearance.h:473: warning: assignment to `int' from
`float'
/usr/include/vo/Appearance.h:474: warning: assignment to `int' from
`float'
voVolume.cxx: In method `voVolume::voVolume()':
voVolume.cxx:83: warning: assignment to `int' from `double'
voVolume.cxx:108: warning: assignment to `int' from `double'
*** Error code 1 (bu21)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Any ideas?

sean

___________________________________________________________________________
Sean Spicer Stanford University Medical Center
Biomechanical Engineering Division of Vascular Surgery, Suite H3642
Cardiovascular Biomechanics Lab Stanford CA, 94305
                                  Telephone...650.723.1695
                                  Fax.........650.723.8762

             http://solvedeath.stanford.edu/~spicer
  


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Fri Mar 24 2000 - 00:52:33 PST