[Ctk-developers] Compilation error on: ui_ctkDICOMListenerWidget.h: No such file or directory

Luis Ibanez luis.ibanez at kitware.com
Thu Apr 8 10:35:11 EDT 2010


More on this,

The offending file is actually generated in
./CTK-build/Libs/DICOM/Widgets/Resources/UI/ui_ctkDICOMListenerWidget.h

but the directory:
./CTK-build/Libs/DICOM/Widgets/Resources/UI

doesn't seem to be added to a CMake command

   INCLUDE_DIRECTORIES()

Any hint on what will be the proper location for
adding this command ?


    Thanks


         Luis


--------------------------------------------------------------
On Thu, Apr 8, 2010 at 10:23 AM, Luis Ibanez <luis.ibanez at kitware.com> wrote:
> I'm starting a build of CTK from scratch
> and ran into the following compilation below.
>
> It looks like a misconfiguration of a file that
> is supposed to be preprocessed by Qt.
>
> I will appreciate any advice on how to fix it,
>
> (This can be seen too in the Dashboard on the
> build from "eldorado.kitware").
>
>
>
>      Thanks,
>
>
>           Luis
>
>
> ------------------------------------------
> [ 20%] Built target QtMobility
> [ 40%] Built target DCMTK
> [ 60%] Built target CTK-Utilities
> [ 80%] Built target CTK-Configure
> [ 80%] Performing build step for 'CTK-build'
> [ 12%] Built target CTKCore
> [ 17%] Built target CTKCoreCxxTests
> [ 25%] Built target CTKWidgets
> [ 48%] Built target CTKDICOMCore
> [ 56%] Built target CTKDICOMCoreCxxTests
> [ 58%] Building CXX object
> Libs/DICOM/Widgets/CMakeFiles/CTKDICOMWidgets.dir/ctkDICOMListenerWidget.cxx.o
> /home/ibanez/src/CTK/Libs/DICOM/Widgets/ctkDICOMListenerWidget.cxx:4:39:
> error: ui_ctkDICOMListenerWidget.h: No such file or directory
> /home/ibanez/src/CTK/Libs/DICOM/Widgets/ctkDICOMListenerWidget.cxx:9:
> error: expected class-name before ‘{’ token
> /home/ibanez/src/CTK/Libs/DICOM/Widgets/ctkDICOMListenerWidget.cxx: In
> constructor ‘ctkDICOMListenerWidget::ctkDICOMListenerWidget(QWidget*)’:
> /home/ibanez/src/CTK/Libs/DICOM/Widgets/ctkDICOMListenerWidget.cxx:27:
> error: ‘class ctkDICOMListenerWidgetPrivate’ has no member named
> ‘setupUi’
> make[5]: *** [Libs/DICOM/Widgets/CMakeFiles/CTKDICOMWidgets.dir/ctkDICOMListenerWidget.cxx.o]
> Error 1
> make[4]: *** [Libs/DICOM/Widgets/CMakeFiles/CTKDICOMWidgets.dir/all] Error 2
> make[3]: *** [all] Error 2
> make[2]: *** [CMakeExternals/Stamp/CTK-build/CTK-build-build] Error 2
> make[1]: *** [CMakeFiles/CTK-build.dir/all] Error 2
> make: *** [all] Error 2
>



More information about the Ctk-developers mailing list