Well it looks like there may be some missing libraries that are needed by the linker.
The _CF* stuff is either in the Carbon library or the AppFramework so maybe the cmake files need to be updated to allow the vtkPVServerCommon to be linked against some OS X specific frameworks. Mike On Sun, Aug 2, 2009 at 8:06 AM, Pierre-Olivier Dallaire<[email protected]> wrote: > Here is what I get, thanks ! > Linking CXX shared library ../../bin/libvtkPVServerCommon.dylib > cd /Volumes/OpenFOAM1.6/SRC/build/Servers/Common && > /opt/cmake-2.6.4/bin/cmake -E cmake_link_script > CMakeFiles/vtkPVServerCommon.dir/link.txt --verbose=1 > /usr/bin/g++-4.2 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk > -Wno-deprecated -O3 -DNDEBUG -dynamiclib -headerpad_max_install_names -o > ../../bin/libvtkPVServerCommon.dylib -install_name > /Volumes/OpenFOAM1.6/SRC/build/bin/libvtkPVServerCommon.dylib > CMakeFiles/vtkPVServerCommon.dir/vtkCacheSizeKeeper.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkCellIntegrator.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkClientConnection.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkConnectionIterator.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkMPISelfConnection.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkMultiProcessControllerHelper.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPriorityHelper.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkProcessModuleConnection.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkProcessModuleConnectionManager.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkProcessModule.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkProcessModuleGUIHelper.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVAlgorithmPortsInformation.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVArrayInformation.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVCacheSizeInformation.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVClassNameInformation.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVClientServerIdCollectionInformation.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVCompositeDataInformation.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVCompositeDataInformationIterator.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVDataInformation.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVDataSetAttributesInformation.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVDataSizeInformation.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVDisplayInformation.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVEnvironmentInformation.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVEnvironmentInformationHelper.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVFileInformation.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVFileInformationHelper.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVGenericAttributeInformation.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVInformation.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVOpenGLExtensionsInformation.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVPluginLoader.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVProgressHandler.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVPythonModule.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVSelectionInformation.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVServerInformation.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVServerOptions.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVSILInformation.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVTestUtilities.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVTimerInformation.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkRemoteConnection.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkSelectionConverter.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkSelectionSerializer.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkSelfConnection.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkServerConnection.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkStringList.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkSynchronousMPISelfConnection.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkUndoElement.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkUndoSet.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkUndoStack.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkMPIMToNSocketConnection.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkMPIMToNSocketConnectionPortInformation.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVServerSocket.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkCommandOptions.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkCommandOptionsXMLParser.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVOptions.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVOptionsXMLParser.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVXMLParser.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVXMLElement.cxx.o > CMakeFiles/vtkPVServerCommon.dir/vtkPVServerCommonInstantiator.cxx.o > ../../bin/libvtkHybridCS.dylib ../../bin/libvtkParallelCS.dylib > ../../bin/libvtkInfovisCS.dylib ../../bin/libKWCommon.dylib > ../../bin/libvtksys.pv3.7.dylib ../../bin/libvtkhdf5.dylib > ../../bin/libvtkClientServer.dylib ../../bin/libvtkPVCommandOptions.dylib > ../../bin/libvtkParallelCS.dylib ../../bin/libvtkRenderingCS.dylib > ../../bin/libvtkGenericFilteringCS.dylib > ../../bin/libvtkGenericFiltering.pv3.7.dylib > ../../bin/libvtkGraphicsCS.dylib ../../bin/libvtkImagingCS.dylib > ../../bin/libvtkIOCS.dylib ../../bin/libvtkInfovis.pv3.7.dylib > ../../bin/libvtkWidgets.pv3.7.dylib ../../bin/libvtkHybrid.pv3.7.dylib > ../../bin/libvtkParallel.pv3.7.dylib ../../bin/libvtkexoIIc.pv3.7.dylib > ../../bin/libvtkRendering.pv3.7.dylib ../../bin/libvtkGraphics.pv3.7.dylib > ../../bin/libvtkverdict.pv3.7.dylib ../../bin/libvtkImaging.pv3.7.dylib > ../../bin/libvtkftgl.pv3.7.dylib ../../bin/libvtkfreetype.pv3.7.dylib > ../../bin/libvtklibxml2.pv3.7.dylib ../../bin/libvtkalglib.pv3.7.dylib > ../../bin/libvtkFilteringCS.dylib ../../bin/libvtkCommonCS.dylib > ../../bin/libvtkClientServer.dylib -lm ../../bin/libvtkIO.pv3.7.dylib > ../../bin/libvtkzlib.pv3.7.dylib ../../bin/libvtkFiltering.pv3.7.dylib > ../../bin/libvtkCommon.pv3.7.dylib ../../bin/libvtksys.pv3.7.dylib > ../../bin/libvtkDICOMParser.pv3.7.dylib ../../bin/libvtkNetCDF.pv3.7.dylib > ../../bin/libvtkmetaio.pv3.7.dylib ../../bin/libvtksqlite.pv3.7.dylib > ../../bin/libvtkpng.pv3.7.dylib ../../bin/libvtkjpeg.pv3.7.dylib > ../../bin/libvtktiff.pv3.7.dylib ../../bin/libvtkexpat.pv3.7.dylib > > On 2-Aug-09, at 12:38 AM, Mike Jackson wrote: > > Run "make VERBOSE=1" and post only the final link command. I have an idea > what it might be. > Mike jackson > > Sent from my iPod > On Aug 1, 2009, at 22:57, Pierre-Olivier Dallaire > <[email protected]> wrote: > > Good evening, > I have slightly modified the patch > from http://markmail.org/thread/m2asfe3wod52k2ym and applied it > on the cvs paraview. This error occurs : > [ 71%] Building CXX object > Servers/Common/CMakeFiles/vtkPVServerCommon.dir/vtkPVServerCommonInstantiator.cxx.o > Linking CXX shared library ../../bin/libvtkPVServerCommon.dylib > Undefined symbols: > "_CFStringCreateWithCharacters", referenced from: > vtkPVFileInformation::GetSpecialDirectories() in > vtkPVFileInformation.cxx.o > "_DisposeHandle", referenced from: > vtkPVFileInformation::GetSpecialDirectories() in > vtkPVFileInformation.cxx.o > vtkPVFileInformation::GetSpecialDirectories() in > vtkPVFileInformation.cxx.o > "_kCFAllocatorDefault", referenced from: > vtkPVFileInformation::GetSpecialDirectories() in > vtkPVFileInformation.cxx.o > "_NewHandle", referenced from: > vtkPVFileInformation::GetSpecialDirectories() in > vtkPVFileInformation.cxx.o > "_FSResolveAlias", referenced from: > vtkPVFileInformation::GetSpecialDirectories() in > vtkPVFileInformation.cxx.o > "_CFStringGetLength", referenced from: > vtkPVFileInformation::GetSpecialDirectories() in > vtkPVFileInformation.cxx.o > vtkPVFileInformation::GetSpecialDirectories() in > vtkPVFileInformation.cxx.o > vtkPVFileInformation::GetSpecialDirectories() in > vtkPVFileInformation.cxx.o > vtkPVFileInformation::GetSpecialDirectories() in > vtkPVFileInformation.cxx.o > "_FSGetVolumeInfo", referenced from: > vtkPVFileInformation::GetSpecialDirectories() in > vtkPVFileInformation.cxx.o > "_CFStringGetTypeID", referenced from: > vtkPVFileInformation::GetSpecialDirectories() in > vtkPVFileInformation.cxx.o > "_CFRelease", referenced from: > vtkPVFileInformation::GetSpecialDirectories() in > vtkPVFileInformation.cxx.o > vtkPVFileInformation::GetSpecialDirectories() in > vtkPVFileInformation.cxx.o > vtkPVFileInformation::GetSpecialDirectories() in > vtkPVFileInformation.cxx.o > "_CFGetTypeID", referenced from: > .... and more ... > ld: symbol(s) not found > collect2: ld returned 1 exit status > make[2]: *** [bin/libvtkPVServerCommon.dylib] Error 1 > make[1]: *** [Servers/Common/CMakeFiles/vtkPVServerCommon.dir/all] Error 2 > make: *** [all] Error 2 > any idea / is it only related to Mac OS X ? > Regards, > PO > On 31-Jul-09, at 5:01 PM, Berk Geveci wrote: > > Mike, > > I would like to have the cvs ParaView working with Cocoa (hopefully > while still preserving Carbon build functionality). Do you have > patches to do this? If not, can we work together to get this working? > > Thanks, > -berk > > On Fri, Jul 31, 2009 at 4:52 PM, Michael > Jackson<[email protected]> wrote: > > Index: CMakeLists.txt > > =================================================================== > > RCS file: /cvsroot/ParaView3/ParaView3/CMakeLists.txt,v > > retrieving revision 1.97.2.1 > > diff -u -r1.97.2.1 CMakeLists.txt > > --- CMakeLists.txt 18 May 2009 20:34:23 -0000 1.97.2.1 > > +++ CMakeLists.txt 11 Jun 2009 18:20:48 -0000 > > @@ -106,10 +106,13 @@ > > ENDIF (NOT qt_version4_x_tmp) > > ENDIF (NOT qt_version_tmp) > > # enforce Carbon in VTK for Qt/Mac > > - IF(Q_WS_MAC) > > + IF(Q_WS_MAC AND QT_MAC_USE_COCOA) > > + SET(VTK_USE_CARBON OFF CACHE BOOL "Build VTK with Carbon" FORCE) > > + SET(VTK_USE_COCOA ON CACHE BOOL "Build VTK with Cocoa" FORCE) > > + ELSE(Q_WS_MAC AND QT_MAC_USE_COCOA) > > SET(VTK_USE_CARBON ON CACHE BOOL "Build VTK with Carbon" FORCE) > > SET(VTK_USE_COCOA OFF CACHE BOOL "Build VTK with Cocoa" FORCE) > > - ENDIF(Q_WS_MAC) > > + ENDIF(Q_WS_MAC AND QT_MAC_USE_COCOA) > > ENDIF(NOT QT4_FOUND) > > ELSE (PARAVIEW_BUILD_QT_GUI) > > SET(VTK_USE_QT OFF CACHE BOOL "Build VTK with Qt Support" FORCE) > > Index: Qt/Widgets/pqProgressBarHelper.cxx > > =================================================================== > > Here is patch (kinda crappy I know.. ) but if you can pick through it you > > can see what you will need to change. I think there may be some other > > problems but get this put in place and try the build again. > > I _do_ have a functioning PV 3.6 64 Bit Cocoa build running on OS X intel > > (Mac Pro) so I know it works. > > Good Luck. > > _________________________________________________________ > > Mike Jackson [email protected] > > BlueQuartz Software www.bluequartz.net > > Principal Software Engineer Dayton, Ohio > > > > On Jul 31, 2009, at 3:27 PM, Pierre-Olivier Dallaire wrote: > > Good afternoon, > > I'm tryig to get a fully functional paraview installation based on qt > > cocoa 64. Here are the steps that I have followed : > > 0) Compile a fresh version of cmake-2.6.4 > > 1) Compile QT with Cocoa option and arch x86_64 / this worked without > > problem > > 2) Configure paraview using BUILD_SHARED_LIBS:BOOL=ON, > > CMAKE_OSX_ARCHITECTURES:STRING=x86_64, VTK_USE_CARBON:BOOL=OFF and > > VTK_USE_COCOA:BOOL=ON > > When re-running cmake to take into account my new settings, VTK_USE_CARBON > > switches back to ON and VTK_USE_COCOA to OFF. > > However, my qt cocoa flavor is found by cmake ; > > -- Looking for QT_MAC_USE_COCOA > > -- Looking for QT_MAC_USE_COCOA - found > > -- Found Qt-Version 4.5.2 > > What is the problem here / it seems that ParaView does want to use cocoa > > ??? > > Thanks ! > > PO > > _______________________________________________ > > 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 ParaView Wiki at: > > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > > http://www.paraview.org/mailman/listinfo/paraview > > _______________________________________________ > > 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 ParaView Wiki at: > > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > > http://www.paraview.org/mailman/listinfo/paraview > > > > -- Mike Jackson [email protected] BlueQuartz Software www.bluequartz.net _______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
