<html><body bgcolor="#FFFFFF"><div>Run "make VERBOSE=1" and post only the final link command. I have an idea what it might be.&nbsp;</div><div><br></div><div>Mike jackson&nbsp;<br><br>Sent from my iPod</div><div><br>On Aug 1, 2009, at 22:57, Pierre-Olivier Dallaire &lt;<a href="mailto:pierre-olivier.dallaire@videotron.ca">pierre-olivier.dallaire@videotron.ca</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>Good evening,<div><br></div><div>I have slightly modified the patch from&nbsp;<a href="http://markmail.org/thread/m2asfe3wod52k2ym"><a href="http://markmail.org/thread/m2asfe3wod52k2ym">http://markmail.org/thread/m2asfe3wod52k2ym</a></a>&nbsp;and applied it</div><div>on the cvs paraview. This error occurs :</div><div><br></div><div><div>[ 71%] Building CXX object Servers/Common/CMakeFiles/vtkPVServerCommon.dir/vtkPVServerCommonInstantiator.cxx.o</div><div>Linking CXX shared library ../../bin/libvtkPVServerCommon.dylib</div><div>Undefined symbols:</div><div>&nbsp;&nbsp;"_CFStringCreateWithCharacters", referenced from:</div><div>&nbsp;&nbsp; &nbsp; &nbsp;vtkPVFileInformation::GetSpecialDirectories() &nbsp; &nbsp; &nbsp; in vtkPVFileInformation.cxx.o</div><div>&nbsp;&nbsp;"_DisposeHandle", referenced from:</div><div>&nbsp;&nbsp; &nbsp; &nbsp;vtkPVFileInformation::GetSpecialDirectories() &nbsp; &nbsp; &nbsp; in vtkPVFileInformation.cxx.o</div><div>&nbsp;&nbsp; &nbsp; &nbsp;vtkPVFileInformation::GetSpecialDirectories() &nbsp; &nbsp; &nbsp; in vtkPVFileInformation.cxx.o</div><div>&nbsp;&nbsp;"_kCFAllocatorDefault", referenced from:</div><div>&nbsp;&nbsp; &nbsp; &nbsp;vtkPVFileInformation::GetSpecialDirectories() &nbsp; &nbsp; &nbsp; in vtkPVFileInformation.cxx.o</div><div>&nbsp;&nbsp;"_NewHandle", referenced from:</div><div>&nbsp;&nbsp; &nbsp; &nbsp;vtkPVFileInformation::GetSpecialDirectories() &nbsp; &nbsp; &nbsp; in vtkPVFileInformation.cxx.o</div><div>&nbsp;&nbsp;"_FSResolveAlias", referenced from:</div><div>&nbsp;&nbsp; &nbsp; &nbsp;vtkPVFileInformation::GetSpecialDirectories() &nbsp; &nbsp; &nbsp; in vtkPVFileInformation.cxx.o</div><div>&nbsp;&nbsp;"_CFStringGetLength", referenced from:</div><div>&nbsp;&nbsp; &nbsp; &nbsp;vtkPVFileInformation::GetSpecialDirectories() &nbsp; &nbsp; &nbsp; in vtkPVFileInformation.cxx.o</div><div>&nbsp;&nbsp; &nbsp; &nbsp;vtkPVFileInformation::GetSpecialDirectories() &nbsp; &nbsp; &nbsp; in vtkPVFileInformation.cxx.o</div><div>&nbsp;&nbsp; &nbsp; &nbsp;vtkPVFileInformation::GetSpecialDirectories() &nbsp; &nbsp; &nbsp; in vtkPVFileInformation.cxx.o</div><div>&nbsp;&nbsp; &nbsp; &nbsp;vtkPVFileInformation::GetSpecialDirectories() &nbsp; &nbsp; &nbsp; in vtkPVFileInformation.cxx.o</div><div>&nbsp;&nbsp;"_FSGetVolumeInfo", referenced from:</div><div>&nbsp;&nbsp; &nbsp; &nbsp;vtkPVFileInformation::GetSpecialDirectories() &nbsp; &nbsp; &nbsp; in vtkPVFileInformation.cxx.o</div><div>&nbsp;&nbsp;"_CFStringGetTypeID", referenced from:</div><div>&nbsp;&nbsp; &nbsp; &nbsp;vtkPVFileInformation::GetSpecialDirectories() &nbsp; &nbsp; &nbsp; in vtkPVFileInformation.cxx.o</div><div>&nbsp;&nbsp;"_CFRelease", referenced from:</div><div>&nbsp;&nbsp; &nbsp; &nbsp;vtkPVFileInformation::GetSpecialDirectories() &nbsp; &nbsp; &nbsp; in vtkPVFileInformation.cxx.o</div><div>&nbsp;&nbsp; &nbsp; &nbsp;vtkPVFileInformation::GetSpecialDirectories() &nbsp; &nbsp; &nbsp; in vtkPVFileInformation.cxx.o</div><div>&nbsp;&nbsp; &nbsp; &nbsp;vtkPVFileInformation::GetSpecialDirectories() &nbsp; &nbsp; &nbsp; in vtkPVFileInformation.cxx.o</div><div>&nbsp;&nbsp;"_CFGetTypeID", referenced from:</div><div><br></div><div>.... and more ...</div><div><br></div><div><div>ld: symbol(s) not found</div><div>collect2: ld returned 1 exit status</div><div>make[2]: *** [bin/libvtkPVServerCommon.dylib] Error 1</div><div>make[1]: *** [Servers/Common/CMakeFiles/vtkPVServerCommon.dir/all] Error 2</div><div>make: *** [all] Error 2</div></div><div><br></div><div>any idea / is it only related to Mac OS X ?&nbsp;</div><div><br></div><div>Regards,</div><div><br></div><div>PO</div><div><br></div><div><div>On 31-Jul-09, at 5:01 PM, Berk Geveci wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Mike,<br><br>I would like to have the cvs ParaView working with Cocoa (hopefully<br>while still preserving Carbon build functionality). Do you have<br>patches to do this? If not, can we work together to get this working?<br><br>Thanks,<br>-berk<br><br>On Fri, Jul 31, 2009 at 4:52 PM, Michael<br>Jackson&lt;<a href="mailto:mike.jackson@bluequartz.net"><a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a></a>> wrote:<br><blockquote type="cite">Index: CMakeLists.txt<br></blockquote><blockquote type="cite">===================================================================<br></blockquote><blockquote type="cite">RCS file: /cvsroot/ParaView3/ParaView3/CMakeLists.txt,v<br></blockquote><blockquote type="cite">retrieving revision 1.97.2.1<br></blockquote><blockquote type="cite">diff -u -r1.97.2.1 CMakeLists.txt<br></blockquote><blockquote type="cite">--- CMakeLists.txt &nbsp; &nbsp; &nbsp;18 May 2009 20:34:23 -0000 &nbsp; &nbsp; &nbsp;1.97.2.1<br></blockquote><blockquote type="cite">+++ CMakeLists.txt &nbsp; &nbsp; &nbsp;11 Jun 2009 18:20:48 -0000<br></blockquote><blockquote type="cite">@@ -106,10 +106,13 @@<br></blockquote><blockquote type="cite">&nbsp; &nbsp; &nbsp; ENDIF (NOT qt_version4_x_tmp)<br></blockquote><blockquote type="cite">&nbsp; &nbsp; ENDIF (NOT qt_version_tmp)<br></blockquote><blockquote type="cite">&nbsp; &nbsp; # enforce Carbon in VTK for Qt/Mac<br></blockquote><blockquote type="cite">- &nbsp; &nbsp;IF(Q_WS_MAC)<br></blockquote><blockquote type="cite">+ &nbsp; &nbsp;IF(Q_WS_MAC AND QT_MAC_USE_COCOA)<br></blockquote><blockquote type="cite">+ &nbsp; &nbsp; &nbsp;SET(VTK_USE_CARBON OFF CACHE BOOL "Build VTK with Carbon" FORCE)<br></blockquote><blockquote type="cite">+ &nbsp; &nbsp; &nbsp;SET(VTK_USE_COCOA ON CACHE BOOL "Build VTK with Cocoa" FORCE)<br></blockquote><blockquote type="cite">+ &nbsp; &nbsp;ELSE(Q_WS_MAC AND QT_MAC_USE_COCOA)<br></blockquote><blockquote type="cite">&nbsp; &nbsp; &nbsp; SET(VTK_USE_CARBON ON CACHE BOOL "Build VTK with Carbon" FORCE)<br></blockquote><blockquote type="cite">&nbsp; &nbsp; &nbsp; SET(VTK_USE_COCOA OFF CACHE BOOL "Build VTK with Cocoa" FORCE)<br></blockquote><blockquote type="cite">- &nbsp; &nbsp;ENDIF(Q_WS_MAC)<br></blockquote><blockquote type="cite">+ &nbsp; &nbsp;ENDIF(Q_WS_MAC AND QT_MAC_USE_COCOA)<br></blockquote><blockquote type="cite">&nbsp; ENDIF(NOT QT4_FOUND)<br></blockquote><blockquote type="cite">&nbsp;ELSE (PARAVIEW_BUILD_QT_GUI)<br></blockquote><blockquote type="cite">&nbsp; SET(VTK_USE_QT OFF CACHE BOOL "Build VTK with Qt Support" FORCE)<br></blockquote><blockquote type="cite">Index: Qt/Widgets/pqProgressBarHelper.cxx<br></blockquote><blockquote type="cite">===================================================================<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Here is patch (kinda crappy I know.. ) but if you can pick through it you<br></blockquote><blockquote type="cite">can see what you will need to change. I think there may be some other<br></blockquote><blockquote type="cite">problems but get this put in place and try the build again.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">&nbsp;I _do_ have a functioning PV 3.6 64 Bit Cocoa build running on OS X intel<br></blockquote><blockquote type="cite">(Mac Pro) so I know it works.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Good Luck.<br></blockquote><blockquote type="cite">_________________________________________________________<br></blockquote><blockquote type="cite">Mike Jackson &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:mike.jackson@bluequartz.net"><a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a></a><br></blockquote><blockquote type="cite">BlueQuartz Software &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://www.bluequartz.net"><a href="http://www.bluequartz.net">www.bluequartz.net</a></a><br></blockquote><blockquote type="cite">Principal Software Engineer &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Dayton, Ohio<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On Jul 31, 2009, at 3:27 PM, Pierre-Olivier Dallaire wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">Good afternoon,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I'm tryig to get a fully functional paraview installation based on qt<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">cocoa 64. Here are the steps that I have followed :<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">0) Compile a fresh version of cmake-2.6.4<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">1) Compile QT with Cocoa option and arch x86_64 / this worked without<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">problem<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">2) Configure paraview using BUILD_SHARED_LIBS:BOOL=ON,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">CMAKE_OSX_ARCHITECTURES:STRING=x86_64, VTK_USE_CARBON:BOOL=OFF and<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">VTK_USE_COCOA:BOOL=ON<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">When re-running cmake to take into account my new settings, VTK_USE_CARBON<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">switches back to ON and VTK_USE_COCOA to OFF.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">However, my qt cocoa flavor is found by cmake ;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">-- Looking for QT_MAC_USE_COCOA<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">-- Looking for QT_MAC_USE_COCOA - found<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">-- Found Qt-Version 4.5.2<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">What is the problem here / it seems that ParaView does want to use cocoa<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">???<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Thanks !<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">PO<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Powered by <a href="http://www.kitware.com"><a href="http://www.kitware.com">www.kitware.com</a></a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Visit other Kitware open-source projects at<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://www.kitware.com/opensource/opensource.html"><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a></a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Please keep messages on-topic and check the ParaView Wiki at:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://paraview.org/Wiki/ParaView"><a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a></a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Follow this link to subscribe/unsubscribe:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://www.paraview.org/mailman/listinfo/paraview"><a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a></a><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">Powered by <a href="http://www.kitware.com"><a href="http://www.kitware.com">www.kitware.com</a></a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Visit other Kitware open-source projects at<br></blockquote><blockquote type="cite"><a href="http://www.kitware.com/opensource/opensource.html"><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a></a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Please keep messages on-topic and check the ParaView Wiki at:<br></blockquote><blockquote type="cite"><a href="http://paraview.org/Wiki/ParaView"><a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a></a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Follow this link to subscribe/unsubscribe:<br></blockquote><blockquote type="cite"><a href="http://www.paraview.org/mailman/listinfo/paraview"><a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a></a><br></blockquote><blockquote type="cite"><br></blockquote></div></blockquote></div><br></div></div></blockquote></body></html>