<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi,<br><br>I compiled and buggle Paraview3_10 on Mac Snow Leopord.<br>The app produced was installed directly on our mac machines without problems.<br><br>My&nbsp; receipe: :-) <br><br>I used Qt 4.6.2 open source.<br>(./configure -cocoa -arch x86_64 -no-qt3support -release -framework -fast -platform macx-g++)<br>I modified the install path too, to have that Qt stuff locallly.<br>set QTDIR environment variable<br>Be careful with the Qt... libraries path placed in the CMakeCache.txt.&nbsp; I had to correct some of them.<br><br>I compiled and installed mpich2-1.3.1, cgns, hdf5 locally.<br><br>I modified some CMAKE_flags.<br><br>make, make install <br><br><br>Odile <br><br><br>&gt; From: enodwell@ucalgary.ca<br>&gt; Date: Fri, 8 Apr 2011 09:50:31 -0600<br>&gt; To: paraview@paraview.org<br>&gt; Subject: [Paraview] ParaView 3.10.0 on OS-X: Library not included in App        Bundle: libQtCLucene.4.dylib<br>&gt; <br>&gt; Hi,<br>&gt; <br>&gt; I can successfully build ParaView 3.10.0 (with some additional custom filters) on OS-X.  However the resulting app bundle ends up missing a required library, libQtCLucene.4.dylib.<br>&gt; <br>&gt; It can still be run on any system on which Qt is installed.  However if Qt is not installed on the system, the following error occurs:<br>&gt; <br>&gt; Dyld Error Message:<br>&gt;   Library not loaded: libQtCLucene.4.dylib<br>&gt;   Referenced from: /Applications/ParaView-3.10.0-n88/ParaView 3.10.0.app/Contents/MacOS/paraview<br>&gt;   Reason: image not found<br>&gt; <br>&gt; As an ugly hack, I tried copying libQtCLucene.4.dylib from the official binary of ParaView 3.10.0 (which does include it).  This doesn't work though, as the build of ParaView is hard-wired to look for libQtCLucene.4.dylib in /usr/lib .<br>&gt; <br>&gt; Note that libQtPython.dylib and libQtTesting.dylib do get included in my build of ParaView; it is just libQtCLucene.4.dylib that is missing.<br>&gt; <br>&gt; Poking around the CMakeFiles I found that a file gets created in the CMake build tree, Applications/ParaView/ParaView_OSX_MakeStandAloneBundle.cmake, (derived from Applications/ParaView/CompleteBundle.cmake.in) that does have some custom handling for the libQtCLucene library.  In particular, in ensures that the path where libQtCLucene is found (happens to be /usr/lib) is passed in libs_path to CMake's fixup_bundle command.  I'm unfortunately not familiar enough with bundles to figure out why fixup_bundle still fails to identify libQtCLucene.4.dylib as a required dependency that should be included.<br>&gt; <br>&gt; There is evidently a solution, since the official ParaView binaries for OS-X do in fact include libQtCLucene.4.dylib in the App bundle.  Anyone have any insight how this is achieved?<br>&gt; <br>&gt; Thank you in advance for any insight.<br>&gt; <br>&gt; Eric Nodwell<br>&gt; <br>&gt; _______________________________________________<br>&gt; Powered by www.kitware.com<br>&gt; <br>&gt; Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br>&gt; <br>&gt; Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView<br>&gt; <br>&gt; Follow this link to subscribe/unsubscribe:<br>&gt; http://www.paraview.org/mailman/listinfo/paraview<br>                                               </body>
</html>