<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Courier New;color: #000000;font-size: 10pt;">
<span style="font-family: Arial;">I've been having trouble compiling ParaView on mac using the version of Qt installed with macports. The problem is that I get the following CMake error:</span><br style="font-family: Arial;">
<br style="font-family: Courier New;">
<div style="margin-left: 40px;"><span style="font-family: Courier New;">CMake Error at CMake/ParaViewMacros.cmake:193 (add_executable):</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;"> Cannot find source file:</span><br style="font-family: Courier New;">
<br style="font-family: Courier New;">
<span style="font-family: Courier New;"> /opt/local/lib/libQtGui.dylib/Resources/qt_menu.nib/classes.nib</span><br style="font-family: Courier New;">
<br style="font-family: Courier New;">
<span style="font-family: Courier New;"> Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;"> .hxx .in .txx</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;">Call Stack (most recent call first):</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;"> CMake/ParaViewBranding.cmake:263 (add_executable_with_forwarding2)</span><br style="font-family: Courier New;">
<span style="font-family: Courier New;"> Applications/ParaView/CMakeLists.txt:49 (build_paraview_client)</span><br>
</div>
<br>
<span style="font-family: Arial;">The problem appears to be that this section of code is assuming that Qt libraries, such as QtGui, are installed as frameworks but macports builds and installs them as simple libraries. I did find the classes.nib file elsewhere,
and created the attached patch to fix the problem. Could someone please take a look at this?<br>
<br>
-Ken<br style="font-family: Arial;">
</span><br style="font-family: Arial;">
<span style="font-family: Arial;">Kenneth Moreland</span><br style="font-family: Arial;">
<span style="font-family: Arial;">Sandia National Laboratories</span><br style="font-family: Arial;">
<span style="font-family: Arial;">email: kmorel@sandia.gov</span><br style="font-family: Arial;">
<span style="font-family: Arial;">phone: (505) 844-8919</span><br style="font-family: Arial;">
<span style="font-family: Arial;">web: http://www.sandia.gov/~kmorel</span><br>
</div>
</body>
</html>