<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
also many thanks from me, Dean.<br>
<br>
1) The vtk pthreads issue has been taken care of with commit
<a class="moz-txt-link-freetext" href="http://github.com/commontk/CTK/commit/fb5810b28ec44fbc465182f82768e3e5d9ced79a">http://github.com/commontk/CTK/commit/fb5810b28ec44fbc465182f82768e3e5d9ced79a</a>
. Also the gcc visibility issues in VTK have been fixed:
<a class="moz-txt-link-freetext" href="http://github.com/Kitware/VTK/commit/0a5eb2e9379a35134dabd282e164971e29783e46">http://github.com/Kitware/VTK/commit/0a5eb2e9379a35134dabd282e164971e29783e46</a><br>
<br>
2) With the commits above, step 2 shoudn't be necessary. Can you post
the build errors for VTK?<br>
<br>
3)<br>
<br>
4) I can confirm that ctest does not work on MinGW systems. It looks in
"Debug", "Release", etc. subdirectories of <SUPERBUILD>/CTK-build
for executables. Those directories of course don't exist in make based
projects.<br>
<br>
- Sascha<br>
<br>
On 08/30/2010 08:59 PM, Jean-Christophe Fillion-Robin wrote:
<blockquote
 cite="mid:AANLkTimprzBsE23LuEDKTEcOvfeySFZKuhRzuB1LOGiG@mail.gmail.com"
 type="cite">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 moz-do-not-send="true"
 href="mailto:dean.inglis@camris.ca">dean.inglis@camris.ca</a>></span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; 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 moz-do-not-send="true" href="mailto:Ctk-developers@commontk.org"
 target="_blank">Ctk-developers@commontk.org</a><br>
    <a moz-do-not-send="true"
 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>
</blockquote>
<br>
</body>
</html>