[vtkusers] mac compilation still fails

Mark Roden mmroden at gmail.com
Tue Nov 30 12:09:23 EST 2010


Thanks for the pointer.

Now, when I compile with Unix Makefiles after deleting the cache and
starting again, I get these errors:

Scanning dependencies of target vtkCommonJava
[ 15%] Building CXX object
Common/CMakeFiles/vtkCommonJava.dir/vtkAbstractArrayJava.cxx.o
[ 15%] Building CXX object
Common/CMakeFiles/vtkCommonJava.dir/vtkAbstractTransformJava.cxx.o
[ 15%] Building CXX object
Common/CMakeFiles/vtkCommonJava.dir/vtkAmoebaMinimizerJava.cxx.o
[ 15%] Building CXX object
Common/CMakeFiles/vtkCommonJava.dir/vtkAnimationCueJava.cxx.o
[ 16%] Building CXX object
Common/CMakeFiles/vtkCommonJava.dir/vtkAnimationSceneJava.cxx.o
[ 16%] Building CXX object
Common/CMakeFiles/vtkCommonJava.dir/vtkArrayIteratorJava.cxx.o
[ 16%] Building CXX object
Common/CMakeFiles/vtkCommonJava.dir/vtkAssemblyNodeJava.cxx.o
[ 16%] Building CXX object
Common/CMakeFiles/vtkCommonJava.dir/vtkAssemblyPathJava.cxx.o
[ 16%] Building CXX object
Common/CMakeFiles/vtkCommonJava.dir/vtkAssemblyPathsJava.cxx.o
[ 16%] Building CXX object
Common/CMakeFiles/vtkCommonJava.dir/vtkBitArrayJava.cxx.o
[ 16%] Building CXX object
Common/CMakeFiles/vtkCommonJava.dir/vtkBitArrayIteratorJava.cxx.o
[ 16%] Building CXX object
Common/CMakeFiles/vtkCommonJava.dir/vtkBoxJava.cxx.o
[ 16%] Building CXX object
Common/CMakeFiles/vtkCommonJava.dir/vtkBoxMuellerRandomSequenceJava.cxx.o
[ 16%] Building CXX object
Common/CMakeFiles/vtkCommonJava.dir/vtkByteSwapJava.cxx.o
[ 16%] Building CXX object
Common/CMakeFiles/vtkCommonJava.dir/vtkCharArrayJava.cxx.o
In file included from
/Users/mmroden/Documents/src/vtk/VTK/Common/vtkArrayIteratorTemplateImplicit.txx:23,
                 from
/Users/mmroden/Documents/src/vtk/VTK/Common/vtkArrayIteratorTemplate.h:112,
                 from
/Users/mmroden/Documents/src/vtk/VTK/Common/vtkDataArrayTemplate.txx:20,
                 from
/Users/mmroden/Documents/src/vtk/VTK/Common/vtkDataArrayTemplateImplicit.txx:23,
                 from
/Users/mmroden/Documents/src/vtk/VTK/Common/vtkDataArrayTemplate.h:298,
                 from
/Users/mmroden/Documents/src/vtk/VTK/Common/vtkCharArray.h:30,
                 from
/Users/mmroden/Documents/src/vtk/VTK-build/Common/vtkCharArrayJava.cxx:6:
/Users/mmroden/Documents/src/vtk/VTK/Common/vtkArrayIteratorTemplate.txx: In
member function ‘void vtkArrayIteratorTemplate<T>::PrintSelf(std::ostream&,
vtkIndent)’:
/Users/mmroden/Documents/src/vtk/VTK/Common/vtkArrayIteratorTemplate.txx:123:
error: ambiguous overload for ‘operator<<’ in ‘(os << indent) << "Array: "’
/Users/mmroden/Documents/src/vtk/VTK/Common/vtkVariant.h:397: note:
candidates are: std::ostream& operator<<(std::ostream&, const vtkVariant&)
/Users/mmroden/Documents/src/vtk/VTK/Common/vtkStdString.h:28: note:
        std::ostream& operator<<(std::ostream&, const vtkStdString&)
/Users/mmroden/Documents/src/vtk/VTK/Common/vtkArrayIteratorTemplate.txx:126:
error: ambiguous overload for ‘operator<<’ in ‘os << "\012"’
/Users/mmroden/Documents/src/vtk/VTK/Common/vtkVariant.h:397: note:
candidates are: std::ostream& operator<<(std::ostream&, const vtkVariant&)
/Users/mmroden/Documents/src/vtk/VTK/Common/vtkStdString.h:28: note:
        std::ostream& operator<<(std::ostream&, const vtkStdString&)
/Users/mmroden/Documents/src/vtk/VTK/Common/vtkArrayIteratorTemplate.txx:131:
error: ambiguous overload for ‘operator<<’ in ‘os << "(none)"’
/Users/mmroden/Documents/src/vtk/VTK/Common/vtkVariant.h:397: note:
candidates are: std::ostream& operator<<(std::ostream&, const vtkVariant&)
/Users/mmroden/Documents/src/vtk/VTK/Common/vtkStdString.h:28: note:
        std::ostream& operator<<(std::ostream&, const vtkStdString&)
make[2]: *** [Common/CMakeFiles/vtkCommonJava.dir/vtkCharArrayJava.cxx.o]
Error 1
make[1]: *** [Common/CMakeFiles/vtkCommonJava.dir/all] Error 2
make: *** [all] Error 2


On Tue, Nov 30, 2010 at 5:11 AM, Michael Jackson <
mike.jackson at bluequartz.net> wrote:

> Have CMake generate "Makefiles" instead of "Xcode" projects. Then from the
> command line simply type "make". You can still use the CMake-GUI to perform
> the CMake step if you want to.
>
> ___________________________________________________________
> Mike Jackson                      www.bluequartz.net
> Principal Software Engineer       mike.jackson at bluequartz.net
> BlueQuartz Software               Dayton, Ohio
>
>
>
> On Nov 29, 2010, at 11:34 PM, Mark Roden wrote:
>
> > Hi all,
> >
> > I just resynced to vtk head.  Mac compilation via xcode still fails.
> >
> > Any ideas on a fix?
> >
> > When this was talked about last, the command line options were mentioned.
>  What are those?  Make doesn't work, and cmake appears to just be a command
> line version of the gui.
> >
> > Thanks,
> > Mark
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101130/8646c50b/attachment.htm>


More information about the vtkusers mailing list