[vtkusers] VTK 5.10 Build on Mac OS X fails

Justin Rosen jmylesrosen at gmail.com
Sun Jun 24 14:47:49 EDT 2012


Marcus,

I seem to remember having to build VTK using X due to PCL, I could be
wrong.  But, running with VTK_USE_COCOA = ON gives me the same error

...
[ 35%] Building CXX object
Filtering/CMakeFiles/vtkFiltering.dir/vtkAtom.cxx.o
In file included from /Users/Justin/Downloads/VTK/Filtering/vtkAtom.cxx:18:
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
‘vtkVector2i operator+(const vtkVector2i&, const vtkVector2i&)’:
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:190: error: invalid
conversion from ‘int*’ to ‘int’
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:190: error:
initializing argument 1 of ‘vtkVector2i::vtkVector2i(int, int)’
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
‘vtkVector2i operator-(const vtkVector2i&, const vtkVector2i&)’:
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:190: error: invalid
conversion from ‘int*’ to ‘int’
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:190: error:
initializing argument 1 of ‘vtkVector2i::vtkVector2i(int, int)’
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
‘vtkVector2i operator*(const vtkVector2i&, const vtkVector2i&)’:
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:190: error: invalid
conversion from ‘int*’ to ‘int’
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:190: error:
initializing argument 1 of ‘vtkVector2i::vtkVector2i(int, int)’
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
‘vtkVector2i operator/(const vtkVector2i&, const vtkVector2i&)’:
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:190: error: invalid
conversion from ‘int*’ to ‘int’
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:190: error:
initializing argument 1 of ‘vtkVector2i::vtkVector2i(int, int)’
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
‘vtkVector2d operator+(const vtkVector2d&, const vtkVector2d&)’:
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:192: error: no
matching function for call to ‘vtkVector2d::vtkVector2d(double*)’
/Users/Justin/Downloads/VTK/Charts/vtkVector.h:249: note: candidates are:
vtkVector2d::vtkVector2d(double, double)
/Users/Justin/Downloads/VTK/Charts/vtkVector.h:247: note:
vtkVector2d::vtkVector2d(const vtkVector2d&)
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
‘vtkVector2d operator-(const vtkVector2d&, const vtkVector2d&)’:
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:192: error: no
matching function for call to ‘vtkVector2d::vtkVector2d(double*)’
/Users/Justin/Downloads/VTK/Charts/vtkVector.h:249: note: candidates are:
vtkVector2d::vtkVector2d(double, double)
/Users/Justin/Downloads/VTK/Charts/vtkVector.h:247: note:
vtkVector2d::vtkVector2d(const vtkVector2d&)
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
‘vtkVector2d operator*(const vtkVector2d&, const vtkVector2d&)’:
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:192: error: no
matching function for call to ‘vtkVector2d::vtkVector2d(double*)’
/Users/Justin/Downloads/VTK/Charts/vtkVector.h:249: note: candidates are:
vtkVector2d::vtkVector2d(double, double)
/Users/Justin/Downloads/VTK/Charts/vtkVector.h:247: note:
vtkVector2d::vtkVector2d(const vtkVector2d&)
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
‘vtkVector2d operator/(const vtkVector2d&, const vtkVector2d&)’:
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:192: error: no
matching function for call to ‘vtkVector2d::vtkVector2d(double*)’
/Users/Justin/Downloads/VTK/Charts/vtkVector.h:249: note: candidates are:
vtkVector2d::vtkVector2d(double, double)
/Users/Justin/Downloads/VTK/Charts/vtkVector.h:247: note:
vtkVector2d::vtkVector2d(const vtkVector2d&)
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
‘vtkVector3i operator+(const vtkVector3i&, const vtkVector3i&)’:
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:193: error: invalid
conversion from ‘int*’ to ‘int’
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:193: error:
initializing argument 1 of ‘vtkVector3i::vtkVector3i(int, int, int)’
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
‘vtkVector3i operator-(const vtkVector3i&, const vtkVector3i&)’:
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:193: error: invalid
conversion from ‘int*’ to ‘int’
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:193: error:
initializing argument 1 of ‘vtkVector3i::vtkVector3i(int, int, int)’
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
‘vtkVector3i operator*(const vtkVector3i&, const vtkVector3i&)’:
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:193: error: invalid
conversion from ‘int*’ to ‘int’
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:193: error:
initializing argument 1 of ‘vtkVector3i::vtkVector3i(int, int, int)’
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
‘vtkVector3i operator/(const vtkVector3i&, const vtkVector3i&)’:
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:193: error: invalid
conversion from ‘int*’ to ‘int’
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:193: error:
initializing argument 1 of ‘vtkVector3i::vtkVector3i(int, int, int)’
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
‘vtkVector3f operator+(const vtkVector3f&, const vtkVector3f&)’:
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:194: error: no
matching function for call to ‘vtkVector3f::vtkVector3f(float*)’
/Users/Justin/Downloads/VTK/Charts/vtkVector.h:261: note: candidates are:
vtkVector3f::vtkVector3f(float, float, float)
/Users/Justin/Downloads/VTK/Charts/vtkVector.h:259: note:
vtkVector3f::vtkVector3f(const vtkVector3f&)
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
‘vtkVector3f operator-(const vtkVector3f&, const vtkVector3f&)’:
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:194: error: no
matching function for call to ‘vtkVector3f::vtkVector3f(float*)’
/Users/Justin/Downloads/VTK/Charts/vtkVector.h:261: note: candidates are:
vtkVector3f::vtkVector3f(float, float, float)
/Users/Justin/Downloads/VTK/Charts/vtkVector.h:259: note:
vtkVector3f::vtkVector3f(const vtkVector3f&)
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
‘vtkVector3f operator*(const vtkVector3f&, const vtkVector3f&)’:
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:194: error: no
matching function for call to ‘vtkVector3f::vtkVector3f(float*)’
/Users/Justin/Downloads/VTK/Charts/vtkVector.h:261: note: candidates are:
vtkVector3f::vtkVector3f(float, float, float)
/Users/Justin/Downloads/VTK/Charts/vtkVector.h:259: note:
vtkVector3f::vtkVector3f(const vtkVector3f&)
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
‘vtkVector3f operator/(const vtkVector3f&, const vtkVector3f&)’:
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:194: error: no
matching function for call to ‘vtkVector3f::vtkVector3f(float*)’
/Users/Justin/Downloads/VTK/Charts/vtkVector.h:261: note: candidates are:
vtkVector3f::vtkVector3f(float, float, float)
/Users/Justin/Downloads/VTK/Charts/vtkVector.h:259: note:
vtkVector3f::vtkVector3f(const vtkVector3f&)
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
‘vtkVector3d operator+(const vtkVector3d&, const vtkVector3d&)’:
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:195: error: no
matching function for call to ‘vtkVector3d::vtkVector3d(double*)’
/Users/Justin/Downloads/VTK/Charts/vtkVector.h:268: note: candidates are:
vtkVector3d::vtkVector3d(double, double, double)
/Users/Justin/Downloads/VTK/Charts/vtkVector.h:266: note:
vtkVector3d::vtkVector3d(const vtkVector3d&)
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
‘vtkVector3d operator-(const vtkVector3d&, const vtkVector3d&)’:
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:195: error: no
matching function for call to ‘vtkVector3d::vtkVector3d(double*)’
/Users/Justin/Downloads/VTK/Charts/vtkVector.h:268: note: candidates are:
vtkVector3d::vtkVector3d(double, double, double)
/Users/Justin/Downloads/VTK/Charts/vtkVector.h:266: note:
vtkVector3d::vtkVector3d(const vtkVector3d&)
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
‘vtkVector3d operator*(const vtkVector3d&, const vtkVector3d&)’:
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:195: error: no
matching function for call to ‘vtkVector3d::vtkVector3d(double*)’
/Users/Justin/Downloads/VTK/Charts/vtkVector.h:268: note: candidates are:
vtkVector3d::vtkVector3d(double, double, double)
/Users/Justin/Downloads/VTK/Charts/vtkVector.h:266: note:
vtkVector3d::vtkVector3d(const vtkVector3d&)
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
‘vtkVector3d operator/(const vtkVector3d&, const vtkVector3d&)’:
/Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:195: error: no
matching function for call to ‘vtkVector3d::vtkVector3d(double*)’
/Users/Justin/Downloads/VTK/Charts/vtkVector.h:268: note: candidates are:
vtkVector3d::vtkVector3d(double, double, double)
/Users/Justin/Downloads/VTK/Charts/vtkVector.h:266: note:
vtkVector3d::vtkVector3d(const vtkVector3d&)
/Users/Justin/Downloads/VTK/Filtering/vtkAtom.cxx: In member function ‘void
vtkAtom::SetPosition(const float*)’:
/Users/Justin/Downloads/VTK/Filtering/vtkAtom.cxx:74: error: no matching
function for call to ‘vtkVector3f::vtkVector3f(const float*&)’
/Users/Justin/Downloads/VTK/Charts/vtkVector.h:261: note: candidates are:
vtkVector3f::vtkVector3f(float, float, float)
/Users/Justin/Downloads/VTK/Charts/vtkVector.h:259: note:
vtkVector3f::vtkVector3f(const vtkVector3f&)
make[2]: *** [Filtering/CMakeFiles/vtkFiltering.dir/vtkAtom.cxx.o] Error 1
make[1]: *** [Filtering/CMakeFiles/vtkFiltering.dir/all] Error 2
make: *** [all] Error 2


