<div dir="ltr"><div><div><div>Hi Hongzhi, <br><br></div><div>Did you manage to address your problem ?<br><br></div>If not, could you share the content of CTK-build/CTK-build/CMakeCache.txt ? <br><br></div>Thanks<br></div>Jc<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 6, 2015 at 8:16 PM, Hongzhi Lan <span dir="ltr"><<a href="mailto:h1lan@eng.ucsd.edu" target="_blank">h1lan@eng.ucsd.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">HI, CTK members,<div><br></div><div>I'm trying to build CTK with newest versions of VTK, ITK and PythonQt. I can build ctk successfully with Qt4.8.6, VTK6.2.0 and PythonQt3.0,but when I provide ITK_DIR for my ITK4.7.1 build, an error happens. Although I have Qt5 installed too, but in cmake for ctk build, moc and qmake are specifically set as .../Qt4.8.6/bin/moc and .../Qt4.8.6/bin/qmake. But it seems moc from Q5 was used instead. I don't why. I'm using CTK downloaded on April 3, 2015, on Ubuntu14.04 64bit.</div><div><br></div><div><div>..../CTK-Build-Test/CTK-build/Libs/Core/moc_ctkBooleanMapper.cxx:15:2: error: #error "This file was generated using the moc from 5.4.1. It"</div><div> #error "This file was generated using the moc from 5.4.1. It"</div><div> ^</div><div>.../CTK-Build-Test/CTK-build/Libs/Core/moc_ctkBooleanMapper.cxx:16:2: error: #error "cannot be used with the include files from this version of Qt."</div><div> #error "cannot be used with the include files from this version of Qt."</div><div> ^</div><div>.../CTK-Build-Test/CTK-build/Libs/Core/moc_ctkBooleanMapper.cxx:17:2: error: #error "(The moc has changed too much.)"</div><div> #error "(The moc has changed too much.)"</div></div><div>...</div><div><br></div><div>Thanks,</div><div>Hongzhi</div></div>
<br>_______________________________________________<br>
Ctk-developers mailing list<br>
<a href="mailto:Ctk-developers@public.kitware.com">Ctk-developers@public.kitware.com</a><br>
<a href="http://public.kitware.com/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/mailman/listinfo/ctk-developers</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">+1 919 869 8849<br></div>
</div>