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

Jean-Christophe Fillion-Robin jchris.fillionr at kitware.com
Wed Apr 22 01:49:16 EDT 2015


Hi Hongzhi,

Did you manage to address your problem ?

If not, could you share the content of CTK-build/CTK-build/CMakeCache.txt ?

Thanks
Jc

On Mon, Apr 6, 2015 at 8:16 PM, Hongzhi Lan <h1lan at eng.ucsd.edu> wrote:

> 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
>
> _______________________________________________
> Ctk-developers mailing list
> Ctk-developers at public.kitware.com
> http://public.kitware.com/mailman/listinfo/ctk-developers
>
>


-- 
+1 919 869 8849
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20150422/633239eb/attachment.html>


More information about the Ctk-developers mailing list