[Smtk-developers] Trying to build SMTK with latest ParaView

Robert Maynard robert.maynard at kitware.com
Tue Sep 20 08:36:14 EDT 2016


As far as the override warnings, they are being generated because of
compiling ParaView with C++11 enabled.

People are working on reducing the number of those warnings, but you
might want to explicitly suppress the inconsistent override warning (
-Wno-inconsistent-missing-override )

On Mon, Sep 19, 2016 at 8:58 PM, Bob Obara <bob.obara at kitware.com> wrote:
> Hi All,
>
> When I try to compile SMTK with ParaView’s master branch I get the following
> -  the symbol its looking for seems to be there.
> I also noted a ton of override warnings.
>
> Any ideas?
>
> Bob
>
>
> [12/460] Building CXX object
> smtk/extension/paraview/appcomponents/CMakeFiles/smtkPQComponentsExt.dir/pqPluginSMTKViewBehavior.cxx.o
> FAILED: : &&
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
> -fPIC
> --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
> -std=c++11 -stdlib=libc++  -O3 -DNDEBUG -isysroot
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
> -dynamiclib -Wl,-headerpad_max_install_names  -o
> lib/libvtkSMTKSourceExt-7.1.1.dylib -install_name
> @rpath/libvtkSMTKSourceExt-7.1.1.dylib
> smtk/extension/vtk/source/CMakeFiles/vtkSMTKSourceExt.dir/vtkMeshMultiBlockSource.cxx.o
> smtk/extension/vtk/source/CMakeFiles/vtkSMTKSourceExt.dir/vtkModelMultiBlockSource.cxx.o
> smtk/extension/vtk/source/CMakeFiles/vtkSMTKSourceExt.dir/vtkModelRepresentation.cxx.o
> smtk/extension/vtk/source/CMakeFiles/vtkSMTKSourceExt.dir/vtkModelSource.cxx.o
> smtk/extension/vtk/source/CMakeFiles/vtkSMTKSourceExt.dir/vtkModelView.cxx.o
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkViewsInfovis-pv5.1.1.dylib
> lib/libsmtkCore.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkRenderingMatplotlib-pv5.1.1.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkRenderingContextOpenGL2-pv5.1.1.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkRenderingVolumeOpenGL2-pv5.1.1.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkRenderingGL2PSOpenGL2-pv5.1.1.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkIOGeometry-pv5.1.1.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkViewsCore-pv5.1.1.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkInteractionWidgets-pv5.1.1.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkInteractionStyle-pv5.1.1.dylib
> lib/libcJSON.a thirdparty/moab/lib/libMOAB.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkPythonInterpreter-pv5.1.1.dylib
> /usr/lib/libpython2.7.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkRenderingContext2D-pv5.1.1.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkRenderingFreeType-pv5.1.1.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkfreetype-pv5.1.1.dylib
> -framework ApplicationServices -framework CoreServices
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkRenderingOpenGL2-pv5.1.1.dylib
> -framework Cocoa
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/install/lib/libhdf5.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/install/lib/libsz.dylib
> /usr/lib/libdl.dylib /usr/lib/libm.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/install/lib/libnetcdf.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/install/lib/libnetcdf_c++.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/install/lib/libhdf5.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/install/lib/libsz.dylib
> /usr/lib/libdl.dylib /usr/lib/libm.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/install/lib/libnetcdf.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/install/lib/libnetcdf_c++.dylib
> /usr/lib/libz.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkRenderingVolume-pv5.1.1.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkIOXML-pv5.1.1.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkIOXMLParser-pv5.1.1.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkRenderingCore-pv5.1.1.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkFiltersGeometry-pv5.1.1.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkImagingCore-pv5.1.1.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkglew-pv5.1.1.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkFiltersSources-pv5.1.1.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkFiltersGeneral-pv5.1.1.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkFiltersCore-pv5.1.1.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkIOLegacy-pv5.1.1.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkIOCore-pv5.1.1.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkCommonExecutionModel-pv5.1.1.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkCommonDataModel-pv5.1.1.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkCommonTransforms-pv5.1.1.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkCommonMisc-pv5.1.1.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkCommonMath-pv5.1.1.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtkCommonCore-pv5.1.1.dylib
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/paraview/build/lib/libvtksys-pv5.1.1.dylib
> -Wl,-rpath,/Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/smtk/build/lib
> && :
> Undefined symbols for architecture x86_64:
>   "vtkConvertSelection::ToSelectionType(vtkSelection*, vtkDataObject*, int,
> vtkStringArray*, int)", referenced from:
>       vtkModelRepresentation::ConvertSelection(vtkView*, vtkSelection*) in
> vtkModelRepresentation.cxx.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> In file included from
> smtk/bridge/discrete/TestBuild_smtk_bridge_discrete_ImportOperator.cxx:10:
> In file included from
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/smtk/src/smtk/bridge/discrete/operators/ImportOperator.h:16:
> /Users/obara/Projects/Kitware/Builds/CMBSuperBuildParaViewMaster/superbuild/smtk/src/smtk/bridge/discrete/operation/vtkCMBModelBuilder.h:36:8:
> warning: 'PrintSelf' overrides a member function but is not marked
> 'override' [-Winconsistent-missing-override]
>   void PrintSelf(ostream& os, vtkIndent indent);
>        ^
> Robert M. O'Bara, MEng.
> Assistant Director of Scientific Computing
>
> Kitware Inc.
> 28 Corporate Drive
> Suite 101
> Clifton Park, NY 12065
>
> Phone: (518) 881- 4931
>
>
>
>
>
> _______________________________________________
> Smtk-developers mailing list
> Smtk-developers at smtk.org
> http://public.kitware.com/mailman/listinfo/smtk-developers
>


More information about the Smtk-developers mailing list