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:

CMake Error at CMake/ParaViewMacros.cmake:193 (add_executable):
  Cannot find source file:

    /opt/local/lib/libQtGui.dylib/Resources/qt_menu.nib/classes.nib

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx
Call Stack (most recent call first):
  CMake/ParaViewBranding.cmake:263 (add_executable_with_forwarding2)
  Applications/ParaView/CMakeLists.txt:49 (build_paraview_client)

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?

-Ken

Kenneth Moreland
Sandia National Laboratories
email: [email protected]
phone: (505) 844-8919
web: http://www.sandia.gov/~kmorel

Attachment: ParaView.macports.patch
Description: ParaView.macports.patch

_______________________________________________
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

Reply via email to