If you have to modify the build configuration, I guess the best place to do it would be in CTK/CMake/ctkMacroBuildQtLib.cmake<div>Julien</div><div><br><div class="gmail_quote">On Thu, Apr 8, 2010 at 10:38 AM, Luis Ibanez <span dir="ltr"><<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">The following patch seems to fix the problem:<br>
<br>
<br>
===========================================================<br>
<br>
diff --git a/Libs/DICOM/Widgets/CMakeLists.txt<br>
b/Libs/DICOM/Widgets/CMakeLists.txt<br>
index 4c9670c..82a446e 100644<br>
--- a/Libs/DICOM/Widgets/CMakeLists.txt<br>
+++ b/Libs/DICOM/Widgets/CMakeLists.txt<br>
@@ -8,6 +8,7 @@ SET(KIT_export_directive "CTK_DICOM_WIDGETS_EXPORT")<br>
<br>
 # Additional directories to include<br>
 SET(KIT_include_directories<br>
+  ${CTKDICOMWidgets_BINARY_DIR}/Resources/UI<br>
   )<br>
<br>
 # Source files<br>
<br>
======================================================<br>
<br>
<br>
Does anyone has an objection to the patch ?<br>
<br>
<br>
BTW:  Any hint of why is that this compilation errors<br>
was not reported by other builds in the Dashboard ?<br>
<br>
<br>
      Thanks<br>
<br>
<br>
           Luis<br>
<br>
<br>
<br>
---------------------------------------------------------------<br>
<div><div></div><div class="h5">On Thu, Apr 8, 2010 at 10:35 AM, Luis Ibanez <<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>> wrote:<br>
> More on this,<br>
><br>
> The offending file is actually generated in<br>
> ./CTK-build/Libs/DICOM/Widgets/Resources/UI/ui_ctkDICOMListenerWidget.h<br>
><br>
> but the directory:<br>
> ./CTK-build/Libs/DICOM/Widgets/Resources/UI<br>
><br>
> doesn't seem to be added to a CMake command<br>
><br>
>   INCLUDE_DIRECTORIES()<br>
><br>
> Any hint on what will be the proper location for<br>
> adding this command ?<br>
><br>
><br>
>    Thanks<br>
><br>
><br>
>         Luis<br>
><br>
><br>
> --------------------------------------------------------------<br>
> On Thu, Apr 8, 2010 at 10:23 AM, Luis Ibanez <<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>> wrote:<br>
>> I'm starting a build of CTK from scratch<br>
>> and ran into the following compilation below.<br>
>><br>
>> It looks like a misconfiguration of a file that<br>
>> is supposed to be preprocessed by Qt.<br>
>><br>
>> I will appreciate any advice on how to fix it,<br>
>><br>
>> (This can be seen too in the Dashboard on the<br>
>> build from "eldorado.kitware").<br>
>><br>
>><br>
>><br>
>>      Thanks,<br>
>><br>
>><br>
>>           Luis<br>
>><br>
>><br>
>> ------------------------------------------<br>
>> [ 20%] Built target QtMobility<br>
>> [ 40%] Built target DCMTK<br>
>> [ 60%] Built target CTK-Utilities<br>
>> [ 80%] Built target CTK-Configure<br>
>> [ 80%] Performing build step for 'CTK-build'<br>
>> [ 12%] Built target CTKCore<br>
>> [ 17%] Built target CTKCoreCxxTests<br>
>> [ 25%] Built target CTKWidgets<br>
>> [ 48%] Built target CTKDICOMCore<br>
>> [ 56%] Built target CTKDICOMCoreCxxTests<br>
>> [ 58%] Building CXX object<br>
>> Libs/DICOM/Widgets/CMakeFiles/CTKDICOMWidgets.dir/ctkDICOMListenerWidget.cxx.o<br>
>> /home/ibanez/src/CTK/Libs/DICOM/Widgets/ctkDICOMListenerWidget.cxx:4:39:<br>
>> error: ui_ctkDICOMListenerWidget.h: No such file or directory<br>
>> /home/ibanez/src/CTK/Libs/DICOM/Widgets/ctkDICOMListenerWidget.cxx:9:<br>
>> error: expected class-name before ‘{’ token<br>
>> /home/ibanez/src/CTK/Libs/DICOM/Widgets/ctkDICOMListenerWidget.cxx: In<br>
>> constructor ‘ctkDICOMListenerWidget::ctkDICOMListenerWidget(QWidget*)’:<br>
>> /home/ibanez/src/CTK/Libs/DICOM/Widgets/ctkDICOMListenerWidget.cxx:27:<br>
>> error: ‘class ctkDICOMListenerWidgetPrivate’ has no member named<br>
>> ‘setupUi’<br>
>> make[5]: *** [Libs/DICOM/Widgets/CMakeFiles/CTKDICOMWidgets.dir/ctkDICOMListenerWidget.cxx.o]<br>
>> Error 1<br>
>> make[4]: *** [Libs/DICOM/Widgets/CMakeFiles/CTKDICOMWidgets.dir/all] Error 2<br>
>> make[3]: *** [all] Error 2<br>
>> make[2]: *** [CMakeExternals/Stamp/CTK-build/CTK-build-build] Error 2<br>
>> make[1]: *** [CMakeFiles/CTK-build.dir/all] Error 2<br>
>> make: *** [all] Error 2<br>
>><br>
><br>
_______________________________________________<br>
Ctk-developers mailing list<br>
<a href="mailto:Ctk-developers@commontk.org">Ctk-developers@commontk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a><br>
</div></div></blockquote></div><br></div>