[Paraview] Compiling ParaView 3 on Mac OS X (PowerPC)

Bernhard Gschaider Bernhard.Gschaider at unileoben.ac.at
Fri May 11 09:08:38 EDT 2007



>>>>> On Thu, 10 May 2007 16:31:09 -0600
>>>>> "CS" == Clinton Stimpson <clinton at elemtech.com> wrote:

    CS> On May 10, 2007, at 3:28 PM, Bernhard Gschaider wrote:

    >>
    >>>>>>> On Thu, 10 May 2007 09:01:28 -0600
    >>>>>>> "c" == clinton  <clinton at elemtech.com> wrote:
    >>
    >>>> But this problem still persists: I don't know too much about
    >>>> cmake, but am I right that this is a problem with cmake(I'm
    >>>> using 2.4.6) or the cmake-Files that come with the soure,
    >>>> because I don't find where QT4_WRAP_CPP is being defined.
    >>
    c> QT4_WRAP_CPP is defined in CMake's FindQt4.cmake file, and the
    c> macro doesn't get defined until qmake is found.  Set the
    c> QT_QMAKE_EXECUTABLE variable to "/your/path/to/qt4/bin/qmake"
    c> You said you are using Trolltech's DMG install?  I've used that
    c> too.

Stupid question again: I've installed the most recent Version I could
get (4.2.3) and everything EXCEPT the QtUiTools go into the
/Library/Frameworks-hierarchy. And that is the part I have the
problems described below with. Could it be an error in the
Qt-distribution? 

    >> Thanks. It was a stupid typo to the path of qmake. Now
    >> everything compiles OK until at 90% (after a lot of the
    >> QT-stuff was successfully compiled) it says:
    >> 
    >> [90%] Building CXX object QT/Core/CMakeFiles/pqCore.dir/
    >> pqFormBuilder.o
    >> /Library/Frameworks/QTCore.framework/Headers/qglobal.h:606:
    >> error: template with C linkage

    CS> That's a problem with the Qt headers.  You can change
    CS> pqFormBuilder.h from #include <QtUiTools/QUiLoader> to
    CS> #include <QUiLoader>

That Change didn't fix it (QUiLoader was not found because the only
place where it is found on the harddisk is
/usr/include/QtUiTools/QUiLoader). As I said above: I suspect the
distribution. Which one did you use?


More information about the ParaView mailing list