[Ctk-developers] MinGW build resolved +experimental dashboard

Jean-Christophe Fillion-Robin jchris.fillionr at kitware.com
Mon Aug 30 18:59:06 UTC 2010


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> 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
> 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/8e01777c/attachment.htm>


More information about the Ctk-developers mailing list