[Ctk-developers] MinGW build resolved +experimental dashboard

Sascha Zelzer s.zelzer at dkfz-heidelberg.de
Mon Aug 30 19:48:38 UTC 2010


Hi,

also many thanks from me, Dean.

1) The vtk pthreads issue has been taken care of with commit 
http://github.com/commontk/CTK/commit/fb5810b28ec44fbc465182f82768e3e5d9ced79a 
. Also the gcc visibility issues in VTK have been fixed: 
http://github.com/Kitware/VTK/commit/0a5eb2e9379a35134dabd282e164971e29783e46

2) With the commits above, step 2 shoudn't be necessary. Can you post 
the build errors for VTK?

3)

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.

- Sascha

On 08/30/2010 08:59 PM, Jean-Christophe Fillion-Robin wrote:
> Hi Dean,
>
> Thanks for looking into all these issues :)
>
> 1) Do you confirm that the flag VTK flag CMAKE_USE_PTHREADS and 
> VTK_USE_GCC_VISIBILITY should be turned OFF only for Mingw ?
>
> 2) Could you fork CTK and create/publish a branch named: 
> *fix_build_vtk_with_mingw*
>
> 3) How did you setup the dashboard?
>   - are you using the example script provided in CTK/CMake ?
>
> If you want to run ctest directly from the command line, make sure you 
> run it from the inner directory:
> <SUPERBUILD>/CTK-build
>
> Thks
> Jc
>
> On Mon, Aug 30, 2010 at 2:30 PM, Dean Inglis <dean.inglis at camris.ca 
> <mailto:dean.inglis at camris.ca>> wrote:
>
>     Switching to Qt 4.6.3 Win32 SDK and using embedded MinGW fixed
>     all the build errors I was having.  I have set up an experimental
>     dashboard and
>     submitted... seems that QtMobility didnt build during the test.
>     VTK needed to be built with
>     CMAKE_USE_PTHREADS:BOOL=OFF
>     VTK_USE_GCC_VISIBILITY:BOOL=OFF
>
>     currently dcmtk doesnt build (see below) and ctest is looking in
>     the wrong places for the tests.
>
>     Dean
>
>     Scanning dependencies of target ofstd
>     [  0%] Building CXX object
>     ofstd/libsrc/CMakeFiles/ofstd.dir/ofcmdln.cxx.obj
>     In file included from
>     D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Sour
>     ce\DCMTK\ofstd\libsrc\ofcmdln.cxx:34:
>     D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Build\DCMTK\include/dcmtk/
>     config/osconfig.h:793:1: warning: "NO_IOS_BASE_ASSIGN" redefined
>     D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Build\DCMTK\include/dcmtk/
>     config/osconfig.h:42:1: warning: this is the location of the
>     previous definition
>
>     In file included from
>     D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Sour
>     ce\DCMTK\ofstd\include/dcmtk/ofstd/oflist.h:99,
>                    from
>     D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Sour
>     ce\DCMTK\ofstd\include/dcmtk/ofstd/ofcmdln.h:39,
>                    from
>     D:\Developer\Releases\MinGW\SHARED\ctk\CMakeExternals\Sour
>     ce\DCMTK\ofstd\libsrc\ofcmdln.cxx:36:
>     c:\qt\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/sys/types.h:75:
>     err
>     or: multiple types in one declaration
>     c:\qt\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/sys/types.h:75:
>     err
>     or: declaration does not declare anything
>     c:\qt\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/sys/types.h:104:
>     er
>     ror: declaration does not declare anything
>     mingw32-make[5]: ***
>     [ofstd/libsrc/CMakeFiles/ofstd.dir/ofcmdln.cxx.obj] Error 1
>
>     mingw32-make[4]: *** [ofstd/libsrc/CMakeFiles/ofstd.dir/all] Error 2
>     mingw32-make[3]: *** [all] Error 2
>     mingw32-make[2]: *** [CMakeExternals/Stamp/DCMTK/DCMTK-install]
>     Error 2
>     mingw32-make[1]: *** [CMakeFiles/DCMTK.dir/all] Error 2
>     mingw32-make: *** [all] Error 2
>     _______________________________________________
>     Ctk-developers mailing list
>     Ctk-developers at commontk.org <mailto:Ctk-developers at commontk.org>
>     http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers
>
>
>
>
> -- 
> Phone: 1-518-836-2174
> Ext: 304

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20100830/9cac2681/attachment.htm>


More information about the Ctk-developers mailing list