On Fri, Jun 22, 2012 at 6:47 AM, Marcus D. Hanwell <
marcus.hanwell at kitware.com> wrote:

> The vktFiltering kit builds here with a very similar configuration
> (using Cocoa instead of X). I am using GCC 4.2.1 with Mac OS X 10.6.8,
> is there any reason you are using X (not that this should affect the
> compile failure you are hitting)? That is the main difference I see
> between my test configuration and yours - X is also not great to work
> with on the Mac.
>
> I tried with the tip of the release branch, but could try grabbing the
> release tarballs to double check there is no bug that crept in there.
>
> Marcus
>
> On Thu, Jun 21, 2012 at 12:44 AM, Justin Rosen <jmylesrosen at gmail.com>
> wrote:
> > I'm getting the following error when compiling 5.10 on Mac OS X 10.6.8
> (gcc
> > 4.2.1 build 5664).  This is with the default configure/generate with
> cmake.
> >
> >  ApplicationServices
> >  /System/Library/Frameworks/ApplicationServices.framework
> >
> >  BUILD_EXAMPLES                   OFF
> >
> >
> >  BUILD_SHARED_LIBS                OFF
> >
> >
> >  BUILD_TESTING                    ON
> >
> >
> >  CMAKE_BACKWARDS_COMPATIBILITY    2.4
> >
> >
> >  CMAKE_BUILD_TYPE                 Debug
> >
> >
> >  CMAKE_INSTALL_PREFIX             /usr/local
> >
> >
> >  CMAKE_OSX_ARCHITECTURES
> >
> >
> >  CMAKE_OSX_DEPLOYMENT_TARGET
> >
> >
> >  CMAKE_OSX_SYSROOT                /Developer/SDKs/MacOSX10.6.sdk
> >
> >
> >  IOKit
>  /System/Library/Frameworks/IOKit.framework
> >
> >
> >  VTK_DATA_ROOT                    VTK_DATA_ROOT-NOTFOUND
> >
> >
> >  VTK_EXTRA_COMPILER_WARNINGS      OFF
> >
> >
> >  VTK_LARGE_DATA_ROOT              VTK_LARGE_DATA_ROOT-NOTFOUND
> >
> >
> >  VTK_USE_CARBON                   OFF
> >
> >
> >  VTK_USE_CHARTS                   ON
> >
> >
> >  VTK_USE_CHEMISTRY                OFF
> >
> >
> >  VTK_USE_COCOA                    OFF
> >
> >
> >  VTK_USE_GEOVIS                   ON
> >
> >
> >  VTK_USE_INFOVIS                  ON
> >
> >
> >  VTK_USE_N_WAY_ARRAYS             ON
> >
> >
> >  VTK_USE_PARALLEL                 OFF
> >
> >
> >  VTK_USE_QT                       OFF
> >
> >
> >  VTK_USE_RENDERING                ON
> >
> >
> >  VTK_USE_TEXT_ANALYSIS            OFF
> >
> >
> >  VTK_USE_VIEWS                    ON
> >
> >
> >  VTK_USE_X                        ON
> >
> >
> >  VTK_WRAP_JAVA                    OFF
> >
> >
> >  VTK_WRAP_PYTHON                  OFF
> >
> >
> >  VTK_WRAP_PYTHON_SIP              OFF
> >
> >
> >  VTK_WRAP_TCL                     OFF
> >
> >
> >
> > Justins-Mac-Pro:VTK-build Justin$ make
> > -- Filter ZLIB is ON
> > -- Configuring done
> > -- Generating done
> > -- Build files have been written to: /Users/Justin/Downloads/VTK-build
> > [  1%] Built target vtksys
> > [  2%] Built target vtkzlib
> > [  2%] Built target H5detect
> > [  2%] Built target H5make_libsettings
> > [  9%] Built target vtkhdf5
> > [  9%] Built target vtkhdf5_hl
> > [ 11%] Built target vtkjpeg
> > [ 12%] Built target vtkpng
> > [ 12%] Built target vtkmkg3states
> > [ 13%] Built target vtktiff
> > [ 14%] Built target vtkexpat
> > [ 14%] Built target vtkfreetype
> > [ 15%] Built target vtklibxml2
> > [ 15%] Built target vtkDICOMParser
> > [ 15%] Built target ProcessShader
> > [ 15%] Built target vtkMaterialLibraryConfiguredFiles
> > [ 19%] Built target vtkproj4
> > [ 19%] Built target lproj
> > [ 19%] Built target mpistubs
> > [ 20%] Built target MapReduceMPI
> > [ 20%] Built target vtkverdict
> > [ 21%] Built target vtkNetCDF
> > [ 21%] Built target vtkNetCDF_cxx
> > [ 22%] Built target vtkmetaio
> > [ 22%] Built target vtksqlite
> > [ 27%] Built target vtkexoIIc
> > [ 27%] Built target LSDyna
> > [ 27%] Built target vtkalglib
> > [ 27%] Built target vtkEncodeString
> > [ 28%] Built target vtkftgl
> > [ 28%] Built target vtkParseOGLExt
> > [ 34%] Built target vtkCommon
> > [ 34%] Building CXX object
> > Filtering/CMakeFiles/vtkFiltering.dir/vtkAtom.cxx.o
> > In file included from
> /Users/Justin/Downloads/VTK/Filtering/vtkAtom.cxx:18:
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
> > ‘vtkVector2i operator+(const vtkVector2i&, const vtkVector2i&)’:
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:190: error:
> invalid
> > conversion from ‘int*’ to ‘int’
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:190: error:
> > initializing argument 1 of ‘vtkVector2i::vtkVector2i(int, int)’
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
> > ‘vtkVector2i operator-(const vtkVector2i&, const vtkVector2i&)’:
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:190: error:
> invalid
> > conversion from ‘int*’ to ‘int’
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:190: error:
> > initializing argument 1 of ‘vtkVector2i::vtkVector2i(int, int)’
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
> > ‘vtkVector2i operator*(const vtkVector2i&, const vtkVector2i&)’:
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:190: error:
> invalid
> > conversion from ‘int*’ to ‘int’
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:190: error:
> > initializing argument 1 of ‘vtkVector2i::vtkVector2i(int, int)’
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
> > ‘vtkVector2i operator/(const vtkVector2i&, const vtkVector2i&)’:
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:190: error:
> invalid
> > conversion from ‘int*’ to ‘int’
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:190: error:
> > initializing argument 1 of ‘vtkVector2i::vtkVector2i(int, int)’
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
> > ‘vtkVector2d operator+(const vtkVector2d&, const vtkVector2d&)’:
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:192: error: no
> > matching function for call to ‘vtkVector2d::vtkVector2d(double*)’
> > /Users/Justin/Downloads/VTK/Charts/vtkVector.h:249: note: candidates are:
> > vtkVector2d::vtkVector2d(double, double)
> > /Users/Justin/Downloads/VTK/Charts/vtkVector.h:247: note:
> > vtkVector2d::vtkVector2d(const vtkVector2d&)
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
> > ‘vtkVector2d operator-(const vtkVector2d&, const vtkVector2d&)’:
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:192: error: no
> > matching function for call to ‘vtkVector2d::vtkVector2d(double*)’
> > /Users/Justin/Downloads/VTK/Charts/vtkVector.h:249: note: candidates are:
> > vtkVector2d::vtkVector2d(double, double)
> > /Users/Justin/Downloads/VTK/Charts/vtkVector.h:247: note:
> > vtkVector2d::vtkVector2d(const vtkVector2d&)
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
> > ‘vtkVector2d operator*(const vtkVector2d&, const vtkVector2d&)’:
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:192: error: no
> > matching function for call to ‘vtkVector2d::vtkVector2d(double*)’
> > /Users/Justin/Downloads/VTK/Charts/vtkVector.h:249: note: candidates are:
> > vtkVector2d::vtkVector2d(double, double)
> > /Users/Justin/Downloads/VTK/Charts/vtkVector.h:247: note:
> > vtkVector2d::vtkVector2d(const vtkVector2d&)
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
> > ‘vtkVector2d operator/(const vtkVector2d&, const vtkVector2d&)’:
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:192: error: no
> > matching function for call to ‘vtkVector2d::vtkVector2d(double*)’
> > /Users/Justin/Downloads/VTK/Charts/vtkVector.h:249: note: candidates are:
> > vtkVector2d::vtkVector2d(double, double)
> > /Users/Justin/Downloads/VTK/Charts/vtkVector.h:247: note:
> > vtkVector2d::vtkVector2d(const vtkVector2d&)
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
> > ‘vtkVector3i operator+(const vtkVector3i&, const vtkVector3i&)’:
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:193: error:
> invalid
> > conversion from ‘int*’ to ‘int’
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:193: error:
> > initializing argument 1 of ‘vtkVector3i::vtkVector3i(int, int, int)’
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
> > ‘vtkVector3i operator-(const vtkVector3i&, const vtkVector3i&)’:
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:193: error:
> invalid
> > conversion from ‘int*’ to ‘int’
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:193: error:
> > initializing argument 1 of ‘vtkVector3i::vtkVector3i(int, int, int)’
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
> > ‘vtkVector3i operator*(const vtkVector3i&, const vtkVector3i&)’:
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:193: error:
> invalid
> > conversion from ‘int*’ to ‘int’
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:193: error:
> > initializing argument 1 of ‘vtkVector3i::vtkVector3i(int, int, int)’
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
> > ‘vtkVector3i operator/(const vtkVector3i&, const vtkVector3i&)’:
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:193: error:
> invalid
> > conversion from ‘int*’ to ‘int’
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:193: error:
> > initializing argument 1 of ‘vtkVector3i::vtkVector3i(int, int, int)’
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
> > ‘vtkVector3f operator+(const vtkVector3f&, const vtkVector3f&)’:
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:194: error: no
> > matching function for call to ‘vtkVector3f::vtkVector3f(float*)’
> > /Users/Justin/Downloads/VTK/Charts/vtkVector.h:261: note: candidates are:
> > vtkVector3f::vtkVector3f(float, float, float)
> > /Users/Justin/Downloads/VTK/Charts/vtkVector.h:259: note:
> > vtkVector3f::vtkVector3f(const vtkVector3f&)
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
> > ‘vtkVector3f operator-(const vtkVector3f&, const vtkVector3f&)’:
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:194: error: no
> > matching function for call to ‘vtkVector3f::vtkVector3f(float*)’
> > /Users/Justin/Downloads/VTK/Charts/vtkVector.h:261: note: candidates are:
> > vtkVector3f::vtkVector3f(float, float, float)
> > /Users/Justin/Downloads/VTK/Charts/vtkVector.h:259: note:
> > vtkVector3f::vtkVector3f(const vtkVector3f&)
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
> > ‘vtkVector3f operator*(const vtkVector3f&, const vtkVector3f&)’:
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:194: error: no
> > matching function for call to ‘vtkVector3f::vtkVector3f(float*)’
> > /Users/Justin/Downloads/VTK/Charts/vtkVector.h:261: note: candidates are:
> > vtkVector3f::vtkVector3f(float, float, float)
> > /Users/Justin/Downloads/VTK/Charts/vtkVector.h:259: note:
> > vtkVector3f::vtkVector3f(const vtkVector3f&)
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
> > ‘vtkVector3f operator/(const vtkVector3f&, const vtkVector3f&)’:
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:194: error: no
> > matching function for call to ‘vtkVector3f::vtkVector3f(float*)’
> > /Users/Justin/Downloads/VTK/Charts/vtkVector.h:261: note: candidates are:
> > vtkVector3f::vtkVector3f(float, float, float)
> > /Users/Justin/Downloads/VTK/Charts/vtkVector.h:259: note:
> > vtkVector3f::vtkVector3f(const vtkVector3f&)
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
> > ‘vtkVector3d operator+(const vtkVector3d&, const vtkVector3d&)’:
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:195: error: no
> > matching function for call to ‘vtkVector3d::vtkVector3d(double*)’
> > /Users/Justin/Downloads/VTK/Charts/vtkVector.h:268: note: candidates are:
> > vtkVector3d::vtkVector3d(double, double, double)
> > /Users/Justin/Downloads/VTK/Charts/vtkVector.h:266: note:
> > vtkVector3d::vtkVector3d(const vtkVector3d&)
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
> > ‘vtkVector3d operator-(const vtkVector3d&, const vtkVector3d&)’:
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:195: error: no
> > matching function for call to ‘vtkVector3d::vtkVector3d(double*)’
> > /Users/Justin/Downloads/VTK/Charts/vtkVector.h:268: note: candidates are:
> > vtkVector3d::vtkVector3d(double, double, double)
> > /Users/Justin/Downloads/VTK/Charts/vtkVector.h:266: note:
> > vtkVector3d::vtkVector3d(const vtkVector3d&)
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
> > ‘vtkVector3d operator*(const vtkVector3d&, const vtkVector3d&)’:
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:195: error: no
> > matching function for call to ‘vtkVector3d::vtkVector3d(double*)’
> > /Users/Justin/Downloads/VTK/Charts/vtkVector.h:268: note: candidates are:
> > vtkVector3d::vtkVector3d(double, double, double)
> > /Users/Justin/Downloads/VTK/Charts/vtkVector.h:266: note:
> > vtkVector3d::vtkVector3d(const vtkVector3d&)
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h: In function
> > ‘vtkVector3d operator/(const vtkVector3d&, const vtkVector3d&)’:
> > /Users/Justin/Downloads/VTK/Common/vtkVectorOperators.h:195: error: no
> > matching function for call to ‘vtkVector3d::vtkVector3d(double*)’
> > /Users/Justin/Downloads/VTK/Charts/vtkVector.h:268: note: candidates are:
> > vtkVector3d::vtkVector3d(double, double, double)
> > /Users/Justin/Downloads/VTK/Charts/vtkVector.h:266: note:
> > vtkVector3d::vtkVector3d(const vtkVector3d&)
> > /Users/Justin/Downloads/VTK/Filtering/vtkAtom.cxx: In member function
> ‘void
> > vtkAtom::SetPosition(const float*)’:
> > /Users/Justin/Downloads/VTK/Filtering/vtkAtom.cxx:74: error: no matching
> > function for call to ‘vtkVector3f::vtkVector3f(const float*&)’
> > /Users/Justin/Downloads/VTK/Charts/vtkVector.h:261: note: candidates are:
> > vtkVector3f::vtkVector3f(float, float, float)
> > /Users/Justin/Downloads/VTK/Charts/vtkVector.h:259: note:
> > vtkVector3f::vtkVector3f(const vtkVector3f&)
> > make[2]: *** [Filtering/CMakeFiles/vtkFiltering.dir/vtkAtom.cxx.o] Error
> 1
> > make[1]: *** [Filtering/CMakeFiles/vtkFiltering.dir/all] Error 2
> > make: *** [all] Error 2
> >
> > Any ideas?
> >
> > Thanks
> > Justin
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120624/b799f1e6/attachment.htm>


More information about the vtkusers mailing list