[Paraview] c++ Plug-in in Mac, compatibility with official binary??
Felipe Bordeu
felipe.bordeu at ec-nantes.fr
Thu Sep 13 06:56:40 EDT 2012
Hello,
I build Paraview 3.14.1 (git version) using superbuild using qt v 4.6.4
(cocoa) in my mac.
cmake -D CMAKE_BUILD_TYPE:string=Release -D
PARAVIEW_EXTERNAL_PLUGIN_DIRS:STRING="/Users/fbordeu/ParaView/ParaviewPXDMFReader;/Users/fbordeu/ParaView/AnnotateFieldData"
-D PARAVIEW_INSTALL_DEVELOPMENT:BOOL=ON -D
CMAKE_INSTALL_PREFIX:PATH=/Users/fbordeu/ParaView/builds/ParaViewSuperBuild_dist
-D VTK_USE_COCOA=ON -D CMAKE_OSX_ARCHITECTURES=x86_64 -D
CMAKE_OSX_DEPLOYMENT_TARGET=10.5 -D
CMAKE_OSX_SYSROOT=/Developer/SDKs/MacOSX10.5.sdk -D
PARAVIEW_USE_MPI:BOOL=OFF -D
QT_QTUITOOLS_INCLUDE_DIR=/usr/include/QtUiTools/
/Users/fbordeu/ParaView/ParaView/SuperBuild/
Remark :
the page : http://www.paraview.org/Wiki/ParaView/Binaries said that the
official binary use 10.5 SDK
but the page http://www.paraview.org/Wiki/ParaView:Superbuild said
"ParaView Super-Build has only been tested for x86_64 architecture using
10.6 (Snow Leopard) SDK. " (I know that this page is under construction).
compilation runs fine and packaging run also fine.
cd
/Users/fbordeu/ParaView/builds/ParaViewSuperBuild_bin/ParaView-build/Applications/ParaView;
cpack -G DragNDrop -C Release --config CPackParaViewConfig.cmake
THE PROBLEM:
my plugin is linked to a series of libraries (that I dont use), and they
are not distributed inside de official binary. So my plug in is not
compatible with the official binary
any idea???
Felipe
otool of the plugin in the dmg
otool -L libPXDMFReader.dylib:
@executable_path/../Libraries/libPXDMFReader.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libpqComponents.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkPVServerManager.dylib
(compatibility version 0.0.0, current version 0.0.0)
/System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
(compatibility version 1.0.0, current version 242.0.0)
@executable_path/../Libraries/libQtPython.dylib (compatibility
version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libpqCore.dylib (compatibility
version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libQtTesting.dylib (compatibility
version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libpqWidgets.dylib (compatibility
version 0.0.0, current version 0.0.0)
libQtCLucene.4.dylib (compatibility version 4.6.0, current
version 4.6.4)
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
(compatibility version 1.0.0, current version 12.0.0)
@executable_path/../Frameworks/QtHelp.framework/Versions/4/QtHelp
(compatibility version 4.6.0, current version 4.6.4)
@executable_path/../Libraries/libvtkPVServerManagerPythonD.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkPVServerImplementationCS.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkVisItDatabasesCS.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkVisItAVTAlgorithmsCS.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkVisItDatabases.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkVisItAVTAlgorithms.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libavtdatabase_ser.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libavtpipeline_ser.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libavtdbatts.dylib (compatibility
version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libavtivp.dylib (compatibility
version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvisit_vtk.dylib (compatibility
version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/liblightweight_visit_vtk.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libavtmath.dylib (compatibility
version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvisitcommon.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libsiloh5.dylib (compatibility
version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkPVServerImplementationPythonD.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkPVServerImplementation.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libprotobuf.dylib (compatibility
version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkPVClientServerCoreCS.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkPVClientServerCorePythonD.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkPVClientServerCore.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkPVPythonInterpretor.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkPVVTKExtensionsCS.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkViewsPythonD.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkInfovisPythonD.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkPVVTKExtensionsPythonD.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkPVVTKExtensions.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libQVTK.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Frameworks/QtWebKit.framework/Versions/4/QtWebKit
(compatibility version 4.6.0, current version 4.6.4)
@executable_path/../Frameworks/phonon.framework/Versions/4/phonon
(compatibility version 4.3.0, current version 4.3.1)
@executable_path/../Frameworks/QtDBus.framework/Versions/4/QtDBus
(compatibility version 4.6.0, current version 4.6.4)
@executable_path/../Frameworks/QtXml.framework/Versions/4/QtXml
(compatibility version 4.6.0, current version 4.6.4)
@executable_path/../Frameworks/QtXmlPatterns.framework/Versions/4/QtXmlPatterns
(compatibility version 4.6.0, current version 4.6.4)
@executable_path/../Libraries/libvtkPVCommonCS.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkWidgetsCS.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkHybridCS.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkVolumeRenderingCS.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkXdmfCS.dylib (compatibility
version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkXdmf.dylib (compatibility
version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libXdmf.dylib (compatibility
version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkChartsCS.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkCharts.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkViewsCS.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkInfovisCS.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkParallelCS.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkRenderingCS.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkGenericFilteringCS.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkGenericFiltering.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkGraphicsCS.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkImagingCS.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkViews.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkInfovis.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtklibxml2.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
current version 111.1.4)
@executable_path/../Libraries/libvtkalglib.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libKWCommon.dylib (compatibility
version 0.0.0, current version 0.0.0)
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
(compatibility version 1.0.0, current version 1.0.0)
@executable_path/../Libraries/libvtkPVCommonPythonD.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkPVCommon.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkIOCS.dylib (compatibility
version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkFilteringCS.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkCommonCS.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkClientServer.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkWidgetsPythonD.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkWidgets.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkVolumeRendering.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkHybridPythonD.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkHybrid.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkParallelPythonD.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkParallel.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkexoIIc.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libVPIC.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libCosmo.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkIOPythonD.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkRenderingPythonD.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkRendering.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Frameworks/QtGui.framework/Versions/4/QtGui
(compatibility version 4.6.0, current version 4.6.4)
@executable_path/../Frameworks/QtSql.framework/Versions/4/QtSql
(compatibility version 4.6.0, current version 4.6.4)
@executable_path/../Frameworks/QtCore.framework/Versions/4/QtCore
(compatibility version 4.6.0, current version 4.6.4)
@executable_path/../Libraries/libvtkIO.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkNetCDF.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libhdf5.7.2.0.dylib
(compatibility version 7.2.0, current version 1.8.8)
@executable_path/../Libraries/libhdf5_hl.7.2.0.dylib
(compatibility version 7.2.0, current version 1.8.8)
@executable_path/../Libraries/libvtktiff.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libz.1.dylib (compatibility
version 1.0.0, current version 1.2.5)
@executable_path/../Libraries/libvtkjpeg.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libLSDyna.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkDICOMParser.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkNetCDF_cxx.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkmetaio.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtksqlite.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkexpat.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkftgl.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkfreetype.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkGraphicsPythonD.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkGraphics.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkverdict.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkImagingPythonD.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkImaging.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkFilteringPythonD.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkFiltering.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkCommonPythonD.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkPythonCore.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtkCommon.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
@executable_path/../Libraries/libvtksys.pv3.14.dylib
(compatibility version 0.0.0, current version 0.0.0)
/System/Library/Frameworks/Python.framework/Versions/2.5/Python
(compatibility version 2.5.0, current version 2.5.1)
@executable_path/../Frameworks/QtNetwork.framework/Versions/4/QtNetwork
(compatibility version 4.6.0, current version 4.6.4)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0,
current version 7.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
version 1.0.0)
--
Felipe Bordeu Weldt
Ingénieur de Recherche
-------------------------------------
Tél. : 33 (0)2 40 37 16 57
Fax. : 33 (0)2 40 74 74 06
Felipe.Bordeu at ec-nantes.fr
Institut GeM - UMR CNRS 6183
École Centrale Nantes
1 Rue de La Noë, 44321 Nantes, FRANCE
-------------------------------------
More information about the ParaView
mailing list