Hi Dean, <br><br>Thanks for looking into all these issues :) <br><br>1) Do you confirm that the flag VTK flag CMAKE_USE_PTHREADS and VTK_USE_GCC_VISIBILITY should be turned OFF only for Mingw ? <br><br>2) Could you fork CTK and create/publish a branch named: <b>fix_build_vtk_with_mingw</b><br>

<br>3) How did you setup the dashboard?<br>  - are you using the example script provided in CTK/CMake ? <br><br>If you want to run ctest directly from the command line, make sure you run it from the inner directory:<br> <SUPERBUILD>/CTK-build<br>

<br>Thks<br>Jc<br><br><div class="gmail_quote">On Mon, Aug 30, 2010 at 2:30 PM, Dean Inglis <span dir="ltr"><<a href="mailto:dean.inglis@camris.ca">dean.inglis@camris.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Switching to Qt 4.6.3 Win32 SDK and using embedded MinGW fixed<br>
all the build errors I was having.  I have set up an experimental dashboard and<br>
submitted... seems that QtMobility didnt build during the test.<br>
VTK needed to be built with<br>
CMAKE_USE_PTHREADS:BOOL=OFF<br>
VTK_USE_GCC_VISIBILITY:BOOL=OFF<br>
<br>
currently dcmtk doesnt build (see below) and ctest is looking in<br>
the wrong places for the tests.<br>
<br>
Dean<br>
<br>
Scanning dependencies of target ofstd<br>
[  0%] Building CXX object ofstd/libsrc/CMakeFiles/ofstd.dir/ofcmdln.cxx.obj<br>
In file included from D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Sour<br>
ce\DCMTK\ofstd\libsrc\ofcmdln.cxx:34:<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Build\DCMTK\include/dcmtk/<br>
config/osconfig.h:793:1: warning: "NO_IOS_BASE_ASSIGN" redefined<br>
D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Build\DCMTK\include/dcmtk/<br>
config/osconfig.h:42:1: warning: this is the location of the previous definition<br>
<br>
In file included from D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Sour<br>
ce\DCMTK\ofstd\include/dcmtk/ofstd/oflist.h:99,<br>
                from D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Sour<br>
ce\DCMTK\ofstd\include/dcmtk/ofstd/ofcmdln.h:39,<br>
                from D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Sour<br>
ce\DCMTK\ofstd\libsrc\ofcmdln.cxx:36:<br>
c:\qt\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/sys/types.h:75: err<br>
or: multiple types in one declaration<br>
c:\qt\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/sys/types.h:75: err<br>
or: declaration does not declare anything<br>
c:\qt\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/sys/types.h:104: er<br>
ror: declaration does not declare anything<br>
mingw32-make[5]: *** [ofstd/libsrc/CMakeFiles/ofstd.dir/ofcmdln.cxx.obj] Error 1<br>
<br>
mingw32-make[4]: *** [ofstd/libsrc/CMakeFiles/ofstd.dir/all] Error 2<br>
mingw32-make[3]: *** [all] Error 2<br>
mingw32-make[2]: *** [CMakeExternals/Stamp/DCMTK/DCMTK-install] Error 2<br>
mingw32-make[1]: *** [CMakeFiles/DCMTK.dir/all] Error 2<br>
mingw32-make: *** [all] Error 2 <br>
_______________________________________________<br>
Ctk-developers mailing list<br>
<a href="mailto:Ctk-developers@commontk.org" target="_blank">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>
</blockquote></div><br><br clear="all"><br>-- <br>Phone: 1-518-836-2174<br>Ext: 304<br>