[prev in list] [next in list] [prev in thread] [next in thread]
List: paraview
Subject: Re: [Paraview] Problems building 3.8.0 for 64-bit Mac
From: Dave Partyka <dave.partyka () kitware ! com>
Date: 2010-06-29 20:56:03
Message-ID: AANLkTilnJg4yPw62IW3Ae-TJsx8b68d4XXMfYvfT9bRf () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi Ben, can you send us your CMakeCache.txt in the root of your build tree.
On Tue, Jun 29, 2010 at 4:40 PM, Ben Medina <ben.medina@gmail.com> wrote:
> It just prints out:
> Q_WS_MAC ==
>
> I'm not sure what is responsible for setting that variable; I've only
> ever seen it used in C++ source as a preprocessor define, not in CMake
> source.
>
> Thanks,
> Ben
>
> On Tue, Jun 29, 2010 at 1:00 PM, Utkarsh Ayachit
> <utkarsh.ayachit@kitware.com> wrote:
> > If you look at Qt/Widgets/CMakeLists.txt, around line #79, it doesn't
> > add pqProgressBarHelper.cxx as a source to compile on macs, instead it
> > uses pqProgressBarHelper.mm. Now the question why isn't that happening
> > in your case. Try adding the following;
> >
> > message( "Q_WS_MAC == ${Q_WS_MAC}")
> >
> > What does that print out when you run cmake?
> >
> > Utkarsh
> >
> > On Tue, Jun 29, 2010 at 3:38 PM, Ben Medina <ben.medina@gmail.com>
> wrote:
> >> Hello,
> >>
> >> I just downloaded the 3.8.0 source and am trying to compile a 64-bit
> >> version on Mac OS 10.5. During the build of the pqWidgets target, this
> >> error occurs:
> >>
> >> .../ParaView-3.8.0/Qt/Widgets/pqProgressBarHelper.cxx:37: error: type
> >> 'class QObject' is not a direct base of 'pqProgressBarHelper'
> >>
> >> There seems to be an error in the source. Here's the class declaration
> >> in pqProgressBarHelper.h:
> >>
> >> #ifdef Q_WS_MAC
> >> class pqProgressBarHelper : public QWidget
> >> #else
> >> class pqProgressBarHelper : public QObject
> >> #endif
> >>
> >> But then in the constructor in pqProgressBarHelper.cxx is this:
> >>
> >> pqProgressBarHelper::pqProgressBarHelper(pqProgressBar* p)
> >> : QObject(p), Progress(p)
> >> {
> >> }
> >>
> >> Any ideas?
> >>
> >> Thanks,
> >> Ben
> >> _______________________________________________
> >> 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
> >>
> >
> _______________________________________________
> 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
>
[Attachment #5 (text/html)]
Hi Ben, can you send us your CMakeCache.txt in the root of your build \
tree.<br><br><div class="gmail_quote">On Tue, Jun 29, 2010 at 4:40 PM, Ben Medina \
<span dir="ltr"><<a \
href="mailto:ben.medina@gmail.com">ben.medina@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex;">It just prints out:<br> Q_WS_MAC ==<br>
<br>
I'm not sure what is responsible for setting that variable; I've only<br>
ever seen it used in C++ source as a preprocessor define, not in CMake<br>
source.<br>
<br>
Thanks,<br>
<font color="#888888">Ben<br>
</font><div><div></div><div class="h5"><br>
On Tue, Jun 29, 2010 at 1:00 PM, Utkarsh Ayachit<br>
<<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>> \
wrote:<br> > If you look at Qt/Widgets/CMakeLists.txt, around line #79, it \
doesn't<br> > add pqProgressBarHelper.cxx as a source to compile on macs, \
instead it<br> > uses pqProgressBarHelper.mm. Now the question why isn't that \
happening<br> > in your case. Try adding the following;<br>
><br>
> message( "Q_WS_MAC == ${Q_WS_MAC}")<br>
><br>
> What does that print out when you run cmake?<br>
><br>
> Utkarsh<br>
><br>
> On Tue, Jun 29, 2010 at 3:38 PM, Ben Medina <<a \
href="mailto:ben.medina@gmail.com">ben.medina@gmail.com</a>> wrote:<br> >> \
Hello,<br> >><br>
>> I just downloaded the 3.8.0 source and am trying to compile a 64-bit<br>
>> version on Mac OS 10.5. During the build of the pqWidgets target, this<br>
>> error occurs:<br>
>><br>
>> .../ParaView-3.8.0/Qt/Widgets/pqProgressBarHelper.cxx:37: error: type<br>
>> 'class QObject' is not a direct base of \
'pqProgressBarHelper'<br> >><br>
>> There seems to be an error in the source. Here's the class \
declaration<br> >> in pqProgressBarHelper.h:<br>
>><br>
>> #ifdef Q_WS_MAC<br>
>> class pqProgressBarHelper : public QWidget<br>
>> #else<br>
>> class pqProgressBarHelper : public QObject<br>
>> #endif<br>
>><br>
>> But then in the constructor in pqProgressBarHelper.cxx is this:<br>
>><br>
>> pqProgressBarHelper::pqProgressBarHelper(pqProgressBar* p)<br>
>> : QObject(p), Progress(p)<br>
>> {<br>
>> }<br>
>><br>
>> Any ideas?<br>
>><br>
>> Thanks,<br>
>> Ben<br>
>> _______________________________________________<br>
>> Powered by <a href="http://www.kitware.com" \
target="_blank">www.kitware.com</a><br> >><br>
>> Visit other Kitware open-source projects at <a \
href="http://www.kitware.com/opensource/opensource.html" \
target="_blank">http://www.kitware.com/opensource/opensource.html</a><br> \
>><br> >> Please keep messages on-topic and check the ParaView Wiki at: \
<a href="http://paraview.org/Wiki/ParaView" \
target="_blank">http://paraview.org/Wiki/ParaView</a><br> >><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://www.paraview.org/mailman/listinfo/paraview" \
target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br> \
>><br> ><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a \
href="http://www.kitware.com/opensource/opensource.html" \
target="_blank">http://www.kitware.com/opensource/opensource.html</a><br> <br>
Please keep messages on-topic and check the ParaView Wiki at: <a \
href="http://paraview.org/Wiki/ParaView" \
target="_blank">http://paraview.org/Wiki/ParaView</a><br> <br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" \
target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br> \
</div></div></blockquote></div><br>
_______________________________________________
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic