[Paraview] Cannot compile ParaView using Macports build of Qt

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon Oct 10 11:55:56 EDT 2011


Looks good to me. I've pushed the fix.

http://paraview.org/Bug/view.php?id=12637

Utkarsh

On Sat, Oct 8, 2011 at 11:06 AM, Moreland, Kenneth <kmorel at sandia.gov> wrote:
> 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: kmorel at sandia.gov
> phone: (505) 844-8919
> web: http://www.sandia.gov/~kmorel
>
> _______________________________________________
> 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
>
>


More information about the ParaView mailing list