[Ctk-developers] ctk building error with itk4.71

Hongzhi Lan h1lan at eng.ucsd.edu
Mon Apr 6 20:16:19 EDT 2015


HI, CTK members,

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.

..../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"
 #error "This file was generated using the moc from 5.4.1. It"
  ^
.../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."
 #error "cannot be used with the include files from this version of Qt."
  ^
.../CTK-Build-Test/CTK-build/Libs/Core/moc_ctkBooleanMapper.cxx:17:2:
error: #error "(The moc has changed too much.)"
 #error "(The moc has changed too much.)"
...

Thanks,
Hongzhi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20150406/263b11e4/attachment.html>


More information about the Ctk-developers mailing list