From julien.finet at kitware.com Wed Sep 1 12:31:28 2010 From: julien.finet at kitware.com (Julien Finet) Date: Wed, 1 Sep 2010 08:31:28 -0400 Subject: [Ctk-developers] MinGW build resolved +experimental dashboard In-Reply-To: References: <1D55213DC5FB42E693BE8F05862A0BAF@Hyoid> <4C719B8A.5060509@dkfz-heidelberg.de> <07402C8BCD56496787720BD08CB60600@Hyoid> <4C769C15.8020907@dkfz-heidelberg.de> <4C77D043.9000606@dkfz-heidelberg.de> <4C7C0B16.2030402@dkfz-heidelberg.de> <3F22EE41FA504B719A491C8C041E3922@Hyoid> <4C7CAF13.3060900@dkfz-heidelberg.de> Message-ID: Hi Dean, I can't see your machine on the dashboard which one is it? You probably want to schedule a daily task to run nightly builds. Julien. On Tue, Aug 31, 2010 at 9:33 AM, Dean Inglis wrote: > I submitted an experimental build this morning and it looks like QtMobility > is pulled but not being built. My non-dashboard build compiles without > errors. > Could someone take a look at my ctest script posted on the dashboard? > ctest runs successfully from cmd line in my non-dashboard CTK-build dir > now. > > thanks, > Dean > > > >>> I hope I fixed the testing issue with commit >> http://github.com/commontk/CTK/commit/aa252c01c1896dbf96e856b06dc511eb8f90106e. At least I can run ctest now successfully in the CTK-build directory (both >> MinGW and VC builds). >> >>> I'll post an experimental dashboard each morning or as required. >>> >>> Dean >>> >>> >>> We really need more Windows testing machines... >> >> Thanks, >> Sascha >> >> > _______________________________________________ > Ctk-developers mailing list > Ctk-developers at commontk.org > http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dean.inglis at camris.ca Wed Sep 1 14:07:13 2010 From: dean.inglis at camris.ca (Dean Inglis) Date: Wed, 1 Sep 2010 10:07:13 -0400 Subject: [Ctk-developers] MinGW build resolved +experimental dashboard In-Reply-To: References: <1D55213DC5FB42E693BE8F05862A0BAF@Hyoid> <4C719B8A.5060509@dkfz-heidelberg.de> <07402C8BCD56496787720BD08CB60600@Hyoid> <4C769C15.8020907@dkfz-heidelberg.de> <4C77D043.9000606@dkfz-heidelberg.de> <4C7C0B16.2030402@dkfz-heidelberg.de> <3F22EE41FA504B719A491C8C041E3922@Hyoid> <4C7CAF13.3060900@dkfz-heidelberg.de> Message-ID: its there now...same problems, and my dashboard script didnt upload this time. Dean > Hi Dean, > > I can't see your machine on the dashboard which one is it? You probably > want > to schedule a daily task to run nightly builds. > > Julien. > > On Tue, Aug 31, 2010 at 9:33 AM, Dean Inglis > wrote: > >> I submitted an experimental build this morning and it looks like >> QtMobility >> is pulled but not being built. My non-dashboard build compiles without >> errors. >> Could someone take a look at my ctest script posted on the dashboard? >> ctest runs successfully from cmd line in my non-dashboard CTK-build dir >> now. >> >> thanks, >> Dean >> >> >> >>>> I hope I fixed the testing issue with commit >>> http://github.com/commontk/CTK/commit/aa252c01c1896dbf96e856b06dc511eb8f90106e. >>> At least I can run ctest now successfully in the CTK-build directory >>> (both >>> MinGW and VC builds). >>> >>>> I'll post an experimental dashboard each morning or as required. >>>> >>>> Dean >>>> >>>> >>>> We really need more Windows testing machines... >>> >>> Thanks, >>> Sascha >>> >>> >> _______________________________________________ >> Ctk-developers mailing list >> Ctk-developers at commontk.org >> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers >> > From dean.inglis at camris.ca Fri Sep 3 14:18:01 2010 From: dean.inglis at camris.ca (Dean Inglis) Date: Fri, 3 Sep 2010 10:18:01 -0400 Subject: [Ctk-developers] experimental ctest script errs? Message-ID: I have submitted three consecutive daily experimental builds but there are errors reported when running my ctest script that dont occur when compiling regularly. It looks like QtMobility is not building correctly during a ctest script build. Also, my script is not posting to the dashboard as notes. Attached are my script and the .driver that gets downloaded. Im also submitting an experimental build based on a non .driver script and it appears that QtMobility is correctly built for this ctest script, also attached. I'd like to submit a regular win32 mingw dashboard for CTK, but need a bit of help with getting the scripting to work correctly in the format that CTK dashboard seems to require. thanks, Dean -------------- next part -------------- A non-text attachment was scrubbed... Name: ctk.cmake Type: application/octet-stream Size: 4401 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ctk.cmake.driver Type: application/octet-stream Size: 8686 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ctkTrial.cmake Type: application/octet-stream Size: 3997 bytes Desc: not available URL: From pieper at bwh.harvard.edu Fri Sep 3 14:24:42 2010 From: pieper at bwh.harvard.edu (Steve Pieper) Date: Fri, 03 Sep 2010 10:24:42 -0400 Subject: [Ctk-developers] trouble running DGraph.exe - error on windows 7, visual studio 10 Message-ID: <4C81052A.5050304@bwh.harvard.edu> With the current git master I do not get this errors on XP x64, vs 9, cmake 2.8.0, 32 bit generator. But on windows 7 x64 and vs 10 and cmake 2.8.2 32 bit generator running CMake on CTK gives this: > Check for working C compiler using: Visual Studio 10 > Check for working C compiler using: Visual Studio 10 -- works > Detecting C compiler ABI info > Detecting C compiler ABI info - done > Check for working CXX compiler using: Visual Studio 10 > Check for working CXX compiler using: Visual Studio 10 -- works > Detecting CXX compiler ABI info > Detecting CXX compiler ABI info - done > Looking for Q_WS_X11 > Looking for Q_WS_X11 - not found. > Looking for Q_WS_WIN > Looking for Q_WS_WIN - found > Looking for Q_WS_QWS > Looking for Q_WS_QWS - not found. > Looking for Q_WS_MAC > Looking for Q_WS_MAC - not found. > Found Qt-Version 4.6.3 (using D:/qt/4.6.3/bin/qmake.exe) > Generated: D:/pieper/ctk/latest/CTK-superbuild/DGraphInput-alldep.txt > CMake Error at CMake/ctkMacroValidateBuildOptions.cmake:126 (MESSAGE): > Failed to obtain dependence path of . > > Exit code 0xc0150002 > > > > D:/pieper/ctk/latest/CTK-superbuild > > Call Stack (most recent call first): > CMakeLists.txt:438 (ctkMacroValidateBuildOptions) > > > Configuring incomplete, errors occurred! I tried adding some debug info and running cmake --trace to get the command line: > D:/pieper/ctk/latest/CTK/CMake/ctkMacroValidateBuildOptions.cmake(117): MESSAGE(exec D:/pieper/ctk/latest/CTK-superbuild/Utilities/DGraph/Debug/DGraph.exe ${CTK_BINARY_DIR}/DGraphInput-alldep.txt -sort ${target_project_name} ) > exec D:/pieper/ctk/latest/CTK-superbuild/Utilities/DGraph/Debug/DGraph.exe D:/pieper/ctk/latest/CTK-superbuild/DGraphInput-alldep.txt -sort CTKCore > D:/pieper/ctk/latest/CTK/CMake/ctkMacroValidateBuildOptions.cmake(118): EXECUTE_PROCESS(COMMAND D:/pieper/ctk/latest/CTK-superbuild/Utilities/DGraph/Debug/DGraph.exe ${CTK_BINARY_DIR}/DGraphInput-alldep.txt -sort ${target_project_name} WORKING_DIRECTORY ${CTK_BINARY_DIR} RESULT_VARIABLE RESULT_VAR OUTPUT_VARIABLE dep_path ERROR_VARIABLE error OUTPUT_STRIP_TRAILING_WHITESPACE ) > D:/pieper/ctk/latest/CTK/CMake/ctkMacroValidateBuildOptions.cmake(126): IF(RESULT_VAR ) > D:/pieper/ctk/latest/CTK/CMake/ctkMacroValidateBuildOptions.cmake(127): MESSAGE(FATAL_ERROR Failed to obtain dependence path of ${subir}.\n${RESULT_VAR}\n${CTK_BINARY_DIR}\n${error} ) > CMake Error at CMake/ctkMacroValidateBuildOptions.cmake:127 (MESSAGE): > Failed to obtain dependence path of . > > Exit code 0xc0150002 > If I run this in a cmd console (after adding Qt bin dir to the Path) I get a dialog box "This application was unable to start..." with the same hex exit code. Thanks for any hints... -Steve From jchris.fillionr at kitware.com Fri Sep 3 14:39:20 2010 From: jchris.fillionr at kitware.com (Jean-Christophe Fillion-Robin) Date: Fri, 3 Sep 2010 10:39:20 -0400 Subject: [Ctk-developers] trouble running DGraph.exe - error on windows 7, visual studio 10 In-Reply-To: <4C81052A.5050304@bwh.harvard.edu> References: <4C81052A.5050304@bwh.harvard.edu> Message-ID: What the content of the file: * D:/pieper/ctk/latest/CTK-superbuild/DGraphInput-alldep.txt* ? Thks Jc On Fri, Sep 3, 2010 at 10:24 AM, Steve Pieper wrote: > > With the current git master I do not get this errors on XP x64, vs 9, cmake > 2.8.0, 32 bit generator. > > But on windows 7 x64 and vs 10 and cmake 2.8.2 32 bit generator running > CMake on CTK gives this: > > Check for working C compiler using: Visual Studio 10 >> Check for working C compiler using: Visual Studio 10 -- works >> Detecting C compiler ABI info >> Detecting C compiler ABI info - done >> Check for working CXX compiler using: Visual Studio 10 >> Check for working CXX compiler using: Visual Studio 10 -- works >> Detecting CXX compiler ABI info >> Detecting CXX compiler ABI info - done >> Looking for Q_WS_X11 >> Looking for Q_WS_X11 - not found. >> Looking for Q_WS_WIN >> Looking for Q_WS_WIN - found >> Looking for Q_WS_QWS >> Looking for Q_WS_QWS - not found. >> Looking for Q_WS_MAC >> Looking for Q_WS_MAC - not found. >> Found Qt-Version 4.6.3 (using D:/qt/4.6.3/bin/qmake.exe) >> Generated: D:/pieper/ctk/latest/CTK-superbuild/DGraphInput-alldep.txt >> CMake Error at CMake/ctkMacroValidateBuildOptions.cmake:126 (MESSAGE): >> Failed to obtain dependence path of . >> >> Exit code 0xc0150002 >> >> >> >> D:/pieper/ctk/latest/CTK-superbuild >> >> Call Stack (most recent call first): >> CMakeLists.txt:438 (ctkMacroValidateBuildOptions) >> >> >> Configuring incomplete, errors occurred! >> > > I tried adding some debug info and running cmake --trace to get the command > line: > > D:/pieper/ctk/latest/CTK/CMake/ctkMacroValidateBuildOptions.cmake(117): >> MESSAGE(exec >> D:/pieper/ctk/latest/CTK-superbuild/Utilities/DGraph/Debug/DGraph.exe >> ${CTK_BINARY_DIR}/DGraphInput-alldep.txt -sort ${target_project_name} ) >> exec D:/pieper/ctk/latest/CTK-superbuild/Utilities/DGraph/Debug/DGraph.exe >> D:/pieper/ctk/latest/CTK-superbuild/DGraphInput-alldep.txt -sort CTKCore >> D:/pieper/ctk/latest/CTK/CMake/ctkMacroValidateBuildOptions.cmake(118): >> EXECUTE_PROCESS(COMMAND >> D:/pieper/ctk/latest/CTK-superbuild/Utilities/DGraph/Debug/DGraph.exe >> ${CTK_BINARY_DIR}/DGraphInput-alldep.txt -sort ${target_project_name} >> WORKING_DIRECTORY ${CTK_BINARY_DIR} RESULT_VARIABLE RESULT_VAR >> OUTPUT_VARIABLE dep_path ERROR_VARIABLE error >> OUTPUT_STRIP_TRAILING_WHITESPACE ) >> D:/pieper/ctk/latest/CTK/CMake/ctkMacroValidateBuildOptions.cmake(126): >> IF(RESULT_VAR ) >> D:/pieper/ctk/latest/CTK/CMake/ctkMacroValidateBuildOptions.cmake(127): >> MESSAGE(FATAL_ERROR Failed to obtain dependence path of >> ${subir}.\n${RESULT_VAR}\n${CTK_BINARY_DIR}\n${error} ) >> CMake Error at CMake/ctkMacroValidateBuildOptions.cmake:127 (MESSAGE): >> Failed to obtain dependence path of . >> >> Exit code 0xc0150002 >> >> > If I run this in a cmd console (after adding Qt bin dir to the Path) I get > a dialog box "This application was unable to start..." with the same hex > exit code. > > Thanks for any hints... > -Steve > _______________________________________________ > 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: From pieper at bwh.harvard.edu Fri Sep 3 15:06:49 2010 From: pieper at bwh.harvard.edu (Steve Pieper) Date: Fri, 03 Sep 2010 11:06:49 -0400 Subject: [Ctk-developers] trouble running DGraph.exe - error on windows 7, visual studio 10 In-Reply-To: References: <4C81052A.5050304@bwh.harvard.edu> Message-ID: <4C810F09.3050709@bwh.harvard.edu> 21 22 CTKWidgets CTKCore CTKDICOMCore CTKCore CTKDICOMWidgets CTKDICOMCore CTKDICOMWidgets CTKWidgets CTKMessagingCore CTKCore CTKScriptingPythonCore CTKCore CTKScriptingPythonWidgets CTKWidgets CTKScriptingPythonWidgets CTKScriptingPythonCore CTKVisualizationVTKCore CTKCore CTKVisualizationVTKWidgets CTKWidgets CTKVisualizationVTKWidgets CTKVisualizationVTKCore CTKVisualizationXIP CTKCore org_commontk_eventbus CTKPluginFramework org_commontk_cli CTKPluginFramework ctkCLIPluginExplorer CTKPluginFramework ctkDICOM CTKDICOMWidgets ctkDICOMIndexer CTKDICOMCore ctkDICOMDemoSCU CTKDICOMCore ctkDICOMQuery CTKDICOMCore ctkDICOMRetrieve CTKDICOMCore ctkPluginBrowser CTKPluginFramework ctkSimplePythonShell CTKScriptingPythonWidgets On Sep/3/10 10:39 AM, Jean-Christophe Fillion-Robin wrote: > What the content of the file: > /D:/pieper/ctk/latest/CTK-superbuild/DGraphInput-alldep.txt/ ? > > Thks > Jc > > > On Fri, Sep 3, 2010 at 10:24 AM, Steve Pieper > wrote: > > > With the current git master I do not get this errors on XP x64, vs > 9, cmake 2.8.0, 32 bit generator. > > But on windows 7 x64 and vs 10 and cmake 2.8.2 32 bit generator > running CMake on CTK gives this: > > Check for working C compiler using: Visual Studio 10 > Check for working C compiler using: Visual Studio 10 -- works > Detecting C compiler ABI info > Detecting C compiler ABI info - done > Check for working CXX compiler using: Visual Studio 10 > Check for working CXX compiler using: Visual Studio 10 -- works > Detecting CXX compiler ABI info > Detecting CXX compiler ABI info - done > Looking for Q_WS_X11 > Looking for Q_WS_X11 - not found. > Looking for Q_WS_WIN > Looking for Q_WS_WIN - found > Looking for Q_WS_QWS > Looking for Q_WS_QWS - not found. > Looking for Q_WS_MAC > Looking for Q_WS_MAC - not found. > Found Qt-Version 4.6.3 (using D:/qt/4.6.3/bin/qmake.exe) > Generated: > D:/pieper/ctk/latest/CTK-superbuild/DGraphInput-alldep.txt > CMake Error at CMake/ctkMacroValidateBuildOptions.cmake:126 > (MESSAGE): > Failed to obtain dependence path of . > > Exit code 0xc0150002 > > > > D:/pieper/ctk/latest/CTK-superbuild > > Call Stack (most recent call first): > CMakeLists.txt:438 (ctkMacroValidateBuildOptions) > > > Configuring incomplete, errors occurred! > > > I tried adding some debug info and running cmake --trace to get the > command line: > > D:/pieper/ctk/latest/CTK/CMake/ctkMacroValidateBuildOptions.cmake(117): > MESSAGE(exec > D:/pieper/ctk/latest/CTK-superbuild/Utilities/DGraph/Debug/DGraph.exe ${CTK_BINARY_DIR}/DGraphInput-alldep.txt -sort ${target_project_name} ) > exec > D:/pieper/ctk/latest/CTK-superbuild/Utilities/DGraph/Debug/DGraph.exe > D:/pieper/ctk/latest/CTK-superbuild/DGraphInput-alldep.txt -sort > CTKCore > D:/pieper/ctk/latest/CTK/CMake/ctkMacroValidateBuildOptions.cmake(118): > EXECUTE_PROCESS(COMMAND > D:/pieper/ctk/latest/CTK-superbuild/Utilities/DGraph/Debug/DGraph.exe > ${CTK_BINARY_DIR}/DGraphInput-alldep.txt -sort > ${target_project_name} WORKING_DIRECTORY ${CTK_BINARY_DIR} > RESULT_VARIABLE RESULT_VAR OUTPUT_VARIABLE dep_path > ERROR_VARIABLE error OUTPUT_STRIP_TRAILING_WHITESPACE ) > D:/pieper/ctk/latest/CTK/CMake/ctkMacroValidateBuildOptions.cmake(126): > IF(RESULT_VAR ) > D:/pieper/ctk/latest/CTK/CMake/ctkMacroValidateBuildOptions.cmake(127): > MESSAGE(FATAL_ERROR Failed to obtain dependence path of > ${subir}.\n${RESULT_VAR}\n${CTK_BINARY_DIR}\n${error} ) > CMake Error at CMake/ctkMacroValidateBuildOptions.cmake:127 > (MESSAGE): > Failed to obtain dependence path of . > > Exit code 0xc0150002 > > > If I run this in a cmd console (after adding Qt bin dir to the Path) > I get a dialog box "This application was unable to start..." with > the same hex exit code. > > Thanks for any hints... > -Steve > _______________________________________________ > 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 From jchris.fillionr at kitware.com Fri Sep 3 17:03:31 2010 From: jchris.fillionr at kitware.com (Jean-Christophe Fillion-Robin) Date: Fri, 3 Sep 2010 13:03:31 -0400 Subject: [Ctk-developers] trouble running DGraph.exe - error on windows 7, visual studio 10 In-Reply-To: <4C810F09.3050709@bwh.harvard.edu> References: <4C81052A.5050304@bwh.harvard.edu> <4C810F09.3050709@bwh.harvard.edu> Message-ID: I updated ctkMacroValidateBuildOptions to display an error message mentioning the project name. See http://github.com/commontk/CTK/commit/e212eaa17f74ca8e8ae4ae515723f20302bf3872 Would be great to give a try ? It would also be nice to find out if it's a problem related to some path ? Assuming qt is in the path, from a console, can you run DGraph ? DGraph is located in /Utilities/Dgraph It should output something like that: Usage: Utilities/DGraph/DGraph [-paths Label | -sort Label] Thks Jc On Fri, Sep 3, 2010 at 11:06 AM, Steve Pieper wrote: > 21 22 > CTKWidgets CTKCore > CTKDICOMCore CTKCore > CTKDICOMWidgets CTKDICOMCore > CTKDICOMWidgets CTKWidgets > CTKMessagingCore CTKCore > CTKScriptingPythonCore CTKCore > CTKScriptingPythonWidgets CTKWidgets > CTKScriptingPythonWidgets CTKScriptingPythonCore > CTKVisualizationVTKCore CTKCore > CTKVisualizationVTKWidgets CTKWidgets > CTKVisualizationVTKWidgets CTKVisualizationVTKCore > CTKVisualizationXIP CTKCore > org_commontk_eventbus CTKPluginFramework > org_commontk_cli CTKPluginFramework > ctkCLIPluginExplorer CTKPluginFramework > ctkDICOM CTKDICOMWidgets > ctkDICOMIndexer CTKDICOMCore > ctkDICOMDemoSCU CTKDICOMCore > ctkDICOMQuery CTKDICOMCore > ctkDICOMRetrieve CTKDICOMCore > ctkPluginBrowser CTKPluginFramework > ctkSimplePythonShell CTKScriptingPythonWidgets > > > > > On Sep/3/10 10:39 AM, Jean-Christophe Fillion-Robin wrote: > >> What the content of the file: >> /D:/pieper/ctk/latest/CTK-superbuild/DGraphInput-alldep.txt/ ? >> >> Thks >> Jc >> >> >> On Fri, Sep 3, 2010 at 10:24 AM, Steve Pieper > > wrote: >> >> >> With the current git master I do not get this errors on XP x64, vs >> 9, cmake 2.8.0, 32 bit generator. >> >> But on windows 7 x64 and vs 10 and cmake 2.8.2 32 bit generator >> running CMake on CTK gives this: >> >> Check for working C compiler using: Visual Studio 10 >> Check for working C compiler using: Visual Studio 10 -- works >> Detecting C compiler ABI info >> Detecting C compiler ABI info - done >> Check for working CXX compiler using: Visual Studio 10 >> Check for working CXX compiler using: Visual Studio 10 -- works >> Detecting CXX compiler ABI info >> Detecting CXX compiler ABI info - done >> Looking for Q_WS_X11 >> Looking for Q_WS_X11 - not found. >> Looking for Q_WS_WIN >> Looking for Q_WS_WIN - found >> Looking for Q_WS_QWS >> Looking for Q_WS_QWS - not found. >> Looking for Q_WS_MAC >> Looking for Q_WS_MAC - not found. >> Found Qt-Version 4.6.3 (using D:/qt/4.6.3/bin/qmake.exe) >> Generated: >> D:/pieper/ctk/latest/CTK-superbuild/DGraphInput-alldep.txt >> CMake Error at CMake/ctkMacroValidateBuildOptions.cmake:126 >> (MESSAGE): >> Failed to obtain dependence path of . >> >> Exit code 0xc0150002 >> >> >> >> D:/pieper/ctk/latest/CTK-superbuild >> >> Call Stack (most recent call first): >> CMakeLists.txt:438 (ctkMacroValidateBuildOptions) >> >> >> Configuring incomplete, errors occurred! >> >> >> I tried adding some debug info and running cmake --trace to get the >> command line: >> >> >> D:/pieper/ctk/latest/CTK/CMake/ctkMacroValidateBuildOptions.cmake(117): >> MESSAGE(exec >> >> D:/pieper/ctk/latest/CTK-superbuild/Utilities/DGraph/Debug/DGraph.exe >> ${CTK_BINARY_DIR}/DGraphInput-alldep.txt -sort ${target_project_name} ) >> exec >> >> D:/pieper/ctk/latest/CTK-superbuild/Utilities/DGraph/Debug/DGraph.exe >> D:/pieper/ctk/latest/CTK-superbuild/DGraphInput-alldep.txt -sort >> CTKCore >> >> D:/pieper/ctk/latest/CTK/CMake/ctkMacroValidateBuildOptions.cmake(118): >> EXECUTE_PROCESS(COMMAND >> >> D:/pieper/ctk/latest/CTK-superbuild/Utilities/DGraph/Debug/DGraph.exe >> ${CTK_BINARY_DIR}/DGraphInput-alldep.txt -sort >> ${target_project_name} WORKING_DIRECTORY ${CTK_BINARY_DIR} >> RESULT_VARIABLE RESULT_VAR OUTPUT_VARIABLE dep_path >> ERROR_VARIABLE error OUTPUT_STRIP_TRAILING_WHITESPACE ) >> >> D:/pieper/ctk/latest/CTK/CMake/ctkMacroValidateBuildOptions.cmake(126): >> IF(RESULT_VAR ) >> >> D:/pieper/ctk/latest/CTK/CMake/ctkMacroValidateBuildOptions.cmake(127): >> MESSAGE(FATAL_ERROR Failed to obtain dependence path of >> ${subir}.\n${RESULT_VAR}\n${CTK_BINARY_DIR}\n${error} ) >> CMake Error at CMake/ctkMacroValidateBuildOptions.cmake:127 >> (MESSAGE): >> Failed to obtain dependence path of . >> >> Exit code 0xc0150002 >> >> >> If I run this in a cmd console (after adding Qt bin dir to the Path) >> I get a dialog box "This application was unable to start..." with >> the same hex exit code. >> >> Thanks for any hints... >> -Steve >> _______________________________________________ >> 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 >> > -- Phone: 1-518-836-2174 Ext: 304 -------------- next part -------------- An HTML attachment was scrubbed... URL: From pieper at bwh.harvard.edu Fri Sep 3 17:06:43 2010 From: pieper at bwh.harvard.edu (Steve Pieper) Date: Fri, 03 Sep 2010 13:06:43 -0400 Subject: [Ctk-developers] trouble running DGraph.exe - error on windows 7, visual studio 10 In-Reply-To: References: <4C81052A.5050304@bwh.harvard.edu> <4C810F09.3050709@bwh.harvard.edu> Message-ID: <4C812B23.7080109@bwh.harvard.edu> On Sep/3/10 1:03 PM, Jean-Christophe Fillion-Robin wrote: > > It would also be nice to find out if it's a problem related to some path ? Assuming qt is in the path, from a console, can you run DGraph ? I tried that (this was buried at the end of my email... ;) >> >> If I run this in a cmd console (after adding Qt bin dir to the Path) >> I get a dialog box "This application was unable to start..." with >> the same hex exit code. From jchris.fillionr at kitware.com Fri Sep 3 17:13:19 2010 From: jchris.fillionr at kitware.com (Jean-Christophe Fillion-Robin) Date: Fri, 3 Sep 2010 13:13:19 -0400 Subject: [Ctk-developers] trouble running DGraph.exe - error on windows 7, visual studio 10 In-Reply-To: <4C812B23.7080109@bwh.harvard.edu> References: <4C81052A.5050304@bwh.harvard.edu> <4C810F09.3050709@bwh.harvard.edu> <4C812B23.7080109@bwh.harvard.edu> Message-ID: Interesting ... .. would it be possible to open the generated solution file associated with Dgraph. This one is located here: /Projects/CTK-Superbuild-PythonQt-Debug/Utilities/DGraph/DGraph.sln ? VS2010 should open, what happen if you try to build it from there ? Jc On Fri, Sep 3, 2010 at 1:06 PM, Steve Pieper wrote: > > > On Sep/3/10 1:03 PM, Jean-Christophe Fillion-Robin wrote: > >> >> It would also be nice to find out if it's a problem related to some path ? >> Assuming qt is in the path, from a console, can you run DGraph ? >> > > I tried that (this was buried at the end of my email... ;) > > > >>> If I run this in a cmd console (after adding Qt bin dir to the Path) >>> I get a dialog box "This application was unable to start..." with >>> the same hex exit code. >>> >> -- Phone: 1-518-836-2174 Ext: 304 -------------- next part -------------- An HTML attachment was scrubbed... URL: From pieper at bwh.harvard.edu Fri Sep 3 17:19:44 2010 From: pieper at bwh.harvard.edu (Steve Pieper) Date: Fri, 03 Sep 2010 13:19:44 -0400 Subject: [Ctk-developers] trouble running DGraph.exe - error on windows 7, visual studio 10 In-Reply-To: References: <4C81052A.5050304@bwh.harvard.edu> <4C810F09.3050709@bwh.harvard.edu> <4C812B23.7080109@bwh.harvard.edu> Message-ID: <4C812E30.5040208@bwh.harvard.edu> With your change I get the output below from cmake. When I open dgraph visual studio (with Qt dll path defined) I am able to rebuild but I get the same error on startup. This is a new visual studio install, so I will doublecheck that it can compile and run anything - this may not be a ctk issue. Thanks, Steve > pieper at desk /d/pieper/ctk/latest/CTK-superbuild > $ cmake ../CTK > -- Generated: D:/pieper/ctk/latest/CTK-superbuild/DGraphInput-alldep.txt > CMake Error at CMake/ctkMacroValidateBuildOptions.cmake:126 (MESSAGE): > Failed to obtain dependence path of CTKCore. > > Exit code 0xc0150002 > > > > D:/pieper/ctk/latest/CTK-superbuild > > Call Stack (most recent call first): > CMakeLists.txt:438 (ctkMacroValidateBuildOptions) > > > -- Configuring incomplete, errors occurred! > On Sep/3/10 1:13 PM, Jean-Christophe Fillion-Robin wrote: > Interesting ... > > .. would it be possible to open the generated solution file associated > with Dgraph. This one is located here: > > /Projects/CTK-Superbuild-PythonQt-Debug/Utilities/DGraph/DGraph.sln ? > > VS2010 should open, what happen if you try to build it from there ? > > Jc > > On Fri, Sep 3, 2010 at 1:06 PM, Steve Pieper > wrote: > > > > On Sep/3/10 1:03 PM, Jean-Christophe Fillion-Robin wrote: > > > It would also be nice to find out if it's a problem related to > some path ? Assuming qt is in the path, from a console, can you > run DGraph ? > > > I tried that (this was buried at the end of my email... ;) > > > > If I run this in a cmd console (after adding Qt bin dir > to the Path) > I get a dialog box "This application was unable to > start..." with > the same hex exit code. > > > > > -- > Phone: 1-518-836-2174 > Ext: 304 From pieper at bwh.harvard.edu Fri Sep 3 17:41:43 2010 From: pieper at bwh.harvard.edu (Steve Pieper) Date: Fri, 03 Sep 2010 13:41:43 -0400 Subject: [Ctk-developers] trouble running DGraph.exe - error on windows 7, visual studio 10 In-Reply-To: <4C812E30.5040208@bwh.harvard.edu> References: <4C81052A.5050304@bwh.harvard.edu> <4C810F09.3050709@bwh.harvard.edu> <4C812B23.7080109@bwh.harvard.edu> <4C812E30.5040208@bwh.harvard.edu> Message-ID: <4C813357.3080901@bwh.harvard.edu> Okay - I think I see the problem now - I'm using the Qt visual studio binaries but they are from the 2008 version and I only have the 2010 version installed so it can't find the right debug dll (turns out the sxstrace utility was able to give the needed info). I think just installing vcexpress 2008 will fix this... Thanks for your help, Jc! -Steve ================= Begin Activation Context Generation. Input Parameter: Flags = 0 ProcessorArchitecture = Wow32 CultureFallBacks = en-US;en ManifestPath = d:\qt\4.6.3\bin\QtCored4.dll AssemblyDirectory = d:\qt\4.6.3\bin\ Application Config File = ----------------- INFO: Parsing Manifest File d:\qt\4.6.3\bin\QtCored4.dll. INFO: Manifest Definition Identity is (null). INFO: Reference: Microsoft.VC90.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" INFO: Resolving reference Microsoft.VC90.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8". INFO: Resolving reference for ProcessorArchitecture WOW64. INFO: Resolving reference for culture Neutral. INFO: Applying Binding Policy. INFO: No publisher policy found. INFO: No binding policy redirect found. INFO: Begin assembly probing. INFO: Did not find the assembly in WinSxS. INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.VC90.DebugCRT\9.0.21022.8__1fc8b3b9a1e18e3b\Microsoft.VC90.DebugCRT.DLL. INFO: Did not find manifest for culture Neutral. INFO: End assembly probing. INFO: Resolving reference for ProcessorArchitecture x86. INFO: Resolving reference for culture Neutral. INFO: Applying Binding Policy. INFO: No publisher policy found. INFO: No binding policy redirect found. INFO: Begin assembly probing. INFO: Did not find the assembly in WinSxS. INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.VC90.DebugCRT\9.0.21022.8__1fc8b3b9a1e18e3b\Microsoft.VC90.DebugCRT.DLL. INFO: Attempt to probe manifest at d:\qt\4.6.3\bin\Microsoft.VC90.DebugCRT.DLL. INFO: Attempt to probe manifest at d:\qt\4.6.3\bin\Microsoft.VC90.DebugCRT.MANIFEST. INFO: Attempt to probe manifest at d:\qt\4.6.3\bin\Microsoft.VC90.DebugCRT\Microsoft.VC90.DebugCRT.DLL. INFO: Attempt to probe manifest at d:\qt\4.6.3\bin\Microsoft.VC90.DebugCRT\Microsoft.VC90.DebugCRT.MANIFEST. INFO: Did not find manifest for culture Neutral. INFO: End assembly probing. ERROR: Cannot resolve reference Microsoft.VC90.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8". ERROR: Activation Context generation failed. End Activation Context Generation. On Sep/3/10 1:19 PM, Steve Pieper wrote: > With your change I get the output below from cmake. > > When I open dgraph visual studio (with Qt dll path defined) I am able to > rebuild but I get the same error on startup. > > This is a new visual studio install, so I will doublecheck that it can > compile and run anything - this may not be a ctk issue. > > Thanks, > Steve > >> pieper at desk /d/pieper/ctk/latest/CTK-superbuild >> $ cmake ../CTK >> -- Generated: D:/pieper/ctk/latest/CTK-superbuild/DGraphInput-alldep.txt >> CMake Error at CMake/ctkMacroValidateBuildOptions.cmake:126 (MESSAGE): >> Failed to obtain dependence path of CTKCore. >> >> Exit code 0xc0150002 >> >> >> >> D:/pieper/ctk/latest/CTK-superbuild >> >> Call Stack (most recent call first): >> CMakeLists.txt:438 (ctkMacroValidateBuildOptions) >> >> >> -- Configuring incomplete, errors occurred! >> > > > On Sep/3/10 1:13 PM, Jean-Christophe Fillion-Robin wrote: >> Interesting ... >> >> .. would it be possible to open the generated solution file associated >> with Dgraph. This one is located here: >> >> /Projects/CTK-Superbuild-PythonQt-Debug/Utilities/DGraph/DGraph.sln ? >> >> VS2010 should open, what happen if you try to build it from there ? >> >> Jc >> >> On Fri, Sep 3, 2010 at 1:06 PM, Steve Pieper > > wrote: >> >> >> >> On Sep/3/10 1:03 PM, Jean-Christophe Fillion-Robin wrote: >> >> >> It would also be nice to find out if it's a problem related to >> some path ? Assuming qt is in the path, from a console, can you >> run DGraph ? >> >> >> I tried that (this was buried at the end of my email... ;) >> >> >> >> If I run this in a cmd console (after adding Qt bin dir >> to the Path) >> I get a dialog box "This application was unable to >> start..." with >> the same hex exit code. >> >> >> >> >> -- >> Phone: 1-518-836-2174 >> Ext: 304 > _______________________________________________ > Ctk-developers mailing list > Ctk-developers at commontk.org > http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers From pieper at bwh.harvard.edu Tue Sep 7 12:06:34 2010 From: pieper at bwh.harvard.edu (Steve Pieper) Date: Tue, 07 Sep 2010 08:06:34 -0400 Subject: [Ctk-developers] tcon today (Tuesday 9 eastern) - Fwd: Hotel info - Fwd: CTK hackfest Sept 13-17 in Barcelona In-Reply-To: <4C7CEB56.7060903@bwh.harvard.edu> References: <4C7CEB56.7060903@bwh.harvard.edu> Message-ID: <4C862ACA.9060602@bwh.harvard.edu> Late reminder: as we discussed last week we'll have one more tcon today at 9 eastern (in 55 minutes!) to wrap up any last items before the hackfest. > *Call in info:* > > The telephone conference phone number from within the USA is toll-free > at 1-800-704-9804 > For international participants, you can dial-in using the USA number > (404) 920-6604 > The conference code is 718324. -Steve On Aug/31/10 7:45 AM, Steve Pieper wrote: > > A reminder that we'll have another organizational tcon for the (rapidly > approaching!) hackfest today at 9 eastern time. > > *Call in info:* > > The telephone conference phone number from within the USA is toll-free > at 1-800-704-9804 > For international participants, you can dial-in using the USA number > (404) 920-6604 > The conference code is 718324. > > *Agenda topics* > > - travel info: > > http://www.commontk.org/index.php/CTK-Hackfest-September-2010#Travel_.26_Hotel > > > - driving application (goals for CTK) > > http://www.commontk.org/index.php/CTK-Hackfest-September-2010#Review_driving_application > > > - topics to work on at hackfest > > http://www.commontk.org/index.php/CTK-Hackfest-September-2010#Topics_and_Projects > > > > -------- Original Message -------- > Subject: Hotel info - Fwd: CTK hackfest Sept 13-17 in Barcelona > Date: Thu, 26 Aug 2010 07:59:59 -0400 > From: Steve Pieper > To: ctk-developers at commontk.org > > Hi CTKers - > > Hackfest plans are coming together nicely - Barcelona will be an > exciting place to visit and work! Travel info is now on the wiki - see > email from Xavi below. Note that you should be making hotel arrangement > *asap*. > > http://www.commontk.org/index.php/CTK-Hackfest-September-2010#Travel_.26_Hotel > > > Early reminder: We'll have another organizing tcon next Tuesday at 9am > eastern time. > > -Steve > > *From:* Xavier Planes > *Sent:* mi?rcoles, 25 de agosto de 2010 14:15 > *To:* 'ctk-developers at commontk.org' > *Subject:* CTK hackfest Sept 13-17 in Barcelona > > Dear all, > > We have made a pre hotel booking for CTK in a hotel that is very close > to the meeting place. We booked 10 rooms (individual or double). There?s > a reduced price for UPF (15%), so you can directly contact to the hotel > using the name ?CTK UPF? and you will get the reduction. This reduction > will be applied individually, not for a group. > > To *formalize* this pre hotel booking you need to contact with the hotel > and provide the *credit card number and Expiry date*. This pre hotel > booking is valid until *06.09.10*. If you will stay more days in > Barcelona, you can request them to the hotel *as* *soon as possible*. > > Details: > > ? Hotel booking name: ?CTK UPF? > > ? Hotel: ?Hotel Amrey Diagonal?: > http://www.amrey-hotels.com/hoteldiagonal/home.php?lang=EN&c=1 > > > ? Arrival date: 13.09.10 (Monday) > > ? Departure date: 17.09.10 (Friday) > > ? Daily rate: > > o 95.89 ? VAT Incl. ? DOBLE > > o 85.79 ? VAT Incl. ? SINGLE > > ? Breakfast included > > ? You need to pay directly when you arrive on 13.09.10 until 18H > > If you need further details or we can give you more support, please > contact me. > > Best, > > *Xavier Planes Cid* > > Scientific Software Developer (SSD) > > Research Group for Computational Imaging > > and Simulation Technologies in Biomedicine - CISTIB > > Information & Communication Technologies Department ? D. 55.117 > > Universitat Pompeu Fabra > > C/ T?nger, 122-140 - E08018 Barcelona - Spain > > Phone: +34 93 542 13 50 > > Fax: +34 93 542 14 46 > > Office number : 55 105 > > _______________________________________________ > Ctk-developers mailing list > Ctk-developers at commontk.org > http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers From Benoit.Bleuze at sophia.inria.fr Tue Sep 7 12:31:16 2010 From: Benoit.Bleuze at sophia.inria.fr (Benoit.Bleuze at sophia.inria.fr) Date: Tue, 07 Sep 2010 14:31:16 +0200 Subject: [Ctk-developers] tcon today (Tuesday 9 eastern) - Fwd: Hotel info - Fwd: CTK hackfest Sept 13-17 in Barcelona In-Reply-To: <4C862ACA.9060602@bwh.harvard.edu> References: <4C7CEB56.7060903@bwh.harvard.edu> <4C862ACA.9060602@bwh.harvard.edu> Message-ID: <4C863094.10904@sophia.inria.fr> Already in Barcelona for an other workshop. I met Xavier here, we are eager to start some collaboration and do some actual coding! Have a good tcon folks. Ben Steve Pieper wrote: > Late reminder: as we discussed last week we'll have one more tcon > today at 9 eastern (in 55 minutes!) to wrap up any last items before > the hackfest. > > > *Call in info:* > > > > The telephone conference phone number from within the USA is toll-free > > at 1-800-704-9804 > > For international participants, you can dial-in using the USA number > > (404) 920-6604 > > The conference code is 718324. > > -Steve > > On Aug/31/10 7:45 AM, Steve Pieper wrote: >> >> A reminder that we'll have another organizational tcon for the (rapidly >> approaching!) hackfest today at 9 eastern time. >> >> *Call in info:* >> >> The telephone conference phone number from within the USA is toll-free >> at 1-800-704-9804 >> For international participants, you can dial-in using the USA number >> (404) 920-6604 >> The conference code is 718324. >> >> *Agenda topics* >> >> - travel info: >> >> http://www.commontk.org/index.php/CTK-Hackfest-September-2010#Travel_.26_Hotel >> >> >> >> - driving application (goals for CTK) >> >> http://www.commontk.org/index.php/CTK-Hackfest-September-2010#Review_driving_application >> >> >> >> - topics to work on at hackfest >> >> http://www.commontk.org/index.php/CTK-Hackfest-September-2010#Topics_and_Projects >> >> >> >> >> -------- Original Message -------- >> Subject: Hotel info - Fwd: CTK hackfest Sept 13-17 in Barcelona >> Date: Thu, 26 Aug 2010 07:59:59 -0400 >> From: Steve Pieper >> To: ctk-developers at commontk.org >> >> Hi CTKers - >> >> Hackfest plans are coming together nicely - Barcelona will be an >> exciting place to visit and work! Travel info is now on the wiki - see >> email from Xavi below. Note that you should be making hotel arrangement >> *asap*. >> >> http://www.commontk.org/index.php/CTK-Hackfest-September-2010#Travel_.26_Hotel >> >> >> >> Early reminder: We'll have another organizing tcon next Tuesday at 9am >> eastern time. >> >> -Steve >> >> *From:* Xavier Planes >> *Sent:* mi?rcoles, 25 de agosto de 2010 14:15 >> *To:* 'ctk-developers at commontk.org' >> *Subject:* CTK hackfest Sept 13-17 in Barcelona >> >> Dear all, >> >> We have made a pre hotel booking for CTK in a hotel that is very close >> to the meeting place. We booked 10 rooms (individual or double). There?s >> a reduced price for UPF (15%), so you can directly contact to the hotel >> using the name ?CTK UPF? and you will get the reduction. This reduction >> will be applied individually, not for a group. >> >> To *formalize* this pre hotel booking you need to contact with the hotel >> and provide the *credit card number and Expiry date*. This pre hotel >> booking is valid until *06.09.10*. If you will stay more days in >> Barcelona, you can request them to the hotel *as* *soon as possible*. >> >> Details: >> >> ? Hotel booking name: ?CTK UPF? >> >> ? Hotel: ?Hotel Amrey Diagonal?: >> http://www.amrey-hotels.com/hoteldiagonal/home.php?lang=EN&c=1 >> >> >> ? Arrival date: 13.09.10 (Monday) >> >> ? Departure date: 17.09.10 (Friday) >> >> ? Daily rate: >> >> o 95.89 ? VAT Incl. ? DOBLE >> >> o 85.79 ? VAT Incl. ? SINGLE >> >> ? Breakfast included >> >> ? You need to pay directly when you arrive on 13.09.10 until 18H >> >> If you need further details or we can give you more support, please >> contact me. >> >> Best, >> >> *Xavier Planes Cid* >> >> Scientific Software Developer (SSD) >> >> Research Group for Computational Imaging >> >> and Simulation Technologies in Biomedicine - CISTIB >> >> Information & Communication Technologies Department ? D. 55.117 >> >> Universitat Pompeu Fabra >> >> C/ T?nger, 122-140 - E08018 Barcelona - Spain >> >> Phone: +34 93 542 13 50 >> >> Fax: +34 93 542 14 46 >> >> Office number : 55 105 >> >> _______________________________________________ >> Ctk-developers mailing list >> Ctk-developers at commontk.org >> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers > _______________________________________________ > Ctk-developers mailing list > Ctk-developers at commontk.org > http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers From xavier.planes at upf.edu Thu Sep 9 13:09:26 2010 From: xavier.planes at upf.edu (Xavier Planes) Date: Thu, 9 Sep 2010 15:09:26 +0200 Subject: [Ctk-developers] CTK hackfest Sept 13-17 in Barcelona In-Reply-To: <4C862ACA.9060602@bwh.harvard.edu> References: <4C7CEB56.7060903@bwh.harvard.edu> <4C862ACA.9060602@bwh.harvard.edu> Message-ID: <018d01cb5020$3e8d8a30$bba89e90$@planes@upf.edu> Dear all, Chiara (my workmate), have been working on a document with different proposals, for the people who are coming to Barcelona. We hope it can help you to enjoy the city for the time that we are not hacking. See you soon, Xavi -------------- next part -------------- A non-text attachment was scrubbed... Name: CTKHackfest-Sept2010.pdf Type: application/pdf Size: 713958 bytes Desc: not available URL: From pieper at bwh.harvard.edu Sat Sep 11 14:56:55 2010 From: pieper at bwh.harvard.edu (Steve Pieper) Date: Sat, 11 Sep 2010 10:56:55 -0400 Subject: [Ctk-developers] CTK support VTK trunk In-Reply-To: <674ED0ABECD0434A910B1684F6169418108C76@uphmasphi006.UPHS.PENNHEALTH.PRV> References: <674ED0ABECD0434A910B1684F6169418108C76@uphmasphi006.UPHS.PENNHEALTH.PRV> Message-ID: <4C8B98B7.7070706@bwh.harvard.edu> FYI - post from Dominique... On Sep/10/10 1:35 PM, Belhachemi, Dominique wrote: > (I am not able to post to the CTK list) > > Hi Julien, Hi Steve, > > I can see the need of the VTK trunk, but please make this optional. > Let's use stable releases, and let the user decide if he wants to link against the VTK trunk. > > Thanks > Dominique > > > ------------- > Julien Finet julien.finet at kitware.com > Mon Aug 23 17:44:32 EDT 2010 > > So far, I don't think anything in CTK was requiring the trunk version of VTK > to be able to compile. > > In a close future, I would like to make some commits on CTK (Transfer > function widgets) that require the last version (trunk) of VTK to compile. > > Will it generate any problem for anyone ? > > Thanks, > Julien. > > > > > > > > > > The information contained in this e-mail message is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. From stephen.aylward at kitware.com Sat Sep 11 15:07:11 2010 From: stephen.aylward at kitware.com (Stephen Aylward) Date: Sat, 11 Sep 2010 11:07:11 -0400 Subject: [Ctk-developers] CTK support VTK trunk In-Reply-To: <4C8B98B7.7070706@bwh.harvard.edu> References: <674ED0ABECD0434A910B1684F6169418108C76@uphmasphi006.UPHS.PENNHEALTH.PRV> <4C8B98B7.7070706@bwh.harvard.edu> Message-ID: Perhaps during the initial development of a new toolkit it is useful to link with the trunk of other toolkit that will be changed to support it. I agree that as a toolkit matures it should then link with stable releases instead. Not certain if now is a good time to switch to linking with a stable VTK, particularly given the synchronized changes being committed by Julien Finet. Note that use of VTK is optional. Probably a good topic for the hackfest. S -- Sent from an Android phone. Please forgive the typos. On Sep 11, 2010 10:57 AM, "Steve Pieper" wrote: > FYI - post from Dominique... > > On Sep/10/10 1:35 PM, Belhachemi, Dominique wrote: >> (I am not able to post to the CTK list) >> >> Hi Julien, Hi Steve, >> >> I can see the need of the VTK trunk, but please make this optional. >> Let's use stable releases, and let the user decide if he wants to link against the VTK trunk. >> >> Thanks >> Dominique >> >> >> ------------- >> Julien Finet julien.finet at kitware.com >> Mon Aug 23 17:44:32 EDT 2010 >> >> So far, I don't think anything in CTK was requiring the trunk version of VTK >> to be able to compile. >> >> In a close future, I would like to make some commits on CTK (Transfer >> function widgets) that require the last version (trunk) of VTK to compile. >> >> Will it generate any problem for anyone ? >> >> Thanks, >> Julien. >> >> >> >> >> >> >> >> >> >> The information contained in this e-mail message is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. > _______________________________________________ > Ctk-developers mailing list > Ctk-developers at commontk.org > http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers -------------- next part -------------- An HTML attachment was scrubbed... URL: From Dominique.Belhachemi at uphs.upenn.edu Sat Sep 11 18:18:56 2010 From: Dominique.Belhachemi at uphs.upenn.edu (Dominique Belhachemi) Date: Sat, 11 Sep 2010 14:18:56 -0400 Subject: [Ctk-developers] CTK support VTK trunk In-Reply-To: References: <674ED0ABECD0434A910B1684F6169418108C76@uphmasphi006.UPHS.PENNHEALTH.PRV> <4C8B98B7.7070706@bwh.harvard.edu> Message-ID: <1284229136.32205.115.camel@zuse> Hi, I would like to support CTK too :) If I understand the situation correctly then CTK was using VTK stable and Julien was thinking about to switch to VTK trunk. I think such a step would also delay a CTK release because you would have to wait for the next VTK release. For now, I agree with Stephen and I am fine with the VTK situation because I am not using it. But later there might arise weird dependency issues. Happy hacking! Dominique On Sat, 2010-09-11 at 11:07 -0400, Stephen Aylward wrote: > Perhaps during the initial development of a new toolkit it is useful > to link with the trunk of other toolkit that will be changed to > support it. > > I agree that as a toolkit matures it should then link with stable > releases instead. > > Not certain if now is a good time to switch to linking with a stable > VTK, particularly given the synchronized changes being committed by > Julien Finet. Note that use of VTK is optional. > > Probably a good topic for the hackfest. > > S > > -- Sent from an Android phone. Please forgive the typos. > > On Sep 11, 2010 10:57 AM, "Steve Pieper" > wrote: > > FYI - post from Dominique... > > > > On Sep/10/10 1:35 PM, Belhachemi, Dominique wrote: > >> (I am not able to post to the CTK list) > >> > >> Hi Julien, Hi Steve, > >> > >> I can see the need of the VTK trunk, but please make this optional. > >> Let's use stable releases, and let the user decide if he wants to > link against the VTK trunk. > >> > >> Thanks > >> Dominique > >> > >> > >> ------------- > >> Julien Finet julien.finet at kitware.com > >> Mon Aug 23 17:44:32 EDT 2010 > >> > >> So far, I don't think anything in CTK was requiring the trunk > version of VTK > >> to be able to compile. > >> > >> In a close future, I would like to make some commits on CTK > (Transfer > >> function widgets) that require the last version (trunk) of VTK to > compile. > >> > >> Will it generate any problem for anyone ? > >> > >> Thanks, > >> Julien. > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> The information contained in this e-mail message is intended only > for the personal and confidential use of the recipient(s) named above. > If the reader of this message is not the intended recipient or an > agent responsible for delivering it to the intended recipient, you are > hereby notified that you have received this document in error and that > any review, dissemination, distribution, or copying of this message is > strictly prohibited. If you have received this communication in error, > please notify us immediately by e-mail, and delete the original > message. > > _______________________________________________ > > Ctk-developers mailing list > > Ctk-developers at commontk.org > > http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers > > The information contained in this e-mail message is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. From julien.finet at kitware.com Sat Sep 11 19:29:48 2010 From: julien.finet at kitware.com (Julien Finet) Date: Sat, 11 Sep 2010 21:29:48 +0200 Subject: [Ctk-developers] CTK support VTK trunk In-Reply-To: <1284229136.32205.115.camel@zuse> References: <674ED0ABECD0434A910B1684F6169418108C76@uphmasphi006.UPHS.PENNHEALTH.PRV> <4C8B98B7.7070706@bwh.harvard.edu> <1284229136.32205.115.camel@zuse> Message-ID: I agree eventually we ll need to handle fixed release of vtk without preventing from using the trunk. For information, the code depending on VTK trunk has already been committed into the trunk. Julien. On Sat, Sep 11, 2010 at 8:18 PM, Dominique Belhachemi < Dominique.Belhachemi at uphs.upenn.edu> wrote: > Hi, > > I would like to support CTK too :) > > If I understand the situation correctly then CTK was using VTK stable > and Julien was thinking about to switch to VTK trunk. I think such a > step would also delay a CTK release because you would have to wait for > the next VTK release. > > For now, I agree with Stephen and I am fine with the VTK situation > because I am not using it. But later there might arise weird dependency > issues. > > Happy hacking! > Dominique > > > On Sat, 2010-09-11 at 11:07 -0400, Stephen Aylward wrote: > > Perhaps during the initial development of a new toolkit it is useful > > to link with the trunk of other toolkit that will be changed to > > support it. > > > > I agree that as a toolkit matures it should then link with stable > > releases instead. > > > > Not certain if now is a good time to switch to linking with a stable > > VTK, particularly given the synchronized changes being committed by > > Julien Finet. Note that use of VTK is optional. > > > > Probably a good topic for the hackfest. > > > > S > > > > -- Sent from an Android phone. Please forgive the typos. > > > > On Sep 11, 2010 10:57 AM, "Steve Pieper" > > wrote: > > > FYI - post from Dominique... > > > > > > On Sep/10/10 1:35 PM, Belhachemi, Dominique wrote: > > >> (I am not able to post to the CTK list) > > >> > > >> Hi Julien, Hi Steve, > > >> > > >> I can see the need of the VTK trunk, but please make this optional. > > >> Let's use stable releases, and let the user decide if he wants to > > link against the VTK trunk. > > >> > > >> Thanks > > >> Dominique > > >> > > >> > > >> ------------- > > >> Julien Finet julien.finet at kitware.com > > >> Mon Aug 23 17:44:32 EDT 2010 > > >> > > >> So far, I don't think anything in CTK was requiring the trunk > > version of VTK > > >> to be able to compile. > > >> > > >> In a close future, I would like to make some commits on CTK > > (Transfer > > >> function widgets) that require the last version (trunk) of VTK to > > compile. > > >> > > >> Will it generate any problem for anyone ? > > >> > > >> Thanks, > > >> Julien. > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> The information contained in this e-mail message is intended only > > for the personal and confidential use of the recipient(s) named above. > > If the reader of this message is not the intended recipient or an > > agent responsible for delivering it to the intended recipient, you are > > hereby notified that you have received this document in error and that > > any review, dissemination, distribution, or copying of this message is > > strictly prohibited. If you have received this communication in error, > > please notify us immediately by e-mail, and delete the original > > message. > > > _______________________________________________ > > > Ctk-developers mailing list > > > Ctk-developers at commontk.org > > > http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers > > > > > > > > The information contained in this e-mail message is intended only for the > personal and confidential use of the recipient(s) named above. If the reader > of this message is not the intended recipient or an agent responsible for > delivering it to the intended recipient, you are hereby notified that you > have received this document in error and that any review, dissemination, > distribution, or copying of this message is strictly prohibited. If you have > received this communication in error, please notify us immediately by > e-mail, and delete the original message. > _______________________________________________ > Ctk-developers mailing list > Ctk-developers at commontk.org > http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dean.inglis at camris.ca Wed Sep 15 20:36:35 2010 From: dean.inglis at camris.ca (Dean Inglis) Date: Wed, 15 Sep 2010 16:36:35 -0400 Subject: [Ctk-developers] CTKWidgets compile errors Message-ID: <5A5ABE2BE26F48EC99F2DFD28470730E@Hyoid> Hello, some recent changes to the ctk source result in the following errors on Win32 Vista MinGW (Qt SDK 4.6.3) which might not show on my experimental dashboard (hyoid) submission since it is failing to compile/configure/test QtMobility (as mentioned in prev message threads). hth, Dean D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp: In member function 'void ctkWorkflowButtonBoxWidgetPrivate::updateBackButton(ctkWorkflowSt ep*)': D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp:114: warnin g: unused variable 'q' [-Wunused-variable] D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp: In member function 'void ctkWorkflowButtonBoxWidgetPrivate::updateNextButton(ctkWorkflowSt ep*)': D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp:156: warnin g: unused variable 'q' [-Wunused-variable] [ 31%] Building CXX object Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowGro upBox.cpp.obj [ 32%] Building CXX object Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowSta ckedWidget.cpp.obj [ 32%] Building CXX object Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowTab Widget.cpp.obj [ 32%] Building CXX object Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowWid get.cpp.obj [ 32%] Building CXX object Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowWid getStep.cpp.obj [ 32%] Building CXX object Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkWorkflo wAbstractWidgetStep_p.cxx.obj [ 33%] Building CXX object Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkActions Widget.cxx.obj In file included from C:\Qt\qt\include/QtCore/qscopedpointer.h:1, from C:\Qt\qt\include/QtCore/../../src/corelib/kernel/qobject.h :54, from C:\Qt\qt\include/QtCore/qobject.h:1, from C:\Qt\qt\include/QtGui/../../src/gui/itemviews/qabstractit emdelegate.h:45, from C:\Qt\qt\include/QtGui/qabstractitemdelegate.h:1, from C:\Qt\qt\include\QtGui/../../src/gui/itemviews/qstyleditem delegate.h:45, from C:\Qt\qt\include\QtGui/qstyleditemdelegate.h:1, from C:\Qt\qt\include\QtGui/QStyledItemDelegate:1, from D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widg ets\/../../../../../../../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:25, from D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widg ets\moc_ctkActionsWidget.cxx:10: C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h: In static memb er function 'static void QScopedPointerDeleter::cleanup(T*) [with T = ctkSort FilterActionsProxyModelPrivate]': C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:100: instanti ated from 'QScopedPointer::~QScopedPointer() [with T = ctkSortFilter ActionsProxyModelPrivate, Cleanup = QScopedPointerDeleter]' D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widgets\/../../../../../.. /../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:106: instantiated from here C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:59: error: inva lid application of 'sizeof' to incomplete type 'ctkSortFilterActionsProxyModelPr ivate' C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:59: error: crea ting array with negative size ('-0x000000001') C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:62: warning: po ssible problem detected in invocation of delete operator: C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:54: warning: 'p ointer' has incomplete type D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widgets\/../../../../../.. /../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:33: warning: forward declaration of 'struct ctkSortFilterActionsProxyModelPrivate' C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:62: note: neith er the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined. mingw32-make[5]: *** [Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkActionsWidge t.cxx.obj] Error 1 mingw32-make[4]: *** [Libs/Widgets/CMakeFiles/CTKWidgets.dir/all] Error 2 mingw32-make[3]: *** [all] Error 2 mingw32-make[2]: *** [CMakeExternals/Stamp/CTK-build/CTK-build-build] Error 2 mingw32-make[1]: *** [CMakeFiles/CTK-build.dir/all] Error 2 mingw32-make: *** [all] Error 2 From wsales at gmail.com Wed Sep 15 21:09:07 2010 From: wsales at gmail.com (Wagner Sales) Date: Wed, 15 Sep 2010 18:09:07 -0300 Subject: [Ctk-developers] CTKWidgets compile errors In-Reply-To: <5A5ABE2BE26F48EC99F2DFD28470730E@Hyoid> References: <5A5ABE2BE26F48EC99F2DFD28470730E@Hyoid> Message-ID: Hi, I'm experiencing this errors with Qt 4.7.0 ( release candidate ). Wagner Sales 2010/9/15 Dean Inglis : > Hello, > > some recent changes to the ctk source result in the following errors on > Win32 Vista > MinGW (Qt SDK 4.6.3) which might not show on my experimental dashboard > (hyoid) > submission since it is failing to compile/configure/test QtMobility (as > mentioned in prev > message threads). > > hth, > Dean > > D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp: In > member > function 'void > ctkWorkflowButtonBoxWidgetPrivate::updateBackButton(ctkWorkflowSt > ep*)': > D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp:114: > warnin > g: unused variable 'q' [-Wunused-variable] > D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp: In > member > function 'void > ctkWorkflowButtonBoxWidgetPrivate::updateNextButton(ctkWorkflowSt > ep*)': > D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp:156: > warnin > g: unused variable 'q' [-Wunused-variable] > [ 31%] Building CXX object > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowGro > upBox.cpp.obj > [ 32%] Building CXX object > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowSta > ckedWidget.cpp.obj > [ 32%] Building CXX object > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowTab > Widget.cpp.obj > [ 32%] Building CXX object > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowWid > get.cpp.obj > [ 32%] Building CXX object > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowWid > getStep.cpp.obj > [ 32%] Building CXX object > Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkWorkflo > wAbstractWidgetStep_p.cxx.obj > [ 33%] Building CXX object > Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkActions > Widget.cxx.obj > In file included from C:\Qt\qt\include/QtCore/qscopedpointer.h:1, > ? ? ? ? ? ? ? ?from > C:\Qt\qt\include/QtCore/../../src/corelib/kernel/qobject.h > :54, > ? ? ? ? ? ? ? ?from C:\Qt\qt\include/QtCore/qobject.h:1, > ? ? ? ? ? ? ? ?from > C:\Qt\qt\include/QtGui/../../src/gui/itemviews/qabstractit > emdelegate.h:45, > ? ? ? ? ? ? ? ?from C:\Qt\qt\include/QtGui/qabstractitemdelegate.h:1, > ? ? ? ? ? ? ? ?from > C:\Qt\qt\include\QtGui/../../src/gui/itemviews/qstyleditem > delegate.h:45, > ? ? ? ? ? ? ? ?from C:\Qt\qt\include\QtGui/qstyleditemdelegate.h:1, > ? ? ? ? ? ? ? ?from C:\Qt\qt\include\QtGui/QStyledItemDelegate:1, > ? ? ? ? ? ? ? ?from > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widg > ets\/../../../../../../../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:25, > ? ? ? ? ? ? ? ?from > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widg > ets\moc_ctkActionsWidget.cxx:10: > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h: In static > memb > er function 'static void QScopedPointerDeleter::cleanup(T*) [with T = > ctkSort > FilterActionsProxyModelPrivate]': > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:100: > instanti > ated from 'QScopedPointer::~QScopedPointer() [with T = > ctkSortFilter > ActionsProxyModelPrivate, Cleanup = > QScopedPointerDeleter oxyModelPrivate>]' > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widgets\/../../../../../.. > /../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:106: ? instantiated from > here > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:59: error: > inva > lid application of 'sizeof' to incomplete type > 'ctkSortFilterActionsProxyModelPr > ivate' > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:59: error: > crea > ting array with negative size ('-0x000000001') > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:62: > warning: po > ssible problem detected in invocation of delete operator: > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:54: > warning: 'p > ointer' has incomplete type > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widgets\/../../../../../.. > /../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:33: warning: forward > declaration > of 'struct ctkSortFilterActionsProxyModelPrivate' > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:62: note: > neith > er the destructor nor the class-specific operator delete will be called, > even if > they are declared when the class is defined. > mingw32-make[5]: *** > [Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkActionsWidge > t.cxx.obj] Error 1 > mingw32-make[4]: *** [Libs/Widgets/CMakeFiles/CTKWidgets.dir/all] Error 2 > mingw32-make[3]: *** [all] Error 2 > mingw32-make[2]: *** [CMakeExternals/Stamp/CTK-build/CTK-build-build] Error > 2 > mingw32-make[1]: *** [CMakeFiles/CTK-build.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 > From julien.finet at kitware.com Wed Sep 15 22:28:51 2010 From: julien.finet at kitware.com (Julien Finet) Date: Thu, 16 Sep 2010 00:28:51 +0200 Subject: [Ctk-developers] CTKWidgets compile errors In-Reply-To: References: <5A5ABE2BE26F48EC99F2DFD28470730E@Hyoid> Message-ID: Sorry about that... we're still working on these... we'll let you know when you can update your CTK dir. Thanks for your patience, Julien. On Wed, Sep 15, 2010 at 11:09 PM, Wagner Sales wrote: > Hi, > > I'm experiencing this errors with Qt 4.7.0 ( release candidate ). > > Wagner Sales > > > 2010/9/15 Dean Inglis : > > Hello, > > > > some recent changes to the ctk source result in the following errors on > > Win32 Vista > > MinGW (Qt SDK 4.6.3) which might not show on my experimental dashboard > > (hyoid) > > submission since it is failing to compile/configure/test QtMobility (as > > mentioned in prev > > message threads). > > > > hth, > > Dean > > > > D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp: In > > member > > function 'void > > ctkWorkflowButtonBoxWidgetPrivate::updateBackButton(ctkWorkflowSt > > ep*)': > > D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp:114: > > warnin > > g: unused variable 'q' [-Wunused-variable] > > D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp: In > > member > > function 'void > > ctkWorkflowButtonBoxWidgetPrivate::updateNextButton(ctkWorkflowSt > > ep*)': > > D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp:156: > > warnin > > g: unused variable 'q' [-Wunused-variable] > > [ 31%] Building CXX object > > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowGro > > upBox.cpp.obj > > [ 32%] Building CXX object > > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowSta > > ckedWidget.cpp.obj > > [ 32%] Building CXX object > > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowTab > > Widget.cpp.obj > > [ 32%] Building CXX object > > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowWid > > get.cpp.obj > > [ 32%] Building CXX object > > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowWid > > getStep.cpp.obj > > [ 32%] Building CXX object > > Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkWorkflo > > wAbstractWidgetStep_p.cxx.obj > > [ 33%] Building CXX object > > Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkActions > > Widget.cxx.obj > > In file included from C:\Qt\qt\include/QtCore/qscopedpointer.h:1, > > from > > C:\Qt\qt\include/QtCore/../../src/corelib/kernel/qobject.h > > :54, > > from C:\Qt\qt\include/QtCore/qobject.h:1, > > from > > C:\Qt\qt\include/QtGui/../../src/gui/itemviews/qabstractit > > emdelegate.h:45, > > from C:\Qt\qt\include/QtGui/qabstractitemdelegate.h:1, > > from > > C:\Qt\qt\include\QtGui/../../src/gui/itemviews/qstyleditem > > delegate.h:45, > > from C:\Qt\qt\include\QtGui/qstyleditemdelegate.h:1, > > from C:\Qt\qt\include\QtGui/QStyledItemDelegate:1, > > from > > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widg > > ets\/../../../../../../../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:25, > > from > > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widg > > ets\moc_ctkActionsWidget.cxx:10: > > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h: In > static > > memb > > er function 'static void QScopedPointerDeleter::cleanup(T*) [with T = > > ctkSort > > FilterActionsProxyModelPrivate]': > > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:100: > > instanti > > ated from 'QScopedPointer::~QScopedPointer() [with T = > > ctkSortFilter > > ActionsProxyModelPrivate, Cleanup = > > QScopedPointerDeleter > oxyModelPrivate>]' > > > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widgets\/../../../../../.. > > /../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:106: instantiated from > > here > > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:59: > error: > > inva > > lid application of 'sizeof' to incomplete type > > 'ctkSortFilterActionsProxyModelPr > > ivate' > > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:59: > error: > > crea > > ting array with negative size ('-0x000000001') > > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:62: > > warning: po > > ssible problem detected in invocation of delete operator: > > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:54: > > warning: 'p > > ointer' has incomplete type > > > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widgets\/../../../../../.. > > /../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:33: warning: forward > > declaration > > of 'struct ctkSortFilterActionsProxyModelPrivate' > > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:62: > note: > > neith > > er the destructor nor the class-specific operator delete will be called, > > even if > > they are declared when the class is defined. > > mingw32-make[5]: *** > > [Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkActionsWidge > > t.cxx.obj] Error 1 > > mingw32-make[4]: *** [Libs/Widgets/CMakeFiles/CTKWidgets.dir/all] Error 2 > > mingw32-make[3]: *** [all] Error 2 > > mingw32-make[2]: *** [CMakeExternals/Stamp/CTK-build/CTK-build-build] > Error > > 2 > > mingw32-make[1]: *** [CMakeFiles/CTK-build.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 > > > _______________________________________________ > Ctk-developers mailing list > Ctk-developers at commontk.org > http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jchris.fillionr at kitware.com Wed Sep 15 22:55:55 2010 From: jchris.fillionr at kitware.com (Jean-Christophe Fillion-Robin) Date: Wed, 15 Sep 2010 18:55:55 -0400 Subject: [Ctk-developers] CTKWidgets compile errors In-Reply-To: References: <5A5ABE2BE26F48EC99F2DFD28470730E@Hyoid> Message-ID: Hi Dean, The following commits: http://github.com/commontk/CTK/compare/bab18744b88d3166d37b...059542769bb1851fd6ed .. should fix the problem. Let me know if you have any other issues. Thks Jc On Wed, Sep 15, 2010 at 6:28 PM, Julien Finet wrote: > Sorry about that... we're still working on these... we'll let you know when > you can update your CTK dir. > Thanks for your patience, > Julien. > On Wed, Sep 15, 2010 at 11:09 PM, Wagner Sales wrote: > >> Hi, >> >> I'm experiencing this errors with Qt 4.7.0 ( release candidate ). >> >> Wagner Sales >> >> >> 2010/9/15 Dean Inglis : >> > Hello, >> > >> > some recent changes to the ctk source result in the following errors on >> > Win32 Vista >> > MinGW (Qt SDK 4.6.3) which might not show on my experimental dashboard >> > (hyoid) >> > submission since it is failing to compile/configure/test QtMobility (as >> > mentioned in prev >> > message threads). >> > >> > hth, >> > Dean >> > >> > D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp: In >> > member >> > function 'void >> > ctkWorkflowButtonBoxWidgetPrivate::updateBackButton(ctkWorkflowSt >> > ep*)': >> > >> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp:114: >> > warnin >> > g: unused variable 'q' [-Wunused-variable] >> > D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp: In >> > member >> > function 'void >> > ctkWorkflowButtonBoxWidgetPrivate::updateNextButton(ctkWorkflowSt >> > ep*)': >> > >> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp:156: >> > warnin >> > g: unused variable 'q' [-Wunused-variable] >> > [ 31%] Building CXX object >> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowGro >> > upBox.cpp.obj >> > [ 32%] Building CXX object >> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowSta >> > ckedWidget.cpp.obj >> > [ 32%] Building CXX object >> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowTab >> > Widget.cpp.obj >> > [ 32%] Building CXX object >> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowWid >> > get.cpp.obj >> > [ 32%] Building CXX object >> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowWid >> > getStep.cpp.obj >> > [ 32%] Building CXX object >> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkWorkflo >> > wAbstractWidgetStep_p.cxx.obj >> > [ 33%] Building CXX object >> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkActions >> > Widget.cxx.obj >> > In file included from C:\Qt\qt\include/QtCore/qscopedpointer.h:1, >> > from >> > C:\Qt\qt\include/QtCore/../../src/corelib/kernel/qobject.h >> > :54, >> > from C:\Qt\qt\include/QtCore/qobject.h:1, >> > from >> > C:\Qt\qt\include/QtGui/../../src/gui/itemviews/qabstractit >> > emdelegate.h:45, >> > from C:\Qt\qt\include/QtGui/qabstractitemdelegate.h:1, >> > from >> > C:\Qt\qt\include\QtGui/../../src/gui/itemviews/qstyleditem >> > delegate.h:45, >> > from C:\Qt\qt\include\QtGui/qstyleditemdelegate.h:1, >> > from C:\Qt\qt\include\QtGui/QStyledItemDelegate:1, >> > from >> > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widg >> > >> ets\/../../../../../../../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:25, >> > from >> > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widg >> > ets\moc_ctkActionsWidget.cxx:10: >> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h: In >> static >> > memb >> > er function 'static void QScopedPointerDeleter::cleanup(T*) [with T = >> > ctkSort >> > FilterActionsProxyModelPrivate]': >> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:100: >> > instanti >> > ated from 'QScopedPointer::~QScopedPointer() [with T = >> > ctkSortFilter >> > ActionsProxyModelPrivate, Cleanup = >> > QScopedPointerDeleter> > oxyModelPrivate>]' >> > >> D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widgets\/../../../../../.. >> > /../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:106: instantiated from >> > here >> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:59: >> error: >> > inva >> > lid application of 'sizeof' to incomplete type >> > 'ctkSortFilterActionsProxyModelPr >> > ivate' >> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:59: >> error: >> > crea >> > ting array with negative size ('-0x000000001') >> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:62: >> > warning: po >> > ssible problem detected in invocation of delete operator: >> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:54: >> > warning: 'p >> > ointer' has incomplete type >> > >> D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widgets\/../../../../../.. >> > /../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:33: warning: forward >> > declaration >> > of 'struct ctkSortFilterActionsProxyModelPrivate' >> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:62: >> note: >> > neith >> > er the destructor nor the class-specific operator delete will be called, >> > even if >> > they are declared when the class is defined. >> > mingw32-make[5]: *** >> > [Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkActionsWidge >> > t.cxx.obj] Error 1 >> > mingw32-make[4]: *** [Libs/Widgets/CMakeFiles/CTKWidgets.dir/all] Error >> 2 >> > mingw32-make[3]: *** [all] Error 2 >> > mingw32-make[2]: *** [CMakeExternals/Stamp/CTK-build/CTK-build-build] >> Error >> > 2 >> > mingw32-make[1]: *** [CMakeFiles/CTK-build.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 >> > >> _______________________________________________ >> Ctk-developers mailing list >> Ctk-developers at commontk.org >> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers >> > > > _______________________________________________ > 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: From dean.inglis at camris.ca Wed Sep 15 23:43:52 2010 From: dean.inglis at camris.ca (Dean Inglis) Date: Wed, 15 Sep 2010 19:43:52 -0400 Subject: [Ctk-developers] CTKWidgets compile errors In-Reply-To: References: <5A5ABE2BE26F48EC99F2DFD28470730E@Hyoid> Message-ID: <05BB04333D024923A6ACE85102C9BC69@Hyoid> Hi Jc, compile problems fixed. FYI, I ran ctest in my CTK-build dir and the following tests are failing: 89% tests passed, 6 tests failed out of 53 Label Time Summary: CTKCore = 11.09 sec CTKPluginFramework = 0.17 sec CTKVisualizationVTKCore = 8.40 sec CTKVisualizationVTKWidgets = 51.38 sec CTKWidgets = 51.37 sec Total Test time (real) = 123.07 sec The following tests FAILED: 1 - ctkCommandLineParserTest1 (Failed) 38 - ctkVTKConnectionTest1 (Failed) 41 - ctkTransferFunctionViewTest1 (SEGFAULT) 42 - ctkTransferFunctionViewTest2 (SEGFAULT) 43 - ctkTransferFunctionViewTest3 (SEGFAULT) 44 - ctkTransferFunctionViewTest4 (SEGFAULT) Also, I turned on //Enable DICOM/Core Library. CTK_LIB_DICOM/Core:BOOL=ON to see if I can build more of ctk but encounter the following errors: [ 42%] No build step for 'DCMTK' [ 42%] Performing install step for 'DCMTK' 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 Ive read in a few posts that the multiple types in one declaration error can be caused by a missing semicolon at the end of a class definition or a missing closing brace in a class definition. Dean ----- Original Message ----- From: "Jean-Christophe Fillion-Robin" To: "Julien Finet" Cc: Sent: Wednesday, September 15, 2010 6:55 PM Subject: Re: [Ctk-developers] CTKWidgets compile errors > Hi Dean, > > The following commits: > http://github.com/commontk/CTK/compare/bab18744b88d3166d37b...059542769bb1851fd6ed > .. should fix the problem. > > Let me know if you have any other issues. > > Thks > Jc > > On Wed, Sep 15, 2010 at 6:28 PM, Julien Finet > wrote: > >> Sorry about that... we're still working on these... we'll let you know >> when >> you can update your CTK dir. >> Thanks for your patience, >> Julien. >> On Wed, Sep 15, 2010 at 11:09 PM, Wagner Sales wrote: >> >>> Hi, >>> >>> I'm experiencing this errors with Qt 4.7.0 ( release candidate ). >>> >>> Wagner Sales >>> >>> >>> 2010/9/15 Dean Inglis : >>> > Hello, >>> > >>> > some recent changes to the ctk source result in the following errors >>> > on >>> > Win32 Vista >>> > MinGW (Qt SDK 4.6.3) which might not show on my experimental dashboard >>> > (hyoid) >>> > submission since it is failing to compile/configure/test QtMobility >>> > (as >>> > mentioned in prev >>> > message threads). >>> > >>> > hth, >>> > Dean >>> > >>> > D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp: >>> > In >>> > member >>> > function 'void >>> > ctkWorkflowButtonBoxWidgetPrivate::updateBackButton(ctkWorkflowSt >>> > ep*)': >>> > >>> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp:114: >>> > warnin >>> > g: unused variable 'q' [-Wunused-variable] >>> > D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp: >>> > In >>> > member >>> > function 'void >>> > ctkWorkflowButtonBoxWidgetPrivate::updateNextButton(ctkWorkflowSt >>> > ep*)': >>> > >>> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp:156: >>> > warnin >>> > g: unused variable 'q' [-Wunused-variable] >>> > [ 31%] Building CXX object >>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowGro >>> > upBox.cpp.obj >>> > [ 32%] Building CXX object >>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowSta >>> > ckedWidget.cpp.obj >>> > [ 32%] Building CXX object >>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowTab >>> > Widget.cpp.obj >>> > [ 32%] Building CXX object >>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowWid >>> > get.cpp.obj >>> > [ 32%] Building CXX object >>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowWid >>> > getStep.cpp.obj >>> > [ 32%] Building CXX object >>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkWorkflo >>> > wAbstractWidgetStep_p.cxx.obj >>> > [ 33%] Building CXX object >>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkActions >>> > Widget.cxx.obj >>> > In file included from C:\Qt\qt\include/QtCore/qscopedpointer.h:1, >>> > from >>> > C:\Qt\qt\include/QtCore/../../src/corelib/kernel/qobject.h >>> > :54, >>> > from C:\Qt\qt\include/QtCore/qobject.h:1, >>> > from >>> > C:\Qt\qt\include/QtGui/../../src/gui/itemviews/qabstractit >>> > emdelegate.h:45, >>> > from C:\Qt\qt\include/QtGui/qabstractitemdelegate.h:1, >>> > from >>> > C:\Qt\qt\include\QtGui/../../src/gui/itemviews/qstyleditem >>> > delegate.h:45, >>> > from C:\Qt\qt\include\QtGui/qstyleditemdelegate.h:1, >>> > from C:\Qt\qt\include\QtGui/QStyledItemDelegate:1, >>> > from >>> > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widg >>> > >>> ets\/../../../../../../../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:25, >>> > from >>> > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widg >>> > ets\moc_ctkActionsWidget.cxx:10: >>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h: In >>> static >>> > memb >>> > er function 'static void QScopedPointerDeleter::cleanup(T*) [with T >>> > = >>> > ctkSort >>> > FilterActionsProxyModelPrivate]': >>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:100: >>> > instanti >>> > ated from 'QScopedPointer::~QScopedPointer() [with T = >>> > ctkSortFilter >>> > ActionsProxyModelPrivate, Cleanup = >>> > QScopedPointerDeleter>> > oxyModelPrivate>]' >>> > >>> D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widgets\/../../../../../.. >>> > /../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:106: instantiated >>> > from >>> > here >>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:59: >>> error: >>> > inva >>> > lid application of 'sizeof' to incomplete type >>> > 'ctkSortFilterActionsProxyModelPr >>> > ivate' >>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:59: >>> error: >>> > crea >>> > ting array with negative size ('-0x000000001') >>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:62: >>> > warning: po >>> > ssible problem detected in invocation of delete operator: >>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:54: >>> > warning: 'p >>> > ointer' has incomplete type >>> > >>> D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widgets\/../../../../../.. >>> > /../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:33: warning: forward >>> > declaration >>> > of 'struct ctkSortFilterActionsProxyModelPrivate' >>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:62: >>> note: >>> > neith >>> > er the destructor nor the class-specific operator delete will be >>> > called, >>> > even if >>> > they are declared when the class is defined. >>> > mingw32-make[5]: *** >>> > [Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkActionsWidge >>> > t.cxx.obj] Error 1 >>> > mingw32-make[4]: *** [Libs/Widgets/CMakeFiles/CTKWidgets.dir/all] >>> > Error >>> 2 >>> > mingw32-make[3]: *** [all] Error 2 >>> > mingw32-make[2]: *** [CMakeExternals/Stamp/CTK-build/CTK-build-build] >>> Error >>> > 2 >>> > mingw32-make[1]: *** [CMakeFiles/CTK-build.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 >>> > >>> _______________________________________________ >>> Ctk-developers mailing list >>> Ctk-developers at commontk.org >>> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers >>> >> >> >> _______________________________________________ >> 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 > -------------------------------------------------------------------------------- > _______________________________________________ > Ctk-developers mailing list > Ctk-developers at commontk.org > http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers > From julien.finet at kitware.com Thu Sep 16 08:27:53 2010 From: julien.finet at kitware.com (Julien Finet) Date: Thu, 16 Sep 2010 10:27:53 +0200 Subject: [Ctk-developers] CTKWidgets compile errors In-Reply-To: <05BB04333D024923A6ACE85102C9BC69@Hyoid> References: <5A5ABE2BE26F48EC99F2DFD28470730E@Hyoid> <05BB04333D024923A6ACE85102C9BC69@Hyoid> Message-ID: Dean, your failing tests come from the fact that ctest can't find the VTK libraries ( you would need to set the bin path of VTK into your PATH env variable until we have a CTK launcher (to automatically set environment variables before calling the tests) Concerning the errors, they come from DCMTK but DCMTK doesn't officially support MinGW. However we have a local copy of DCMTK so I guess we can add more patches to it. Julien. On Thu, Sep 16, 2010 at 1:43 AM, Dean Inglis wrote: > Hi Jc, > > compile problems fixed. FYI, I ran ctest in my CTK-build dir and > the following tests are failing: > 89% tests passed, 6 tests failed out of 53 > Label Time Summary: > CTKCore = 11.09 sec > CTKPluginFramework = 0.17 sec > CTKVisualizationVTKCore = 8.40 sec > CTKVisualizationVTKWidgets = 51.38 sec > CTKWidgets = 51.37 sec > > Total Test time (real) = 123.07 sec > > The following tests FAILED: > 1 - ctkCommandLineParserTest1 (Failed) > 38 - ctkVTKConnectionTest1 (Failed) > 41 - ctkTransferFunctionViewTest1 (SEGFAULT) > 42 - ctkTransferFunctionViewTest2 (SEGFAULT) > 43 - ctkTransferFunctionViewTest3 (SEGFAULT) > 44 - ctkTransferFunctionViewTest4 (SEGFAULT) > > Also, I turned on > //Enable DICOM/Core Library. > CTK_LIB_DICOM/Core:BOOL=ON > to see if I can build more of ctk but encounter the following errors: > > [ 42%] No build step for 'DCMTK' > [ 42%] Performing install step for 'DCMTK' > 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 > > > Ive read in a few posts that the multiple types in one declaration error > can be caused by a missing > semicolon at the end of a class definition or a missing closing brace in a > class definition. > > Dean > > ----- Original Message ----- From: "Jean-Christophe Fillion-Robin" < > jchris.fillionr at kitware.com> > To: "Julien Finet" > Cc: > Sent: Wednesday, September 15, 2010 6:55 PM > Subject: Re: [Ctk-developers] CTKWidgets compile errors > > > > Hi Dean, >> >> The following commits: >> >> http://github.com/commontk/CTK/compare/bab18744b88d3166d37b...059542769bb1851fd6ed >> .. should fix the problem. >> >> Let me know if you have any other issues. >> >> Thks >> Jc >> >> On Wed, Sep 15, 2010 at 6:28 PM, Julien Finet > >wrote: >> >> Sorry about that... we're still working on these... we'll let you know >>> when >>> you can update your CTK dir. >>> Thanks for your patience, >>> Julien. >>> On Wed, Sep 15, 2010 at 11:09 PM, Wagner Sales wrote: >>> >>> Hi, >>>> >>>> I'm experiencing this errors with Qt 4.7.0 ( release candidate ). >>>> >>>> Wagner Sales >>>> >>>> >>>> 2010/9/15 Dean Inglis : >>>> > Hello, >>>> > >>>> > some recent changes to the ctk source result in the following errors > >>>> on >>>> > Win32 Vista >>>> > MinGW (Qt SDK 4.6.3) which might not show on my experimental dashboard >>>> > (hyoid) >>>> > submission since it is failing to compile/configure/test QtMobility > >>>> (as >>>> > mentioned in prev >>>> > message threads). >>>> > >>>> > hth, >>>> > Dean >>>> > >>>> > D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp: >>>> > In >>>> > member >>>> > function 'void >>>> > ctkWorkflowButtonBoxWidgetPrivate::updateBackButton(ctkWorkflowSt >>>> > ep*)': >>>> > >>>> >>>> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp:114: >>>> > warnin >>>> > g: unused variable 'q' [-Wunused-variable] >>>> > D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp: >>>> > In >>>> > member >>>> > function 'void >>>> > ctkWorkflowButtonBoxWidgetPrivate::updateNextButton(ctkWorkflowSt >>>> > ep*)': >>>> > >>>> >>>> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp:156: >>>> > warnin >>>> > g: unused variable 'q' [-Wunused-variable] >>>> > [ 31%] Building CXX object >>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowGro >>>> > upBox.cpp.obj >>>> > [ 32%] Building CXX object >>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowSta >>>> > ckedWidget.cpp.obj >>>> > [ 32%] Building CXX object >>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowTab >>>> > Widget.cpp.obj >>>> > [ 32%] Building CXX object >>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowWid >>>> > get.cpp.obj >>>> > [ 32%] Building CXX object >>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowWid >>>> > getStep.cpp.obj >>>> > [ 32%] Building CXX object >>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkWorkflo >>>> > wAbstractWidgetStep_p.cxx.obj >>>> > [ 33%] Building CXX object >>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkActions >>>> > Widget.cxx.obj >>>> > In file included from C:\Qt\qt\include/QtCore/qscopedpointer.h:1, >>>> > from >>>> > C:\Qt\qt\include/QtCore/../../src/corelib/kernel/qobject.h >>>> > :54, >>>> > from C:\Qt\qt\include/QtCore/qobject.h:1, >>>> > from >>>> > C:\Qt\qt\include/QtGui/../../src/gui/itemviews/qabstractit >>>> > emdelegate.h:45, >>>> > from C:\Qt\qt\include/QtGui/qabstractitemdelegate.h:1, >>>> > from >>>> > C:\Qt\qt\include\QtGui/../../src/gui/itemviews/qstyleditem >>>> > delegate.h:45, >>>> > from C:\Qt\qt\include\QtGui/qstyleditemdelegate.h:1, >>>> > from C:\Qt\qt\include\QtGui/QStyledItemDelegate:1, >>>> > from >>>> > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widg >>>> > >>>> >>>> ets\/../../../../../../../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:25, >>>> > from >>>> > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widg >>>> > ets\moc_ctkActionsWidget.cxx:10: >>>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h: In >>>> static >>>> > memb >>>> > er function 'static void QScopedPointerDeleter::cleanup(T*) [with T >>>> > = >>>> > ctkSort >>>> > FilterActionsProxyModelPrivate]': >>>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:100: >>>> > instanti >>>> > ated from 'QScopedPointer::~QScopedPointer() [with T = >>>> > ctkSortFilter >>>> > ActionsProxyModelPrivate, Cleanup = >>>> > QScopedPointerDeleter>>> > oxyModelPrivate>]' >>>> > >>>> >>>> D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widgets\/../../../../../.. >>>> > /../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:106: instantiated > >>>> from >>>> > here >>>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:59: >>>> error: >>>> > inva >>>> > lid application of 'sizeof' to incomplete type >>>> > 'ctkSortFilterActionsProxyModelPr >>>> > ivate' >>>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:59: >>>> error: >>>> > crea >>>> > ting array with negative size ('-0x000000001') >>>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:62: >>>> > warning: po >>>> > ssible problem detected in invocation of delete operator: >>>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:54: >>>> > warning: 'p >>>> > ointer' has incomplete type >>>> > >>>> >>>> D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widgets\/../../../../../.. >>>> > /../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:33: warning: forward >>>> > declaration >>>> > of 'struct ctkSortFilterActionsProxyModelPrivate' >>>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:62: >>>> note: >>>> > neith >>>> > er the destructor nor the class-specific operator delete will be > >>>> called, >>>> > even if >>>> > they are declared when the class is defined. >>>> > mingw32-make[5]: *** >>>> > [Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkActionsWidge >>>> > t.cxx.obj] Error 1 >>>> > mingw32-make[4]: *** [Libs/Widgets/CMakeFiles/CTKWidgets.dir/all] > >>>> Error >>>> 2 >>>> > mingw32-make[3]: *** [all] Error 2 >>>> > mingw32-make[2]: *** [CMakeExternals/Stamp/CTK-build/CTK-build-build] >>>> Error >>>> > 2 >>>> > mingw32-make[1]: *** [CMakeFiles/CTK-build.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 >>>> > >>>> _______________________________________________ >>>> Ctk-developers mailing list >>>> Ctk-developers at commontk.org >>>> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers >>>> >>>> >>> >>> _______________________________________________ >>> 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 >> >> > > -------------------------------------------------------------------------------- > > > > > _______________________________________________ >> Ctk-developers mailing list >> Ctk-developers at commontk.org >> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jchris.fillionr at kitware.com Thu Sep 16 09:00:35 2010 From: jchris.fillionr at kitware.com (Jean-Christophe Fillion-Robin) Date: Thu, 16 Sep 2010 05:00:35 -0400 Subject: [Ctk-developers] CTKWidgets compile errors In-Reply-To: References: <5A5ABE2BE26F48EC99F2DFD28470730E@Hyoid> <05BB04333D024923A6ACE85102C9BC69@Hyoid> Message-ID: Hi Dean, Are you building in debug or release? Test ctkVTKConnectionTest1 should now be fixed . See http://github.com/commontk/CTK/commit/e5c275e115d85b1d308338f1591135622eaf73a3 Regarding ctkCommandLineParserTest1, would it be possible to run CTest with -V option and send the output. Thks Jc On Thu, Sep 16, 2010 at 4:27 AM, Julien Finet wrote: > Dean, > > your failing tests come from the fact that ctest can't find the VTK > libraries ( you would need to set the bin path of VTK into your PATH env > variable until we have a CTK launcher (to automatically set environment > variables before calling the tests) > > Concerning the errors, they come from DCMTK but DCMTK doesn't officially > support MinGW. However we have a local copy of DCMTK so I guess we can add > more patches to it. > > Julien. > On Thu, Sep 16, 2010 at 1:43 AM, Dean Inglis wrote: > >> Hi Jc, >> >> compile problems fixed. FYI, I ran ctest in my CTK-build dir and >> the following tests are failing: >> 89% tests passed, 6 tests failed out of 53 >> Label Time Summary: >> CTKCore = 11.09 sec >> CTKPluginFramework = 0.17 sec >> CTKVisualizationVTKCore = 8.40 sec >> CTKVisualizationVTKWidgets = 51.38 sec >> CTKWidgets = 51.37 sec >> >> Total Test time (real) = 123.07 sec >> >> The following tests FAILED: >> 1 - ctkCommandLineParserTest1 (Failed) >> 38 - ctkVTKConnectionTest1 (Failed) >> 41 - ctkTransferFunctionViewTest1 (SEGFAULT) >> 42 - ctkTransferFunctionViewTest2 (SEGFAULT) >> 43 - ctkTransferFunctionViewTest3 (SEGFAULT) >> 44 - ctkTransferFunctionViewTest4 (SEGFAULT) >> >> Also, I turned on >> //Enable DICOM/Core Library. >> CTK_LIB_DICOM/Core:BOOL=ON >> to see if I can build more of ctk but encounter the following errors: >> >> [ 42%] No build step for 'DCMTK' >> [ 42%] Performing install step for 'DCMTK' >> 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 >> >> >> Ive read in a few posts that the multiple types in one declaration error >> can be caused by a missing >> semicolon at the end of a class definition or a missing closing brace in a >> class definition. >> >> Dean >> >> ----- Original Message ----- From: "Jean-Christophe Fillion-Robin" < >> jchris.fillionr at kitware.com> >> To: "Julien Finet" >> Cc: >> Sent: Wednesday, September 15, 2010 6:55 PM >> Subject: Re: [Ctk-developers] CTKWidgets compile errors >> >> >> >> Hi Dean, >>> >>> The following commits: >>> >>> http://github.com/commontk/CTK/compare/bab18744b88d3166d37b...059542769bb1851fd6ed >>> .. should fix the problem. >>> >>> Let me know if you have any other issues. >>> >>> Thks >>> Jc >>> >>> On Wed, Sep 15, 2010 at 6:28 PM, Julien Finet >> >wrote: >>> >>> Sorry about that... we're still working on these... we'll let you know >>>> when >>>> you can update your CTK dir. >>>> Thanks for your patience, >>>> Julien. >>>> On Wed, Sep 15, 2010 at 11:09 PM, Wagner Sales >>>> wrote: >>>> >>>> Hi, >>>>> >>>>> I'm experiencing this errors with Qt 4.7.0 ( release candidate ). >>>>> >>>>> Wagner Sales >>>>> >>>>> >>>>> 2010/9/15 Dean Inglis : >>>>> > Hello, >>>>> > >>>>> > some recent changes to the ctk source result in the following errors >>>>> > on >>>>> > Win32 Vista >>>>> > MinGW (Qt SDK 4.6.3) which might not show on my experimental >>>>> dashboard >>>>> > (hyoid) >>>>> > submission since it is failing to compile/configure/test QtMobility > >>>>> (as >>>>> > mentioned in prev >>>>> > message threads). >>>>> > >>>>> > hth, >>>>> > Dean >>>>> > >>>>> > D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp: >>>>> > In >>>>> > member >>>>> > function 'void >>>>> > ctkWorkflowButtonBoxWidgetPrivate::updateBackButton(ctkWorkflowSt >>>>> > ep*)': >>>>> > >>>>> >>>>> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp:114: >>>>> > warnin >>>>> > g: unused variable 'q' [-Wunused-variable] >>>>> > D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp: >>>>> > In >>>>> > member >>>>> > function 'void >>>>> > ctkWorkflowButtonBoxWidgetPrivate::updateNextButton(ctkWorkflowSt >>>>> > ep*)': >>>>> > >>>>> >>>>> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp:156: >>>>> > warnin >>>>> > g: unused variable 'q' [-Wunused-variable] >>>>> > [ 31%] Building CXX object >>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowGro >>>>> > upBox.cpp.obj >>>>> > [ 32%] Building CXX object >>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowSta >>>>> > ckedWidget.cpp.obj >>>>> > [ 32%] Building CXX object >>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowTab >>>>> > Widget.cpp.obj >>>>> > [ 32%] Building CXX object >>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowWid >>>>> > get.cpp.obj >>>>> > [ 32%] Building CXX object >>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowWid >>>>> > getStep.cpp.obj >>>>> > [ 32%] Building CXX object >>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkWorkflo >>>>> > wAbstractWidgetStep_p.cxx.obj >>>>> > [ 33%] Building CXX object >>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkActions >>>>> > Widget.cxx.obj >>>>> > In file included from C:\Qt\qt\include/QtCore/qscopedpointer.h:1, >>>>> > from >>>>> > C:\Qt\qt\include/QtCore/../../src/corelib/kernel/qobject.h >>>>> > :54, >>>>> > from C:\Qt\qt\include/QtCore/qobject.h:1, >>>>> > from >>>>> > C:\Qt\qt\include/QtGui/../../src/gui/itemviews/qabstractit >>>>> > emdelegate.h:45, >>>>> > from C:\Qt\qt\include/QtGui/qabstractitemdelegate.h:1, >>>>> > from >>>>> > C:\Qt\qt\include\QtGui/../../src/gui/itemviews/qstyleditem >>>>> > delegate.h:45, >>>>> > from C:\Qt\qt\include\QtGui/qstyleditemdelegate.h:1, >>>>> > from C:\Qt\qt\include\QtGui/QStyledItemDelegate:1, >>>>> > from >>>>> > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widg >>>>> > >>>>> >>>>> ets\/../../../../../../../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:25, >>>>> > from >>>>> > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widg >>>>> > ets\moc_ctkActionsWidget.cxx:10: >>>>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h: In >>>>> static >>>>> > memb >>>>> > er function 'static void QScopedPointerDeleter::cleanup(T*) [with >>>>> T > = >>>>> > ctkSort >>>>> > FilterActionsProxyModelPrivate]': >>>>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:100: >>>>> > instanti >>>>> > ated from 'QScopedPointer::~QScopedPointer() [with T = >>>>> > ctkSortFilter >>>>> > ActionsProxyModelPrivate, Cleanup = >>>>> > QScopedPointerDeleter>>>> > oxyModelPrivate>]' >>>>> > >>>>> >>>>> D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widgets\/../../../../../.. >>>>> > /../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:106: instantiated > >>>>> from >>>>> > here >>>>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:59: >>>>> error: >>>>> > inva >>>>> > lid application of 'sizeof' to incomplete type >>>>> > 'ctkSortFilterActionsProxyModelPr >>>>> > ivate' >>>>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:59: >>>>> error: >>>>> > crea >>>>> > ting array with negative size ('-0x000000001') >>>>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:62: >>>>> > warning: po >>>>> > ssible problem detected in invocation of delete operator: >>>>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:54: >>>>> > warning: 'p >>>>> > ointer' has incomplete type >>>>> > >>>>> >>>>> D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widgets\/../../../../../.. >>>>> > /../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:33: warning: forward >>>>> > declaration >>>>> > of 'struct ctkSortFilterActionsProxyModelPrivate' >>>>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:62: >>>>> note: >>>>> > neith >>>>> > er the destructor nor the class-specific operator delete will be > >>>>> called, >>>>> > even if >>>>> > they are declared when the class is defined. >>>>> > mingw32-make[5]: *** >>>>> > [Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkActionsWidge >>>>> > t.cxx.obj] Error 1 >>>>> > mingw32-make[4]: *** [Libs/Widgets/CMakeFiles/CTKWidgets.dir/all] > >>>>> Error >>>>> 2 >>>>> > mingw32-make[3]: *** [all] Error 2 >>>>> > mingw32-make[2]: *** [CMakeExternals/Stamp/CTK-build/CTK-build-build] >>>>> Error >>>>> > 2 >>>>> > mingw32-make[1]: *** [CMakeFiles/CTK-build.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 >>>>> > >>>>> _______________________________________________ >>>>> Ctk-developers mailing list >>>>> Ctk-developers at commontk.org >>>>> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> 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 >>> >>> >> >> -------------------------------------------------------------------------------- >> >> >> >> >> _______________________________________________ >>> 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: From dean.inglis at camris.ca Thu Sep 16 12:34:22 2010 From: dean.inglis at camris.ca (Dean Inglis) Date: Thu, 16 Sep 2010 08:34:22 -0400 Subject: [Ctk-developers] CTKWidgets compile errors In-Reply-To: References: <5A5ABE2BE26F48EC99F2DFD28470730E@Hyoid> <05BB04333D024923A6ACE85102C9BC69@Hyoid> Message-ID: Hi Jc, Julien Im building shared release. See attached output of ctest -VV > log.txt I have already set my path to include the binary bin dir where all vtk libs/dlls are: not all ctk vtk tests are failing. I have built vtk with DEBUG_LEAKS on and there is one test that pops up a vtk window on termination: ctkVTKChartViewTest1, which I think is due to the way the ctkVTKChartView is instantiated in the test without a final delete: ctkVTKChartView* view = new ctkVTKChartView(0); can there be instead ctkVTKChartView view(0); With regard to DCMTK and MinGW support, I chose MinGW since it seems to be one of the more most cross-toolkit build friendly compiler tools for Windows. Is there a recommended Windows compiler that will compile all of VTK, Qt, DCMTK, CTK ? Dean ----- Original Message ----- From: "Jean-Christophe Fillion-Robin" To: "Julien Finet" Cc: "Dean Inglis" ; Sent: Thursday, September 16, 2010 5:00 AM Subject: Re: [Ctk-developers] CTKWidgets compile errors > Hi Dean, > > Are you building in debug or release? > > Test ctkVTKConnectionTest1 should now be fixed . See > http://github.com/commontk/CTK/commit/e5c275e115d85b1d308338f1591135622eaf73a3 > > Regarding ctkCommandLineParserTest1, would it be possible to run CTest > with > -V option and send the output. > > Thks > Jc > > On Thu, Sep 16, 2010 at 4:27 AM, Julien Finet > wrote: > >> Dean, >> >> your failing tests come from the fact that ctest can't find the VTK >> libraries ( you would need to set the bin path of VTK into your PATH env >> variable until we have a CTK launcher (to automatically set environment >> variables before calling the tests) >> >> Concerning the errors, they come from DCMTK but DCMTK doesn't officially >> support MinGW. However we have a local copy of DCMTK so I guess we can >> add >> more patches to it. >> >> Julien. >> On Thu, Sep 16, 2010 at 1:43 AM, Dean Inglis >> wrote: >> >>> Hi Jc, >>> >>> compile problems fixed. FYI, I ran ctest in my CTK-build dir and >>> the following tests are failing: >>> 89% tests passed, 6 tests failed out of 53 >>> Label Time Summary: >>> CTKCore = 11.09 sec >>> CTKPluginFramework = 0.17 sec >>> CTKVisualizationVTKCore = 8.40 sec >>> CTKVisualizationVTKWidgets = 51.38 sec >>> CTKWidgets = 51.37 sec >>> >>> Total Test time (real) = 123.07 sec >>> >>> The following tests FAILED: >>> 1 - ctkCommandLineParserTest1 (Failed) >>> 38 - ctkVTKConnectionTest1 (Failed) >>> 41 - ctkTransferFunctionViewTest1 (SEGFAULT) >>> 42 - ctkTransferFunctionViewTest2 (SEGFAULT) >>> 43 - ctkTransferFunctionViewTest3 (SEGFAULT) >>> 44 - ctkTransferFunctionViewTest4 (SEGFAULT) >>> >>> Also, I turned on >>> //Enable DICOM/Core Library. >>> CTK_LIB_DICOM/Core:BOOL=ON >>> to see if I can build more of ctk but encounter the following errors: >>> >>> [ 42%] No build step for 'DCMTK' >>> [ 42%] Performing install step for 'DCMTK' >>> 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 >>> >>> >>> Ive read in a few posts that the multiple types in one declaration error >>> can be caused by a missing >>> semicolon at the end of a class definition or a missing closing brace in >>> a >>> class definition. >>> >>> Dean >>> >>> ----- Original Message ----- From: "Jean-Christophe Fillion-Robin" < >>> jchris.fillionr at kitware.com> >>> To: "Julien Finet" >>> Cc: >>> Sent: Wednesday, September 15, 2010 6:55 PM >>> Subject: Re: [Ctk-developers] CTKWidgets compile errors >>> >>> >>> >>> Hi Dean, >>>> >>>> The following commits: >>>> >>>> http://github.com/commontk/CTK/compare/bab18744b88d3166d37b...059542769bb1851fd6ed >>>> .. should fix the problem. >>>> >>>> Let me know if you have any other issues. >>>> >>>> Thks >>>> Jc >>>> >>>> On Wed, Sep 15, 2010 at 6:28 PM, Julien Finet >>> >wrote: >>>> >>>> Sorry about that... we're still working on these... we'll let you know >>>>> when >>>>> you can update your CTK dir. >>>>> Thanks for your patience, >>>>> Julien. >>>>> On Wed, Sep 15, 2010 at 11:09 PM, Wagner Sales >>>>> wrote: >>>>> >>>>> Hi, >>>>>> >>>>>> I'm experiencing this errors with Qt 4.7.0 ( release candidate ). >>>>>> >>>>>> Wagner Sales >>>>>> >>>>>> >>>>>> 2010/9/15 Dean Inglis : >>>>>> > Hello, >>>>>> > >>>>>> > some recent changes to the ctk source result in the following >>>>>> > errors >>>>>> > on >>>>>> > Win32 Vista >>>>>> > MinGW (Qt SDK 4.6.3) which might not show on my experimental >>>>>> dashboard >>>>>> > (hyoid) >>>>>> > submission since it is failing to compile/configure/test QtMobility >>>>>> > > >>>>>> (as >>>>>> > mentioned in prev >>>>>> > message threads). >>>>>> > >>>>>> > hth, >>>>>> > Dean >>>>>> > >>>>>> > D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp: >>>>>> > In >>>>>> > member >>>>>> > function 'void >>>>>> > ctkWorkflowButtonBoxWidgetPrivate::updateBackButton(ctkWorkflowSt >>>>>> > ep*)': >>>>>> > >>>>>> >>>>>> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp:114: >>>>>> > warnin >>>>>> > g: unused variable 'q' [-Wunused-variable] >>>>>> > D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp: >>>>>> > In >>>>>> > member >>>>>> > function 'void >>>>>> > ctkWorkflowButtonBoxWidgetPrivate::updateNextButton(ctkWorkflowSt >>>>>> > ep*)': >>>>>> > >>>>>> >>>>>> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp:156: >>>>>> > warnin >>>>>> > g: unused variable 'q' [-Wunused-variable] >>>>>> > [ 31%] Building CXX object >>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowGro >>>>>> > upBox.cpp.obj >>>>>> > [ 32%] Building CXX object >>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowSta >>>>>> > ckedWidget.cpp.obj >>>>>> > [ 32%] Building CXX object >>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowTab >>>>>> > Widget.cpp.obj >>>>>> > [ 32%] Building CXX object >>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowWid >>>>>> > get.cpp.obj >>>>>> > [ 32%] Building CXX object >>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowWid >>>>>> > getStep.cpp.obj >>>>>> > [ 32%] Building CXX object >>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkWorkflo >>>>>> > wAbstractWidgetStep_p.cxx.obj >>>>>> > [ 33%] Building CXX object >>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkActions >>>>>> > Widget.cxx.obj >>>>>> > In file included from C:\Qt\qt\include/QtCore/qscopedpointer.h:1, >>>>>> > from >>>>>> > C:\Qt\qt\include/QtCore/../../src/corelib/kernel/qobject.h >>>>>> > :54, >>>>>> > from C:\Qt\qt\include/QtCore/qobject.h:1, >>>>>> > from >>>>>> > C:\Qt\qt\include/QtGui/../../src/gui/itemviews/qabstractit >>>>>> > emdelegate.h:45, >>>>>> > from >>>>>> > C:\Qt\qt\include/QtGui/qabstractitemdelegate.h:1, >>>>>> > from >>>>>> > C:\Qt\qt\include\QtGui/../../src/gui/itemviews/qstyleditem >>>>>> > delegate.h:45, >>>>>> > from C:\Qt\qt\include\QtGui/qstyleditemdelegate.h:1, >>>>>> > from C:\Qt\qt\include\QtGui/QStyledItemDelegate:1, >>>>>> > from >>>>>> > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widg >>>>>> > >>>>>> >>>>>> ets\/../../../../../../../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:25, >>>>>> > from >>>>>> > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widg >>>>>> > ets\moc_ctkActionsWidget.cxx:10: >>>>>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h: >>>>>> > In >>>>>> static >>>>>> > memb >>>>>> > er function 'static void QScopedPointerDeleter::cleanup(T*) >>>>>> > [with >>>>>> T > = >>>>>> > ctkSort >>>>>> > FilterActionsProxyModelPrivate]': >>>>>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:100: >>>>>> > instanti >>>>>> > ated from 'QScopedPointer::~QScopedPointer() [with T = >>>>>> > ctkSortFilter >>>>>> > ActionsProxyModelPrivate, Cleanup = >>>>>> > QScopedPointerDeleter>>>>> > oxyModelPrivate>]' >>>>>> > >>>>>> >>>>>> D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widgets\/../../../../../.. >>>>>> > /../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:106: instantiated >>>>>> > > >>>>>> from >>>>>> > here >>>>>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:59: >>>>>> error: >>>>>> > inva >>>>>> > lid application of 'sizeof' to incomplete type >>>>>> > 'ctkSortFilterActionsProxyModelPr >>>>>> > ivate' >>>>>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:59: >>>>>> error: >>>>>> > crea >>>>>> > ting array with negative size ('-0x000000001') >>>>>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:62: >>>>>> > warning: po >>>>>> > ssible problem detected in invocation of delete operator: >>>>>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:54: >>>>>> > warning: 'p >>>>>> > ointer' has incomplete type >>>>>> > >>>>>> >>>>>> D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widgets\/../../../../../.. >>>>>> > /../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:33: warning: >>>>>> > forward >>>>>> > declaration >>>>>> > of 'struct ctkSortFilterActionsProxyModelPrivate' >>>>>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:62: >>>>>> note: >>>>>> > neith >>>>>> > er the destructor nor the class-specific operator delete will be > >>>>>> called, >>>>>> > even if >>>>>> > they are declared when the class is defined. >>>>>> > mingw32-make[5]: *** >>>>>> > [Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkActionsWidge >>>>>> > t.cxx.obj] Error 1 >>>>>> > mingw32-make[4]: *** [Libs/Widgets/CMakeFiles/CTKWidgets.dir/all] > >>>>>> Error >>>>>> 2 >>>>>> > mingw32-make[3]: *** [all] Error 2 >>>>>> > mingw32-make[2]: *** >>>>>> > [CMakeExternals/Stamp/CTK-build/CTK-build-build] >>>>>> Error >>>>>> > 2 >>>>>> > mingw32-make[1]: *** [CMakeFiles/CTK-build.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 >>>>>> > >>>>>> _______________________________________________ >>>>>> Ctk-developers mailing list >>>>>> Ctk-developers at commontk.org >>>>>> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers >>>>>> >>>>>> >>>>> >>>>> _______________________________________________ >>>>> 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 >>>> >>>> >>> >>> -------------------------------------------------------------------------------- >>> >>> >>> >>> >>> _______________________________________________ >>>> 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 embedded and charset-unspecified text was scrubbed... Name: log.txt URL: From julien.finet at kitware.com Thu Sep 16 12:56:40 2010 From: julien.finet at kitware.com (Julien Finet) Date: Thu, 16 Sep 2010 14:56:40 +0200 Subject: [Ctk-developers] CTKWidgets compile errors In-Reply-To: References: <5A5ABE2BE26F48EC99F2DFD28470730E@Hyoid> <05BB04333D024923A6ACE85102C9BC69@Hyoid> Message-ID: Hi Dean, it seems that you're right. Your suggested change is valid. Do you want to commit a patch? I'll give a look at the other (SEGFAULT) tests. Concerning MinGW, the cross platform support is a very good point, unfortunately it seems that thanks to the Express edition (free) of Visual Studio C++, people (including me) tend to start using Visual Studio more than MinGW... Visual Studio 2008 is pretty well supported with ITK, VTK, DCMTK, CTK... (personally I would wait a bit before using Visual Studio 2010 with these tools). However, we are really happy to have MinGW users with CTK, it is important to us to be cross-platform and cross-compiler (at least for the popular ones). Thanks, Julien. On Thu, Sep 16, 2010 at 2:34 PM, Dean Inglis wrote: > Hi Jc, Julien > > Im building shared release. See attached output of ctest -VV > log.txt > I have already set my path to include the binary bin dir where all vtk > libs/dlls > are: not all ctk vtk tests are failing. I have built vtk with DEBUG_LEAKS > on > and there is one test that pops up a vtk window on termination: > ctkVTKChartViewTest1, which I think is due to the way the > ctkVTKChartView is instantiated in the test without a final delete: > ctkVTKChartView* view = new ctkVTKChartView(0); > > can there be instead > ctkVTKChartView view(0); > > With regard to DCMTK and MinGW support, I chose MinGW since it > seems to be one of the more most cross-toolkit build friendly compiler > tools for Windows. Is there a recommended Windows compiler that will > compile > all of VTK, Qt, DCMTK, CTK ? > > > Dean > > > ----- Original Message ----- From: "Jean-Christophe Fillion-Robin" < > jchris.fillionr at kitware.com> > To: "Julien Finet" > Cc: "Dean Inglis" ; > Sent: Thursday, September 16, 2010 5:00 AM > > Subject: Re: [Ctk-developers] CTKWidgets compile errors > > > Hi Dean, >> >> Are you building in debug or release? >> >> Test ctkVTKConnectionTest1 should now be fixed . See >> >> http://github.com/commontk/CTK/commit/e5c275e115d85b1d308338f1591135622eaf73a3 >> >> Regarding ctkCommandLineParserTest1, would it be possible to run CTest >> with >> -V option and send the output. >> >> Thks >> Jc >> >> On Thu, Sep 16, 2010 at 4:27 AM, Julien Finet > >wrote: >> >> Dean, >>> >>> your failing tests come from the fact that ctest can't find the VTK >>> libraries ( you would need to set the bin path of VTK into your PATH env >>> variable until we have a CTK launcher (to automatically set environment >>> variables before calling the tests) >>> >>> Concerning the errors, they come from DCMTK but DCMTK doesn't officially >>> support MinGW. However we have a local copy of DCMTK so I guess we can >>> add >>> more patches to it. >>> >>> Julien. >>> On Thu, Sep 16, 2010 at 1:43 AM, Dean Inglis >> >wrote: >>> >>> Hi Jc, >>>> >>>> compile problems fixed. FYI, I ran ctest in my CTK-build dir and >>>> the following tests are failing: >>>> 89% tests passed, 6 tests failed out of 53 >>>> Label Time Summary: >>>> CTKCore = 11.09 sec >>>> CTKPluginFramework = 0.17 sec >>>> CTKVisualizationVTKCore = 8.40 sec >>>> CTKVisualizationVTKWidgets = 51.38 sec >>>> CTKWidgets = 51.37 sec >>>> >>>> Total Test time (real) = 123.07 sec >>>> >>>> The following tests FAILED: >>>> 1 - ctkCommandLineParserTest1 (Failed) >>>> 38 - ctkVTKConnectionTest1 (Failed) >>>> 41 - ctkTransferFunctionViewTest1 (SEGFAULT) >>>> 42 - ctkTransferFunctionViewTest2 (SEGFAULT) >>>> 43 - ctkTransferFunctionViewTest3 (SEGFAULT) >>>> 44 - ctkTransferFunctionViewTest4 (SEGFAULT) >>>> >>>> Also, I turned on >>>> //Enable DICOM/Core Library. >>>> CTK_LIB_DICOM/Core:BOOL=ON >>>> to see if I can build more of ctk but encounter the following errors: >>>> >>>> [ 42%] No build step for 'DCMTK' >>>> [ 42%] Performing install step for 'DCMTK' >>>> 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 >>>> >>>> >>>> Ive read in a few posts that the multiple types in one declaration error >>>> can be caused by a missing >>>> semicolon at the end of a class definition or a missing closing brace in >>>> a >>>> class definition. >>>> >>>> Dean >>>> >>>> ----- Original Message ----- From: "Jean-Christophe Fillion-Robin" < >>>> jchris.fillionr at kitware.com> >>>> To: "Julien Finet" >>>> Cc: >>>> Sent: Wednesday, September 15, 2010 6:55 PM >>>> Subject: Re: [Ctk-developers] CTKWidgets compile errors >>>> >>>> >>>> >>>> Hi Dean, >>>> >>>>> >>>>> The following commits: >>>>> >>>>> >>>>> http://github.com/commontk/CTK/compare/bab18744b88d3166d37b...059542769bb1851fd6ed >>>>> .. should fix the problem. >>>>> >>>>> Let me know if you have any other issues. >>>>> >>>>> Thks >>>>> Jc >>>>> >>>>> On Wed, Sep 15, 2010 at 6:28 PM, Julien Finet < >>>>> julien.finet at kitware.com >>>>> >wrote: >>>>> >>>>> Sorry about that... we're still working on these... we'll let you know >>>>> >>>>>> when >>>>>> you can update your CTK dir. >>>>>> Thanks for your patience, >>>>>> Julien. >>>>>> On Wed, Sep 15, 2010 at 11:09 PM, Wagner Sales >>>>>> wrote: >>>>>> >>>>>> Hi, >>>>>> >>>>>>> >>>>>>> I'm experiencing this errors with Qt 4.7.0 ( release candidate ). >>>>>>> >>>>>>> Wagner Sales >>>>>>> >>>>>>> >>>>>>> 2010/9/15 Dean Inglis : >>>>>>> > Hello, >>>>>>> > >>>>>>> > some recent changes to the ctk source result in the following > >>>>>>> errors >>>>>>> > on >>>>>>> > Win32 Vista >>>>>>> > MinGW (Qt SDK 4.6.3) which might not show on my experimental >>>>>>> dashboard >>>>>>> > (hyoid) >>>>>>> > submission since it is failing to compile/configure/test QtMobility >>>>>>> > > >>>>>>> (as >>>>>>> > mentioned in prev >>>>>>> > message threads). >>>>>>> > >>>>>>> > hth, >>>>>>> > Dean >>>>>>> > >>>>>>> > >>>>>>> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp: >>>>>>> > In >>>>>>> > member >>>>>>> > function 'void >>>>>>> > ctkWorkflowButtonBoxWidgetPrivate::updateBackButton(ctkWorkflowSt >>>>>>> > ep*)': >>>>>>> > >>>>>>> >>>>>>> >>>>>>> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp:114: >>>>>>> > warnin >>>>>>> > g: unused variable 'q' [-Wunused-variable] >>>>>>> > >>>>>>> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp: >>>>>>> > In >>>>>>> > member >>>>>>> > function 'void >>>>>>> > ctkWorkflowButtonBoxWidgetPrivate::updateNextButton(ctkWorkflowSt >>>>>>> > ep*)': >>>>>>> > >>>>>>> >>>>>>> >>>>>>> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp:156: >>>>>>> > warnin >>>>>>> > g: unused variable 'q' [-Wunused-variable] >>>>>>> > [ 31%] Building CXX object >>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowGro >>>>>>> > upBox.cpp.obj >>>>>>> > [ 32%] Building CXX object >>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowSta >>>>>>> > ckedWidget.cpp.obj >>>>>>> > [ 32%] Building CXX object >>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowTab >>>>>>> > Widget.cpp.obj >>>>>>> > [ 32%] Building CXX object >>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowWid >>>>>>> > get.cpp.obj >>>>>>> > [ 32%] Building CXX object >>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowWid >>>>>>> > getStep.cpp.obj >>>>>>> > [ 32%] Building CXX object >>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkWorkflo >>>>>>> > wAbstractWidgetStep_p.cxx.obj >>>>>>> > [ 33%] Building CXX object >>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkActions >>>>>>> > Widget.cxx.obj >>>>>>> > In file included from C:\Qt\qt\include/QtCore/qscopedpointer.h:1, >>>>>>> > from >>>>>>> > C:\Qt\qt\include/QtCore/../../src/corelib/kernel/qobject.h >>>>>>> > :54, >>>>>>> > from C:\Qt\qt\include/QtCore/qobject.h:1, >>>>>>> > from >>>>>>> > C:\Qt\qt\include/QtGui/../../src/gui/itemviews/qabstractit >>>>>>> > emdelegate.h:45, >>>>>>> > from > >>>>>>> C:\Qt\qt\include/QtGui/qabstractitemdelegate.h:1, >>>>>>> > from >>>>>>> > C:\Qt\qt\include\QtGui/../../src/gui/itemviews/qstyleditem >>>>>>> > delegate.h:45, >>>>>>> > from C:\Qt\qt\include\QtGui/qstyleditemdelegate.h:1, >>>>>>> > from C:\Qt\qt\include\QtGui/QStyledItemDelegate:1, >>>>>>> > from >>>>>>> > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widg >>>>>>> > >>>>>>> >>>>>>> >>>>>>> ets\/../../../../../../../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:25, >>>>>>> > from >>>>>>> > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widg >>>>>>> > ets\moc_ctkActionsWidget.cxx:10: >>>>>>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h: > >>>>>>> In >>>>>>> static >>>>>>> > memb >>>>>>> > er function 'static void QScopedPointerDeleter::cleanup(T*) > >>>>>>> [with >>>>>>> T > = >>>>>>> > ctkSort >>>>>>> > FilterActionsProxyModelPrivate]': >>>>>>> > >>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:100: >>>>>>> > instanti >>>>>>> > ated from 'QScopedPointer::~QScopedPointer() [with T = >>>>>>> > ctkSortFilter >>>>>>> > ActionsProxyModelPrivate, Cleanup = >>>>>>> > QScopedPointerDeleter>>>>>> > oxyModelPrivate>]' >>>>>>> > >>>>>>> >>>>>>> >>>>>>> D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widgets\/../../../../../.. >>>>>>> > /../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:106: instantiated >>>>>>> > > >>>>>>> from >>>>>>> > here >>>>>>> > >>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:59: >>>>>>> error: >>>>>>> > inva >>>>>>> > lid application of 'sizeof' to incomplete type >>>>>>> > 'ctkSortFilterActionsProxyModelPr >>>>>>> > ivate' >>>>>>> > >>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:59: >>>>>>> error: >>>>>>> > crea >>>>>>> > ting array with negative size ('-0x000000001') >>>>>>> > >>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:62: >>>>>>> > warning: po >>>>>>> > ssible problem detected in invocation of delete operator: >>>>>>> > >>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:54: >>>>>>> > warning: 'p >>>>>>> > ointer' has incomplete type >>>>>>> > >>>>>>> >>>>>>> >>>>>>> D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widgets\/../../../../../.. >>>>>>> > /../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:33: warning: > >>>>>>> forward >>>>>>> > declaration >>>>>>> > of 'struct ctkSortFilterActionsProxyModelPrivate' >>>>>>> > >>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:62: >>>>>>> note: >>>>>>> > neith >>>>>>> > er the destructor nor the class-specific operator delete will be > >>>>>>> called, >>>>>>> > even if >>>>>>> > they are declared when the class is defined. >>>>>>> > mingw32-make[5]: *** >>>>>>> > [Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkActionsWidge >>>>>>> > t.cxx.obj] Error 1 >>>>>>> > mingw32-make[4]: *** [Libs/Widgets/CMakeFiles/CTKWidgets.dir/all] > >>>>>>> Error >>>>>>> 2 >>>>>>> > mingw32-make[3]: *** [all] Error 2 >>>>>>> > mingw32-make[2]: *** > >>>>>>> [CMakeExternals/Stamp/CTK-build/CTK-build-build] >>>>>>> Error >>>>>>> > 2 >>>>>>> > mingw32-make[1]: *** [CMakeFiles/CTK-build.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 >>>>>>> > >>>>>>> _______________________________________________ >>>>>>> Ctk-developers mailing list >>>>>>> Ctk-developers at commontk.org >>>>>>> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers >>>>>>> >>>>>>> >>>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>>>> >>>>> >>>>> >>>> >>>> -------------------------------------------------------------------------------- >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> >>>>> 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: From julien.finet at kitware.com Thu Sep 16 15:25:44 2010 From: julien.finet at kitware.com (Julien Finet) Date: Thu, 16 Sep 2010 17:25:44 +0200 Subject: [Ctk-developers] CTKWidgets compile errors In-Reply-To: References: <5A5ABE2BE26F48EC99F2DFD28470730E@Hyoid> <05BB04333D024923A6ACE85102C9BC69@Hyoid> Message-ID: Hi Dean, I fixed the following tests: 38 - ctkVTKConnectionTest1 (Failed) 41 - ctkTransferFunctionViewTest1 (SEGFAULT) 42 - ctkTransferFunctionViewTest2 (SEGFAULT) 43 - ctkTransferFunctionViewTest3 (SEGFAULT) 44 - ctkTransferFunctionViewTest4 (SEGFAULT) Many thanks for reporting them. Julien. On Thu, Sep 16, 2010 at 2:56 PM, Julien Finet wrote: > Hi Dean, > > it seems that you're right. Your suggested change is valid. Do you want to > commit a patch? I'll give a look at the other (SEGFAULT) tests. > Concerning MinGW, the cross platform support is a very good point, > unfortunately it seems that thanks to the Express edition (free) of Visual > Studio C++, people (including me) tend to start using Visual Studio more > than MinGW... Visual Studio 2008 is pretty well supported with ITK, VTK, > DCMTK, CTK... (personally I would wait a bit before using Visual Studio 2010 > with these tools). However, we are really happy to have MinGW users with > CTK, it is important to us to be cross-platform and cross-compiler (at least > for the popular ones). > > Thanks, > Julien. > On Thu, Sep 16, 2010 at 2:34 PM, Dean Inglis wrote: > >> Hi Jc, Julien >> >> Im building shared release. See attached output of ctest -VV > log.txt >> I have already set my path to include the binary bin dir where all vtk >> libs/dlls >> are: not all ctk vtk tests are failing. I have built vtk with DEBUG_LEAKS >> on >> and there is one test that pops up a vtk window on termination: >> ctkVTKChartViewTest1, which I think is due to the way the >> ctkVTKChartView is instantiated in the test without a final delete: >> ctkVTKChartView* view = new ctkVTKChartView(0); >> >> can there be instead >> ctkVTKChartView view(0); >> >> With regard to DCMTK and MinGW support, I chose MinGW since it >> seems to be one of the more most cross-toolkit build friendly compiler >> tools for Windows. Is there a recommended Windows compiler that will >> compile >> all of VTK, Qt, DCMTK, CTK ? >> >> >> Dean >> >> >> ----- Original Message ----- From: "Jean-Christophe Fillion-Robin" < >> jchris.fillionr at kitware.com> >> To: "Julien Finet" >> Cc: "Dean Inglis" ; >> Sent: Thursday, September 16, 2010 5:00 AM >> >> Subject: Re: [Ctk-developers] CTKWidgets compile errors >> >> >> Hi Dean, >>> >>> Are you building in debug or release? >>> >>> Test ctkVTKConnectionTest1 should now be fixed . See >>> >>> http://github.com/commontk/CTK/commit/e5c275e115d85b1d308338f1591135622eaf73a3 >>> >>> Regarding ctkCommandLineParserTest1, would it be possible to run CTest >>> with >>> -V option and send the output. >>> >>> Thks >>> Jc >>> >>> On Thu, Sep 16, 2010 at 4:27 AM, Julien Finet >> >wrote: >>> >>> Dean, >>>> >>>> your failing tests come from the fact that ctest can't find the VTK >>>> libraries ( you would need to set the bin path of VTK into your PATH env >>>> variable until we have a CTK launcher (to automatically set environment >>>> variables before calling the tests) >>>> >>>> Concerning the errors, they come from DCMTK but DCMTK doesn't officially >>>> support MinGW. However we have a local copy of DCMTK so I guess we can >>>> add >>>> more patches to it. >>>> >>>> Julien. >>>> On Thu, Sep 16, 2010 at 1:43 AM, Dean Inglis >>> >wrote: >>>> >>>> Hi Jc, >>>>> >>>>> compile problems fixed. FYI, I ran ctest in my CTK-build dir and >>>>> the following tests are failing: >>>>> 89% tests passed, 6 tests failed out of 53 >>>>> Label Time Summary: >>>>> CTKCore = 11.09 sec >>>>> CTKPluginFramework = 0.17 sec >>>>> CTKVisualizationVTKCore = 8.40 sec >>>>> CTKVisualizationVTKWidgets = 51.38 sec >>>>> CTKWidgets = 51.37 sec >>>>> >>>>> Total Test time (real) = 123.07 sec >>>>> >>>>> The following tests FAILED: >>>>> 1 - ctkCommandLineParserTest1 (Failed) >>>>> 38 - ctkVTKConnectionTest1 (Failed) >>>>> 41 - ctkTransferFunctionViewTest1 (SEGFAULT) >>>>> 42 - ctkTransferFunctionViewTest2 (SEGFAULT) >>>>> 43 - ctkTransferFunctionViewTest3 (SEGFAULT) >>>>> 44 - ctkTransferFunctionViewTest4 (SEGFAULT) >>>>> >>>>> Also, I turned on >>>>> //Enable DICOM/Core Library. >>>>> CTK_LIB_DICOM/Core:BOOL=ON >>>>> to see if I can build more of ctk but encounter the following errors: >>>>> >>>>> [ 42%] No build step for 'DCMTK' >>>>> [ 42%] Performing install step for 'DCMTK' >>>>> 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 >>>>> >>>>> >>>>> Ive read in a few posts that the multiple types in one declaration >>>>> error >>>>> can be caused by a missing >>>>> semicolon at the end of a class definition or a missing closing brace >>>>> in a >>>>> class definition. >>>>> >>>>> Dean >>>>> >>>>> ----- Original Message ----- From: "Jean-Christophe Fillion-Robin" < >>>>> jchris.fillionr at kitware.com> >>>>> To: "Julien Finet" >>>>> Cc: >>>>> Sent: Wednesday, September 15, 2010 6:55 PM >>>>> Subject: Re: [Ctk-developers] CTKWidgets compile errors >>>>> >>>>> >>>>> >>>>> Hi Dean, >>>>> >>>>>> >>>>>> The following commits: >>>>>> >>>>>> >>>>>> http://github.com/commontk/CTK/compare/bab18744b88d3166d37b...059542769bb1851fd6ed >>>>>> .. should fix the problem. >>>>>> >>>>>> Let me know if you have any other issues. >>>>>> >>>>>> Thks >>>>>> Jc >>>>>> >>>>>> On Wed, Sep 15, 2010 at 6:28 PM, Julien Finet < >>>>>> julien.finet at kitware.com >>>>>> >wrote: >>>>>> >>>>>> Sorry about that... we're still working on these... we'll let you know >>>>>> >>>>>>> when >>>>>>> you can update your CTK dir. >>>>>>> Thanks for your patience, >>>>>>> Julien. >>>>>>> On Wed, Sep 15, 2010 at 11:09 PM, Wagner Sales >>>>>>> wrote: >>>>>>> >>>>>>> Hi, >>>>>>> >>>>>>>> >>>>>>>> I'm experiencing this errors with Qt 4.7.0 ( release candidate ). >>>>>>>> >>>>>>>> Wagner Sales >>>>>>>> >>>>>>>> >>>>>>>> 2010/9/15 Dean Inglis : >>>>>>>> > Hello, >>>>>>>> > >>>>>>>> > some recent changes to the ctk source result in the following > >>>>>>>> errors >>>>>>>> > on >>>>>>>> > Win32 Vista >>>>>>>> > MinGW (Qt SDK 4.6.3) which might not show on my experimental >>>>>>>> dashboard >>>>>>>> > (hyoid) >>>>>>>> > submission since it is failing to compile/configure/test >>>>>>>> QtMobility > > >>>>>>>> (as >>>>>>>> > mentioned in prev >>>>>>>> > message threads). >>>>>>>> > >>>>>>>> > hth, >>>>>>>> > Dean >>>>>>>> > >>>>>>>> > >>>>>>>> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp: >>>>>>>> > In >>>>>>>> > member >>>>>>>> > function 'void >>>>>>>> > ctkWorkflowButtonBoxWidgetPrivate::updateBackButton(ctkWorkflowSt >>>>>>>> > ep*)': >>>>>>>> > >>>>>>>> >>>>>>>> >>>>>>>> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp:114: >>>>>>>> > warnin >>>>>>>> > g: unused variable 'q' [-Wunused-variable] >>>>>>>> > >>>>>>>> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp: >>>>>>>> > In >>>>>>>> > member >>>>>>>> > function 'void >>>>>>>> > ctkWorkflowButtonBoxWidgetPrivate::updateNextButton(ctkWorkflowSt >>>>>>>> > ep*)': >>>>>>>> > >>>>>>>> >>>>>>>> >>>>>>>> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp:156: >>>>>>>> > warnin >>>>>>>> > g: unused variable 'q' [-Wunused-variable] >>>>>>>> > [ 31%] Building CXX object >>>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowGro >>>>>>>> > upBox.cpp.obj >>>>>>>> > [ 32%] Building CXX object >>>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowSta >>>>>>>> > ckedWidget.cpp.obj >>>>>>>> > [ 32%] Building CXX object >>>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowTab >>>>>>>> > Widget.cpp.obj >>>>>>>> > [ 32%] Building CXX object >>>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowWid >>>>>>>> > get.cpp.obj >>>>>>>> > [ 32%] Building CXX object >>>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowWid >>>>>>>> > getStep.cpp.obj >>>>>>>> > [ 32%] Building CXX object >>>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkWorkflo >>>>>>>> > wAbstractWidgetStep_p.cxx.obj >>>>>>>> > [ 33%] Building CXX object >>>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkActions >>>>>>>> > Widget.cxx.obj >>>>>>>> > In file included from C:\Qt\qt\include/QtCore/qscopedpointer.h:1, >>>>>>>> > from >>>>>>>> > C:\Qt\qt\include/QtCore/../../src/corelib/kernel/qobject.h >>>>>>>> > :54, >>>>>>>> > from C:\Qt\qt\include/QtCore/qobject.h:1, >>>>>>>> > from >>>>>>>> > C:\Qt\qt\include/QtGui/../../src/gui/itemviews/qabstractit >>>>>>>> > emdelegate.h:45, >>>>>>>> > from > >>>>>>>> C:\Qt\qt\include/QtGui/qabstractitemdelegate.h:1, >>>>>>>> > from >>>>>>>> > C:\Qt\qt\include\QtGui/../../src/gui/itemviews/qstyleditem >>>>>>>> > delegate.h:45, >>>>>>>> > from >>>>>>>> C:\Qt\qt\include\QtGui/qstyleditemdelegate.h:1, >>>>>>>> > from C:\Qt\qt\include\QtGui/QStyledItemDelegate:1, >>>>>>>> > from >>>>>>>> > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widg >>>>>>>> > >>>>>>>> >>>>>>>> >>>>>>>> ets\/../../../../../../../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:25, >>>>>>>> > from >>>>>>>> > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widg >>>>>>>> > ets\moc_ctkActionsWidget.cxx:10: >>>>>>>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h: >>>>>>>> > In >>>>>>>> static >>>>>>>> > memb >>>>>>>> > er function 'static void QScopedPointerDeleter::cleanup(T*) > >>>>>>>> [with >>>>>>>> T > = >>>>>>>> > ctkSort >>>>>>>> > FilterActionsProxyModelPrivate]': >>>>>>>> > >>>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:100: >>>>>>>> > instanti >>>>>>>> > ated from 'QScopedPointer::~QScopedPointer() [with T = >>>>>>>> > ctkSortFilter >>>>>>>> > ActionsProxyModelPrivate, Cleanup = >>>>>>>> > QScopedPointerDeleter>>>>>>> > oxyModelPrivate>]' >>>>>>>> > >>>>>>>> >>>>>>>> >>>>>>>> D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widgets\/../../../../../.. >>>>>>>> > /../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:106: >>>>>>>> instantiated > > >>>>>>>> from >>>>>>>> > here >>>>>>>> > >>>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:59: >>>>>>>> error: >>>>>>>> > inva >>>>>>>> > lid application of 'sizeof' to incomplete type >>>>>>>> > 'ctkSortFilterActionsProxyModelPr >>>>>>>> > ivate' >>>>>>>> > >>>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:59: >>>>>>>> error: >>>>>>>> > crea >>>>>>>> > ting array with negative size ('-0x000000001') >>>>>>>> > >>>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:62: >>>>>>>> > warning: po >>>>>>>> > ssible problem detected in invocation of delete operator: >>>>>>>> > >>>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:54: >>>>>>>> > warning: 'p >>>>>>>> > ointer' has incomplete type >>>>>>>> > >>>>>>>> >>>>>>>> >>>>>>>> D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widgets\/../../../../../.. >>>>>>>> > /../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:33: warning: > >>>>>>>> forward >>>>>>>> > declaration >>>>>>>> > of 'struct ctkSortFilterActionsProxyModelPrivate' >>>>>>>> > >>>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:62: >>>>>>>> note: >>>>>>>> > neith >>>>>>>> > er the destructor nor the class-specific operator delete will be > >>>>>>>> called, >>>>>>>> > even if >>>>>>>> > they are declared when the class is defined. >>>>>>>> > mingw32-make[5]: *** >>>>>>>> > [Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkActionsWidge >>>>>>>> > t.cxx.obj] Error 1 >>>>>>>> > mingw32-make[4]: *** [Libs/Widgets/CMakeFiles/CTKWidgets.dir/all] >>>>>>>> > >>>>>>>> Error >>>>>>>> 2 >>>>>>>> > mingw32-make[3]: *** [all] Error 2 >>>>>>>> > mingw32-make[2]: *** > >>>>>>>> [CMakeExternals/Stamp/CTK-build/CTK-build-build] >>>>>>>> Error >>>>>>>> > 2 >>>>>>>> > mingw32-make[1]: *** [CMakeFiles/CTK-build.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 >>>>>>>> > >>>>>>>> _______________________________________________ >>>>>>>> Ctk-developers mailing list >>>>>>>> Ctk-developers at commontk.org >>>>>>>> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> _______________________________________________ >>>>>>> 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 >>>>>> >>>>>> >>>>>> >>>>> >>>>> -------------------------------------------------------------------------------- >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> >>>>>> 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: From dean.inglis at camris.ca Thu Sep 16 16:12:54 2010 From: dean.inglis at camris.ca (Dean Inglis) Date: Thu, 16 Sep 2010 12:12:54 -0400 Subject: [Ctk-developers] CTKWidgets compile errors In-Reply-To: References: <5A5ABE2BE26F48EC99F2DFD28470730E@Hyoid> <05BB04333D024923A6ACE85102C9BC69@Hyoid> Message-ID: <9A65FEBDBBE54F6BB0A4D5B6730ABB58@Hyoid> Great and happy to help! Two tests are still failing... Start 1: ctkCommandLineParserTest1 1: Test command: D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\bin\CTKCoreCppTests.exe ctkCommandLineParserTest1 1: Test timeout computed to be: 1500 1: Test14 - Wrong number of parsed arguments. 1/53 Test #1: ctkCommandLineParserTest1 ...........................***Failed 0.04 sec 38: Test command: D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\bin\CTKVisualizationVTKCoreCppTests.exe ctkVTKConnectionTest1 -D D:/Developer/Releases/MinGW/SHARED/ctk/CMakeExternals/Source/CTKData/Data -V D:/Developer/Releases/MinGW/SHARED/ctk/CMakeExternals/Source/CTKData/Baseline/Libs/Visualization/VTK/Core/ctkVTKConnectionTest1.png -T D:/Developer/Releases/MinGW/SHARED/ctk/CTK-build/Testing/Temporary 38: Test timeout computed to be: 1500 38: 100 events listened by 1000 objects (ctkVTKConnection): 0.122 seconds 38: 100 events listened by 1000 objects (vtkCallbacks): 0.04 seconds 38: ctkVTKConnection / vtkCallbacks: 3.05 38: 100 events listened by 1000 objects (observed ctkVTKConnection): 0.157 seconds 38: 100 events listened by 1000 objects (ctkVTKConnection, 1-1): 0.117 seconds 38/53 Test #38: ctkVTKConnectionTest1 ...............................***Failed 1.34 sec Dean > Hi Dean, > > I fixed the following tests: > 38 - ctkVTKConnectionTest1 (Failed) > 41 - ctkTransferFunctionViewTest1 (SEGFAULT) > 42 - ctkTransferFunctionViewTest2 (SEGFAULT) > 43 - ctkTransferFunctionViewTest3 (SEGFAULT) > 44 - ctkTransferFunctionViewTest4 (SEGFAULT) > > Many thanks for reporting them. > Julien. > On Thu, Sep 16, 2010 at 2:56 PM, Julien Finet > wrote: > >> Hi Dean, >> >> it seems that you're right. Your suggested change is valid. Do you want >> to >> commit a patch? I'll give a look at the other (SEGFAULT) tests. >> Concerning MinGW, the cross platform support is a very good point, >> unfortunately it seems that thanks to the Express edition (free) of >> Visual >> Studio C++, people (including me) tend to start using Visual Studio more >> than MinGW... Visual Studio 2008 is pretty well supported with ITK, VTK, >> DCMTK, CTK... (personally I would wait a bit before using Visual Studio >> 2010 >> with these tools). However, we are really happy to have MinGW users with >> CTK, it is important to us to be cross-platform and cross-compiler (at >> least >> for the popular ones). >> >> Thanks, >> Julien. >> On Thu, Sep 16, 2010 at 2:34 PM, Dean Inglis >> wrote: >> >>> Hi Jc, Julien >>> >>> Im building shared release. See attached output of ctest -VV > log.txt >>> I have already set my path to include the binary bin dir where all vtk >>> libs/dlls >>> are: not all ctk vtk tests are failing. I have built vtk with >>> DEBUG_LEAKS >>> on >>> and there is one test that pops up a vtk window on termination: >>> ctkVTKChartViewTest1, which I think is due to the way the >>> ctkVTKChartView is instantiated in the test without a final delete: >>> ctkVTKChartView* view = new ctkVTKChartView(0); >>> >>> can there be instead >>> ctkVTKChartView view(0); >>> >>> With regard to DCMTK and MinGW support, I chose MinGW since it >>> seems to be one of the more most cross-toolkit build friendly compiler >>> tools for Windows. Is there a recommended Windows compiler that will >>> compile >>> all of VTK, Qt, DCMTK, CTK ? >>> >>> >>> Dean >>> >>> >>> ----- Original Message ----- From: "Jean-Christophe Fillion-Robin" < >>> jchris.fillionr at kitware.com> >>> To: "Julien Finet" >>> Cc: "Dean Inglis" ; >>> Sent: Thursday, September 16, 2010 5:00 AM >>> >>> Subject: Re: [Ctk-developers] CTKWidgets compile errors >>> >>> >>> Hi Dean, >>>> >>>> Are you building in debug or release? >>>> >>>> Test ctkVTKConnectionTest1 should now be fixed . See >>>> >>>> http://github.com/commontk/CTK/commit/e5c275e115d85b1d308338f1591135622eaf73a3 >>>> >>>> Regarding ctkCommandLineParserTest1, would it be possible to run CTest >>>> with >>>> -V option and send the output. >>>> >>>> Thks >>>> Jc >>>> >>>> On Thu, Sep 16, 2010 at 4:27 AM, Julien Finet >>> >wrote: >>>> >>>> Dean, >>>>> >>>>> your failing tests come from the fact that ctest can't find the VTK >>>>> libraries ( you would need to set the bin path of VTK into your PATH >>>>> env >>>>> variable until we have a CTK launcher (to automatically set >>>>> environment >>>>> variables before calling the tests) >>>>> >>>>> Concerning the errors, they come from DCMTK but DCMTK doesn't >>>>> officially >>>>> support MinGW. However we have a local copy of DCMTK so I guess we can >>>>> add >>>>> more patches to it. >>>>> >>>>> Julien. >>>>> On Thu, Sep 16, 2010 at 1:43 AM, Dean Inglis >>>> >wrote: >>>>> >>>>> Hi Jc, >>>>>> >>>>>> compile problems fixed. FYI, I ran ctest in my CTK-build dir and >>>>>> the following tests are failing: >>>>>> 89% tests passed, 6 tests failed out of 53 >>>>>> Label Time Summary: >>>>>> CTKCore = 11.09 sec >>>>>> CTKPluginFramework = 0.17 sec >>>>>> CTKVisualizationVTKCore = 8.40 sec >>>>>> CTKVisualizationVTKWidgets = 51.38 sec >>>>>> CTKWidgets = 51.37 sec >>>>>> >>>>>> Total Test time (real) = 123.07 sec >>>>>> >>>>>> The following tests FAILED: >>>>>> 1 - ctkCommandLineParserTest1 (Failed) >>>>>> 38 - ctkVTKConnectionTest1 (Failed) >>>>>> 41 - ctkTransferFunctionViewTest1 (SEGFAULT) >>>>>> 42 - ctkTransferFunctionViewTest2 (SEGFAULT) >>>>>> 43 - ctkTransferFunctionViewTest3 (SEGFAULT) >>>>>> 44 - ctkTransferFunctionViewTest4 (SEGFAULT) >>>>>> >>>>>> Also, I turned on >>>>>> //Enable DICOM/Core Library. >>>>>> CTK_LIB_DICOM/Core:BOOL=ON >>>>>> to see if I can build more of ctk but encounter the following errors: >>>>>> >>>>>> [ 42%] No build step for 'DCMTK' >>>>>> [ 42%] Performing install step for 'DCMTK' >>>>>> 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 >>>>>> >>>>>> >>>>>> Ive read in a few posts that the multiple types in one declaration >>>>>> error >>>>>> can be caused by a missing >>>>>> semicolon at the end of a class definition or a missing closing brace >>>>>> in a >>>>>> class definition. >>>>>> >>>>>> Dean >>>>>> >>>>>> ----- Original Message ----- From: "Jean-Christophe Fillion-Robin" < >>>>>> jchris.fillionr at kitware.com> >>>>>> To: "Julien Finet" >>>>>> Cc: >>>>>> Sent: Wednesday, September 15, 2010 6:55 PM >>>>>> Subject: Re: [Ctk-developers] CTKWidgets compile errors >>>>>> >>>>>> >>>>>> >>>>>> Hi Dean, >>>>>> >>>>>>> >>>>>>> The following commits: >>>>>>> >>>>>>> >>>>>>> http://github.com/commontk/CTK/compare/bab18744b88d3166d37b...059542769bb1851fd6ed >>>>>>> .. should fix the problem. >>>>>>> >>>>>>> Let me know if you have any other issues. >>>>>>> >>>>>>> Thks >>>>>>> Jc >>>>>>> >>>>>>> On Wed, Sep 15, 2010 at 6:28 PM, Julien Finet < >>>>>>> julien.finet at kitware.com >>>>>>> >wrote: >>>>>>> >>>>>>> Sorry about that... we're still working on these... we'll let you >>>>>>> know >>>>>>> >>>>>>>> when >>>>>>>> you can update your CTK dir. >>>>>>>> Thanks for your patience, >>>>>>>> Julien. >>>>>>>> On Wed, Sep 15, 2010 at 11:09 PM, Wagner Sales >>>>>>>> wrote: >>>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>>> >>>>>>>>> I'm experiencing this errors with Qt 4.7.0 ( release candidate ). >>>>>>>>> >>>>>>>>> Wagner Sales >>>>>>>>> >>>>>>>>> >>>>>>>>> 2010/9/15 Dean Inglis : >>>>>>>>> > Hello, >>>>>>>>> > >>>>>>>>> > some recent changes to the ctk source result in the following > >>>>>>>>> errors >>>>>>>>> > on >>>>>>>>> > Win32 Vista >>>>>>>>> > MinGW (Qt SDK 4.6.3) which might not show on my experimental >>>>>>>>> dashboard >>>>>>>>> > (hyoid) >>>>>>>>> > submission since it is failing to compile/configure/test >>>>>>>>> QtMobility > > >>>>>>>>> (as >>>>>>>>> > mentioned in prev >>>>>>>>> > message threads). >>>>>>>>> > >>>>>>>>> > hth, >>>>>>>>> > Dean >>>>>>>>> > >>>>>>>>> > >>>>>>>>> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp: >>>>>>>>> > In >>>>>>>>> > member >>>>>>>>> > function 'void >>>>>>>>> > ctkWorkflowButtonBoxWidgetPrivate::updateBackButton(ctkWorkflowSt >>>>>>>>> > ep*)': >>>>>>>>> > >>>>>>>>> >>>>>>>>> >>>>>>>>> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp:114: >>>>>>>>> > warnin >>>>>>>>> > g: unused variable 'q' [-Wunused-variable] >>>>>>>>> > >>>>>>>>> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp: >>>>>>>>> > In >>>>>>>>> > member >>>>>>>>> > function 'void >>>>>>>>> > ctkWorkflowButtonBoxWidgetPrivate::updateNextButton(ctkWorkflowSt >>>>>>>>> > ep*)': >>>>>>>>> > >>>>>>>>> >>>>>>>>> >>>>>>>>> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp:156: >>>>>>>>> > warnin >>>>>>>>> > g: unused variable 'q' [-Wunused-variable] >>>>>>>>> > [ 31%] Building CXX object >>>>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowGro >>>>>>>>> > upBox.cpp.obj >>>>>>>>> > [ 32%] Building CXX object >>>>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowSta >>>>>>>>> > ckedWidget.cpp.obj >>>>>>>>> > [ 32%] Building CXX object >>>>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowTab >>>>>>>>> > Widget.cpp.obj >>>>>>>>> > [ 32%] Building CXX object >>>>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowWid >>>>>>>>> > get.cpp.obj >>>>>>>>> > [ 32%] Building CXX object >>>>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowWid >>>>>>>>> > getStep.cpp.obj >>>>>>>>> > [ 32%] Building CXX object >>>>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkWorkflo >>>>>>>>> > wAbstractWidgetStep_p.cxx.obj >>>>>>>>> > [ 33%] Building CXX object >>>>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkActions >>>>>>>>> > Widget.cxx.obj >>>>>>>>> > In file included from >>>>>>>>> > C:\Qt\qt\include/QtCore/qscopedpointer.h:1, >>>>>>>>> > from >>>>>>>>> > C:\Qt\qt\include/QtCore/../../src/corelib/kernel/qobject.h >>>>>>>>> > :54, >>>>>>>>> > from C:\Qt\qt\include/QtCore/qobject.h:1, >>>>>>>>> > from >>>>>>>>> > C:\Qt\qt\include/QtGui/../../src/gui/itemviews/qabstractit >>>>>>>>> > emdelegate.h:45, >>>>>>>>> > from > >>>>>>>>> C:\Qt\qt\include/QtGui/qabstractitemdelegate.h:1, >>>>>>>>> > from >>>>>>>>> > C:\Qt\qt\include\QtGui/../../src/gui/itemviews/qstyleditem >>>>>>>>> > delegate.h:45, >>>>>>>>> > from >>>>>>>>> C:\Qt\qt\include\QtGui/qstyleditemdelegate.h:1, >>>>>>>>> > from >>>>>>>>> > C:\Qt\qt\include\QtGui/QStyledItemDelegate:1, >>>>>>>>> > from >>>>>>>>> > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widg >>>>>>>>> > >>>>>>>>> >>>>>>>>> >>>>>>>>> ets\/../../../../../../../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:25, >>>>>>>>> > from >>>>>>>>> > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widg >>>>>>>>> > ets\moc_ctkActionsWidget.cxx:10: >>>>>>>>> > C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h: >>>>>>>>> > In >>>>>>>>> static >>>>>>>>> > memb >>>>>>>>> > er function 'static void QScopedPointerDeleter::cleanup(T*) > >>>>>>>>> [with >>>>>>>>> T > = >>>>>>>>> > ctkSort >>>>>>>>> > FilterActionsProxyModelPrivate]': >>>>>>>>> > >>>>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:100: >>>>>>>>> > instanti >>>>>>>>> > ated from 'QScopedPointer::~QScopedPointer() [with T >>>>>>>>> > = >>>>>>>>> > ctkSortFilter >>>>>>>>> > ActionsProxyModelPrivate, Cleanup = >>>>>>>>> > QScopedPointerDeleter>>>>>>>> > oxyModelPrivate>]' >>>>>>>>> > >>>>>>>>> >>>>>>>>> >>>>>>>>> D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widgets\/../../../../../.. >>>>>>>>> > /../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:106: >>>>>>>>> instantiated > > >>>>>>>>> from >>>>>>>>> > here >>>>>>>>> > >>>>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:59: >>>>>>>>> error: >>>>>>>>> > inva >>>>>>>>> > lid application of 'sizeof' to incomplete type >>>>>>>>> > 'ctkSortFilterActionsProxyModelPr >>>>>>>>> > ivate' >>>>>>>>> > >>>>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:59: >>>>>>>>> error: >>>>>>>>> > crea >>>>>>>>> > ting array with negative size ('-0x000000001') >>>>>>>>> > >>>>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:62: >>>>>>>>> > warning: po >>>>>>>>> > ssible problem detected in invocation of delete operator: >>>>>>>>> > >>>>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:54: >>>>>>>>> > warning: 'p >>>>>>>>> > ointer' has incomplete type >>>>>>>>> > >>>>>>>>> >>>>>>>>> >>>>>>>>> D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widgets\/../../../../../.. >>>>>>>>> > /../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:33: warning: > >>>>>>>>> forward >>>>>>>>> > declaration >>>>>>>>> > of 'struct ctkSortFilterActionsProxyModelPrivate' >>>>>>>>> > >>>>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:62: >>>>>>>>> note: >>>>>>>>> > neith >>>>>>>>> > er the destructor nor the class-specific operator delete will be >>>>>>>>> > > >>>>>>>>> called, >>>>>>>>> > even if >>>>>>>>> > they are declared when the class is defined. >>>>>>>>> > mingw32-make[5]: *** >>>>>>>>> > [Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkActionsWidge >>>>>>>>> > t.cxx.obj] Error 1 >>>>>>>>> > mingw32-make[4]: *** >>>>>>>>> > [Libs/Widgets/CMakeFiles/CTKWidgets.dir/all] >>>>>>>>> > >>>>>>>>> Error >>>>>>>>> 2 >>>>>>>>> > mingw32-make[3]: *** [all] Error 2 >>>>>>>>> > mingw32-make[2]: *** > >>>>>>>>> [CMakeExternals/Stamp/CTK-build/CTK-build-build] >>>>>>>>> Error >>>>>>>>> > 2 >>>>>>>>> > mingw32-make[1]: *** [CMakeFiles/CTK-build.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 >>>>>>>>> > >>>>>>>>> _______________________________________________ >>>>>>>>> Ctk-developers mailing list >>>>>>>>> Ctk-developers at commontk.org >>>>>>>>> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> 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 >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> -------------------------------------------------------------------------------- >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> >>>>>>> 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 >>>> >>>> >> > From jchris.fillionr at kitware.com Thu Sep 16 16:52:21 2010 From: jchris.fillionr at kitware.com (Jean-Christophe Fillion-Robin) Date: Thu, 16 Sep 2010 12:52:21 -0400 Subject: [Ctk-developers] CTKWidgets compile errors In-Reply-To: <9A65FEBDBBE54F6BB0A4D5B6730ABB58@Hyoid> References: <5A5ABE2BE26F48EC99F2DFD28470730E@Hyoid> <05BB04333D024923A6ACE85102C9BC69@Hyoid> <9A65FEBDBBE54F6BB0A4D5B6730ABB58@Hyoid> Message-ID: Hi Dean, Could you run the test "ctkCommandLineParserTest1" with the -V option and send us the output ? ctest -V -R ctkCommandLineParserTest1 Thks Jc On Thu, Sep 16, 2010 at 12:12 PM, Dean Inglis wrote: > Great and happy to help! Two tests are still failing... > > Start 1: ctkCommandLineParserTest1 > > 1: Test command: > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\bin\CTKCoreCppTests.exe > ctkCommandLineParserTest1 > 1: Test timeout computed to be: 1500 > 1: Test14 - Wrong number of parsed arguments. > 1/53 Test #1: ctkCommandLineParserTest1 > ...........................***Failed 0.04 sec > > 38: Test command: > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\bin\CTKVisualizationVTKCoreCppTests.exe > ctkVTKConnectionTest1 -D > D:/Developer/Releases/MinGW/SHARED/ctk/CMakeExternals/Source/CTKData/Data -V > D:/Developer/Releases/MinGW/SHARED/ctk/CMakeExternals/Source/CTKData/Baseline/Libs/Visualization/VTK/Core/ctkVTKConnectionTest1.png > -T D:/Developer/Releases/MinGW/SHARED/ctk/CTK-build/Testing/Temporary > 38: Test timeout computed to be: 1500 > 38: 100 events listened by 1000 objects (ctkVTKConnection): 0.122 seconds > 38: 100 events listened by 1000 objects (vtkCallbacks): 0.04 seconds > 38: ctkVTKConnection / vtkCallbacks: 3.05 > 38: 100 events listened by 1000 objects (observed ctkVTKConnection): 0.157 > seconds > 38: 100 events listened by 1000 objects (ctkVTKConnection, 1-1): 0.117 > seconds > 38/53 Test #38: ctkVTKConnectionTest1 > ...............................***Failed 1.34 sec > > > Dean > > > > > > Hi Dean, >> >> I fixed the following tests: >> 38 - ctkVTKConnectionTest1 (Failed) >> 41 - ctkTransferFunctionViewTest1 (SEGFAULT) >> 42 - ctkTransferFunctionViewTest2 (SEGFAULT) >> 43 - ctkTransferFunctionViewTest3 (SEGFAULT) >> 44 - ctkTransferFunctionViewTest4 (SEGFAULT) >> >> Many thanks for reporting them. >> Julien. >> On Thu, Sep 16, 2010 at 2:56 PM, Julien Finet > >wrote: >> >> Hi Dean, >>> >>> it seems that you're right. Your suggested change is valid. Do you want >>> to >>> commit a patch? I'll give a look at the other (SEGFAULT) tests. >>> Concerning MinGW, the cross platform support is a very good point, >>> unfortunately it seems that thanks to the Express edition (free) of >>> Visual >>> Studio C++, people (including me) tend to start using Visual Studio more >>> than MinGW... Visual Studio 2008 is pretty well supported with ITK, VTK, >>> DCMTK, CTK... (personally I would wait a bit before using Visual Studio >>> 2010 >>> with these tools). However, we are really happy to have MinGW users with >>> CTK, it is important to us to be cross-platform and cross-compiler (at >>> least >>> for the popular ones). >>> >>> Thanks, >>> Julien. >>> On Thu, Sep 16, 2010 at 2:34 PM, Dean Inglis >> >wrote: >>> >>> Hi Jc, Julien >>>> >>>> Im building shared release. See attached output of ctest -VV > log.txt >>>> I have already set my path to include the binary bin dir where all vtk >>>> libs/dlls >>>> are: not all ctk vtk tests are failing. I have built vtk with >>>> DEBUG_LEAKS >>>> on >>>> and there is one test that pops up a vtk window on termination: >>>> ctkVTKChartViewTest1, which I think is due to the way the >>>> ctkVTKChartView is instantiated in the test without a final delete: >>>> ctkVTKChartView* view = new ctkVTKChartView(0); >>>> >>>> can there be instead >>>> ctkVTKChartView view(0); >>>> >>>> With regard to DCMTK and MinGW support, I chose MinGW since it >>>> seems to be one of the more most cross-toolkit build friendly compiler >>>> tools for Windows. Is there a recommended Windows compiler that will >>>> compile >>>> all of VTK, Qt, DCMTK, CTK ? >>>> >>>> >>>> Dean >>>> >>>> >>>> ----- Original Message ----- From: "Jean-Christophe Fillion-Robin" < >>>> jchris.fillionr at kitware.com> >>>> To: "Julien Finet" >>>> Cc: "Dean Inglis" ; >>> > >>>> Sent: Thursday, September 16, 2010 5:00 AM >>>> >>>> Subject: Re: [Ctk-developers] CTKWidgets compile errors >>>> >>>> >>>> Hi Dean, >>>> >>>>> >>>>> Are you building in debug or release? >>>>> >>>>> Test ctkVTKConnectionTest1 should now be fixed . See >>>>> >>>>> >>>>> http://github.com/commontk/CTK/commit/e5c275e115d85b1d308338f1591135622eaf73a3 >>>>> >>>>> Regarding ctkCommandLineParserTest1, would it be possible to run CTest >>>>> with >>>>> -V option and send the output. >>>>> >>>>> Thks >>>>> Jc >>>>> >>>>> On Thu, Sep 16, 2010 at 4:27 AM, Julien Finet < >>>>> julien.finet at kitware.com >>>>> >wrote: >>>>> >>>>> Dean, >>>>> >>>>>> >>>>>> your failing tests come from the fact that ctest can't find the VTK >>>>>> libraries ( you would need to set the bin path of VTK into your PATH >>>>>> env >>>>>> variable until we have a CTK launcher (to automatically set >>>>>> environment >>>>>> variables before calling the tests) >>>>>> >>>>>> Concerning the errors, they come from DCMTK but DCMTK doesn't >>>>>> officially >>>>>> support MinGW. However we have a local copy of DCMTK so I guess we can >>>>>> add >>>>>> more patches to it. >>>>>> >>>>>> Julien. >>>>>> On Thu, Sep 16, 2010 at 1:43 AM, Dean Inglis >>>>> >wrote: >>>>>> >>>>>> Hi Jc, >>>>>> >>>>>>> >>>>>>> compile problems fixed. FYI, I ran ctest in my CTK-build dir and >>>>>>> the following tests are failing: >>>>>>> 89% tests passed, 6 tests failed out of 53 >>>>>>> Label Time Summary: >>>>>>> CTKCore = 11.09 sec >>>>>>> CTKPluginFramework = 0.17 sec >>>>>>> CTKVisualizationVTKCore = 8.40 sec >>>>>>> CTKVisualizationVTKWidgets = 51.38 sec >>>>>>> CTKWidgets = 51.37 sec >>>>>>> >>>>>>> Total Test time (real) = 123.07 sec >>>>>>> >>>>>>> The following tests FAILED: >>>>>>> 1 - ctkCommandLineParserTest1 (Failed) >>>>>>> 38 - ctkVTKConnectionTest1 (Failed) >>>>>>> 41 - ctkTransferFunctionViewTest1 (SEGFAULT) >>>>>>> 42 - ctkTransferFunctionViewTest2 (SEGFAULT) >>>>>>> 43 - ctkTransferFunctionViewTest3 (SEGFAULT) >>>>>>> 44 - ctkTransferFunctionViewTest4 (SEGFAULT) >>>>>>> >>>>>>> Also, I turned on >>>>>>> //Enable DICOM/Core Library. >>>>>>> CTK_LIB_DICOM/Core:BOOL=ON >>>>>>> to see if I can build more of ctk but encounter the following errors: >>>>>>> >>>>>>> [ 42%] No build step for 'DCMTK' >>>>>>> [ 42%] Performing install step for 'DCMTK' >>>>>>> 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 >>>>>>> >>>>>>> >>>>>>> Ive read in a few posts that the multiple types in one declaration >>>>>>> error >>>>>>> can be caused by a missing >>>>>>> semicolon at the end of a class definition or a missing closing brace >>>>>>> in a >>>>>>> class definition. >>>>>>> >>>>>>> Dean >>>>>>> >>>>>>> ----- Original Message ----- From: "Jean-Christophe Fillion-Robin" < >>>>>>> jchris.fillionr at kitware.com> >>>>>>> To: "Julien Finet" >>>>>>> Cc: >>>>>>> Sent: Wednesday, September 15, 2010 6:55 PM >>>>>>> Subject: Re: [Ctk-developers] CTKWidgets compile errors >>>>>>> >>>>>>> >>>>>>> >>>>>>> Hi Dean, >>>>>>> >>>>>>> >>>>>>>> The following commits: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> http://github.com/commontk/CTK/compare/bab18744b88d3166d37b...059542769bb1851fd6ed >>>>>>>> .. should fix the problem. >>>>>>>> >>>>>>>> Let me know if you have any other issues. >>>>>>>> >>>>>>>> Thks >>>>>>>> Jc >>>>>>>> >>>>>>>> On Wed, Sep 15, 2010 at 6:28 PM, Julien Finet < >>>>>>>> julien.finet at kitware.com >>>>>>>> >wrote: >>>>>>>> >>>>>>>> Sorry about that... we're still working on these... we'll let you >>>>>>>> know >>>>>>>> >>>>>>>> when >>>>>>>>> you can update your CTK dir. >>>>>>>>> Thanks for your patience, >>>>>>>>> Julien. >>>>>>>>> On Wed, Sep 15, 2010 at 11:09 PM, Wagner Sales >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>> Hi, >>>>>>>>> >>>>>>>>> >>>>>>>>>> I'm experiencing this errors with Qt 4.7.0 ( release candidate ). >>>>>>>>>> >>>>>>>>>> Wagner Sales >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> 2010/9/15 Dean Inglis : >>>>>>>>>> > Hello, >>>>>>>>>> > >>>>>>>>>> > some recent changes to the ctk source result in the following > >>>>>>>>>> errors >>>>>>>>>> > on >>>>>>>>>> > Win32 Vista >>>>>>>>>> > MinGW (Qt SDK 4.6.3) which might not show on my experimental >>>>>>>>>> dashboard >>>>>>>>>> > (hyoid) >>>>>>>>>> > submission since it is failing to compile/configure/test >>>>>>>>>> QtMobility > > >>>>>>>>>> (as >>>>>>>>>> > mentioned in prev >>>>>>>>>> > message threads). >>>>>>>>>> > >>>>>>>>>> > hth, >>>>>>>>>> > Dean >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> >>>>>>>>>> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp: >>>>>>>>>> > In >>>>>>>>>> > member >>>>>>>>>> > function 'void >>>>>>>>>> > >>>>>>>>>> ctkWorkflowButtonBoxWidgetPrivate::updateBackButton(ctkWorkflowSt >>>>>>>>>> > ep*)': >>>>>>>>>> > >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp:114: >>>>>>>>>> > warnin >>>>>>>>>> > g: unused variable 'q' [-Wunused-variable] >>>>>>>>>> > >>>>>>>>>> >>>>>>>>>> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp: >>>>>>>>>> > In >>>>>>>>>> > member >>>>>>>>>> > function 'void >>>>>>>>>> > >>>>>>>>>> ctkWorkflowButtonBoxWidgetPrivate::updateNextButton(ctkWorkflowSt >>>>>>>>>> > ep*)': >>>>>>>>>> > >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp:156: >>>>>>>>>> > warnin >>>>>>>>>> > g: unused variable 'q' [-Wunused-variable] >>>>>>>>>> > [ 31%] Building CXX object >>>>>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowGro >>>>>>>>>> > upBox.cpp.obj >>>>>>>>>> > [ 32%] Building CXX object >>>>>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowSta >>>>>>>>>> > ckedWidget.cpp.obj >>>>>>>>>> > [ 32%] Building CXX object >>>>>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowTab >>>>>>>>>> > Widget.cpp.obj >>>>>>>>>> > [ 32%] Building CXX object >>>>>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowWid >>>>>>>>>> > get.cpp.obj >>>>>>>>>> > [ 32%] Building CXX object >>>>>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowWid >>>>>>>>>> > getStep.cpp.obj >>>>>>>>>> > [ 32%] Building CXX object >>>>>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkWorkflo >>>>>>>>>> > wAbstractWidgetStep_p.cxx.obj >>>>>>>>>> > [ 33%] Building CXX object >>>>>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkActions >>>>>>>>>> > Widget.cxx.obj >>>>>>>>>> > In file included from > >>>>>>>>>> C:\Qt\qt\include/QtCore/qscopedpointer.h:1, >>>>>>>>>> > from >>>>>>>>>> > C:\Qt\qt\include/QtCore/../../src/corelib/kernel/qobject.h >>>>>>>>>> > :54, >>>>>>>>>> > from C:\Qt\qt\include/QtCore/qobject.h:1, >>>>>>>>>> > from >>>>>>>>>> > C:\Qt\qt\include/QtGui/../../src/gui/itemviews/qabstractit >>>>>>>>>> > emdelegate.h:45, >>>>>>>>>> > from > >>>>>>>>>> C:\Qt\qt\include/QtGui/qabstractitemdelegate.h:1, >>>>>>>>>> > from >>>>>>>>>> > C:\Qt\qt\include\QtGui/../../src/gui/itemviews/qstyleditem >>>>>>>>>> > delegate.h:45, >>>>>>>>>> > from >>>>>>>>>> C:\Qt\qt\include\QtGui/qstyleditemdelegate.h:1, >>>>>>>>>> > from > >>>>>>>>>> C:\Qt\qt\include\QtGui/QStyledItemDelegate:1, >>>>>>>>>> > from >>>>>>>>>> > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widg >>>>>>>>>> > >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ets\/../../../../../../../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:25, >>>>>>>>>> > from >>>>>>>>>> > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widg >>>>>>>>>> > ets\moc_ctkActionsWidget.cxx:10: >>>>>>>>>> > >>>>>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h: >>>>>>>>>> > In >>>>>>>>>> static >>>>>>>>>> > memb >>>>>>>>>> > er function 'static void QScopedPointerDeleter::cleanup(T*) > >>>>>>>>>> [with >>>>>>>>>> T > = >>>>>>>>>> > ctkSort >>>>>>>>>> > FilterActionsProxyModelPrivate]': >>>>>>>>>> > >>>>>>>>>> >>>>>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:100: >>>>>>>>>> > instanti >>>>>>>>>> > ated from 'QScopedPointer::~QScopedPointer() [with T >>>>>>>>>> > = >>>>>>>>>> > ctkSortFilter >>>>>>>>>> > ActionsProxyModelPrivate, Cleanup = >>>>>>>>>> > QScopedPointerDeleter>>>>>>>>> > oxyModelPrivate>]' >>>>>>>>>> > >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widgets\/../../../../../.. >>>>>>>>>> > /../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:106: >>>>>>>>>> instantiated > > >>>>>>>>>> from >>>>>>>>>> > here >>>>>>>>>> > >>>>>>>>>> >>>>>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:59: >>>>>>>>>> error: >>>>>>>>>> > inva >>>>>>>>>> > lid application of 'sizeof' to incomplete type >>>>>>>>>> > 'ctkSortFilterActionsProxyModelPr >>>>>>>>>> > ivate' >>>>>>>>>> > >>>>>>>>>> >>>>>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:59: >>>>>>>>>> error: >>>>>>>>>> > crea >>>>>>>>>> > ting array with negative size ('-0x000000001') >>>>>>>>>> > >>>>>>>>>> >>>>>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:62: >>>>>>>>>> > warning: po >>>>>>>>>> > ssible problem detected in invocation of delete operator: >>>>>>>>>> > >>>>>>>>>> >>>>>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:54: >>>>>>>>>> > warning: 'p >>>>>>>>>> > ointer' has incomplete type >>>>>>>>>> > >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widgets\/../../../../../.. >>>>>>>>>> > /../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:33: warning: > >>>>>>>>>> forward >>>>>>>>>> > declaration >>>>>>>>>> > of 'struct ctkSortFilterActionsProxyModelPrivate' >>>>>>>>>> > >>>>>>>>>> >>>>>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:62: >>>>>>>>>> note: >>>>>>>>>> > neith >>>>>>>>>> > er the destructor nor the class-specific operator delete will be >>>>>>>>>> > > >>>>>>>>>> called, >>>>>>>>>> > even if >>>>>>>>>> > they are declared when the class is defined. >>>>>>>>>> > mingw32-make[5]: *** >>>>>>>>>> > [Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkActionsWidge >>>>>>>>>> > t.cxx.obj] Error 1 >>>>>>>>>> > mingw32-make[4]: *** > >>>>>>>>>> [Libs/Widgets/CMakeFiles/CTKWidgets.dir/all] >>>>>>>>>> > >>>>>>>>>> Error >>>>>>>>>> 2 >>>>>>>>>> > mingw32-make[3]: *** [all] Error 2 >>>>>>>>>> > mingw32-make[2]: *** > >>>>>>>>>> [CMakeExternals/Stamp/CTK-build/CTK-build-build] >>>>>>>>>> Error >>>>>>>>>> > 2 >>>>>>>>>> > mingw32-make[1]: *** [CMakeFiles/CTK-build.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 >>>>>>>>>> > >>>>>>>>>> _______________________________________________ >>>>>>>>>> Ctk-developers mailing list >>>>>>>>>> Ctk-developers at commontk.org >>>>>>>>>> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>> 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 >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> -------------------------------------------------------------------------------- >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> >>>>>>> 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 >>>>> >>>>> >>>>> >>> >> > -- Phone: 1-518-836-2174 Ext: 304 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dean.inglis at camris.ca Thu Sep 16 16:59:54 2010 From: dean.inglis at camris.ca (Dean Inglis) Date: Thu, 16 Sep 2010 12:59:54 -0400 Subject: [Ctk-developers] CTKWidgets compile errors In-Reply-To: References: <5A5ABE2BE26F48EC99F2DFD28470730E@Hyoid> <05BB04333D024923A6ACE85102C9BC69@Hyoid> <9A65FEBDBBE54F6BB0A4D5B6730ABB58@Hyoid> Message-ID: <4CCD7E3338884AC88E38FA2665B992C0@Hyoid> test 1 Start 1: ctkCommandLineParserTest1 1: Test command: D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\bin\CTKCoreCpp Tests.exe ctkCommandLineParserTest1 1: Test timeout computed to be: 1500 1: Test14 - Wrong number of parsed arguments. 1/1 Test #1: ctkCommandLineParserTest1 ........***Failed 0.03 sec 0% tests passed, 1 tests failed out of 1 Label Time Summary: CTKCore = 0.03 sec Total Test time (real) = 0.11 sec > Hi Dean, > > Could you run the test "ctkCommandLineParserTest1" with the -V option and > send us the output ? > > ctest -V -R ctkCommandLineParserTest1 > > Thks > Jc > > On Thu, Sep 16, 2010 at 12:12 PM, Dean Inglis > wrote: > >> Great and happy to help! Two tests are still failing... >> >> Start 1: ctkCommandLineParserTest1 >> >> 1: Test command: >> D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\bin\CTKCoreCppTests.exe >> ctkCommandLineParserTest1 >> 1: Test timeout computed to be: 1500 >> 1: Test14 - Wrong number of parsed arguments. >> 1/53 Test #1: ctkCommandLineParserTest1 >> ...........................***Failed 0.04 sec >> >> 38: Test command: >> D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\bin\CTKVisualizationVTKCoreCppTests.exe >> ctkVTKConnectionTest1 -D >> D:/Developer/Releases/MinGW/SHARED/ctk/CMakeExternals/Source/CTKData/Data >> -V >> D:/Developer/Releases/MinGW/SHARED/ctk/CMakeExternals/Source/CTKData/Baseline/Libs/Visualization/VTK/Core/ctkVTKConnectionTest1.png >> -T D:/Developer/Releases/MinGW/SHARED/ctk/CTK-build/Testing/Temporary >> 38: Test timeout computed to be: 1500 >> 38: 100 events listened by 1000 objects (ctkVTKConnection): 0.122 >> seconds >> 38: 100 events listened by 1000 objects (vtkCallbacks): 0.04 seconds >> 38: ctkVTKConnection / vtkCallbacks: 3.05 >> 38: 100 events listened by 1000 objects (observed ctkVTKConnection): >> 0.157 >> seconds >> 38: 100 events listened by 1000 objects (ctkVTKConnection, 1-1): 0.117 >> seconds >> 38/53 Test #38: ctkVTKConnectionTest1 >> ...............................***Failed 1.34 sec >> >> >> Dean >> >> >> >> >> >> Hi Dean, >>> >>> I fixed the following tests: >>> 38 - ctkVTKConnectionTest1 (Failed) >>> 41 - ctkTransferFunctionViewTest1 (SEGFAULT) >>> 42 - ctkTransferFunctionViewTest2 (SEGFAULT) >>> 43 - ctkTransferFunctionViewTest3 (SEGFAULT) >>> 44 - ctkTransferFunctionViewTest4 (SEGFAULT) >>> >>> Many thanks for reporting them. >>> Julien. >>> On Thu, Sep 16, 2010 at 2:56 PM, Julien Finet >> >wrote: >>> >>> Hi Dean, >>>> >>>> it seems that you're right. Your suggested change is valid. Do you want >>>> to >>>> commit a patch? I'll give a look at the other (SEGFAULT) tests. >>>> Concerning MinGW, the cross platform support is a very good point, >>>> unfortunately it seems that thanks to the Express edition (free) of >>>> Visual >>>> Studio C++, people (including me) tend to start using Visual Studio >>>> more >>>> than MinGW... Visual Studio 2008 is pretty well supported with ITK, >>>> VTK, >>>> DCMTK, CTK... (personally I would wait a bit before using Visual Studio >>>> 2010 >>>> with these tools). However, we are really happy to have MinGW users >>>> with >>>> CTK, it is important to us to be cross-platform and cross-compiler (at >>>> least >>>> for the popular ones). >>>> >>>> Thanks, >>>> Julien. >>>> On Thu, Sep 16, 2010 at 2:34 PM, Dean Inglis >>> >wrote: >>>> >>>> Hi Jc, Julien >>>>> >>>>> Im building shared release. See attached output of ctest -VV > >>>>> log.txt >>>>> I have already set my path to include the binary bin dir where all vtk >>>>> libs/dlls >>>>> are: not all ctk vtk tests are failing. I have built vtk with >>>>> DEBUG_LEAKS >>>>> on >>>>> and there is one test that pops up a vtk window on termination: >>>>> ctkVTKChartViewTest1, which I think is due to the way the >>>>> ctkVTKChartView is instantiated in the test without a final delete: >>>>> ctkVTKChartView* view = new ctkVTKChartView(0); >>>>> >>>>> can there be instead >>>>> ctkVTKChartView view(0); >>>>> >>>>> With regard to DCMTK and MinGW support, I chose MinGW since it >>>>> seems to be one of the more most cross-toolkit build friendly compiler >>>>> tools for Windows. Is there a recommended Windows compiler that will >>>>> compile >>>>> all of VTK, Qt, DCMTK, CTK ? >>>>> >>>>> >>>>> Dean >>>>> >>>>> >>>>> ----- Original Message ----- From: "Jean-Christophe Fillion-Robin" < >>>>> jchris.fillionr at kitware.com> >>>>> To: "Julien Finet" >>>>> Cc: "Dean Inglis" ; >>>>> >>>> > >>>>> Sent: Thursday, September 16, 2010 5:00 AM >>>>> >>>>> Subject: Re: [Ctk-developers] CTKWidgets compile errors >>>>> >>>>> >>>>> Hi Dean, >>>>> >>>>>> >>>>>> Are you building in debug or release? >>>>>> >>>>>> Test ctkVTKConnectionTest1 should now be fixed . See >>>>>> >>>>>> >>>>>> http://github.com/commontk/CTK/commit/e5c275e115d85b1d308338f1591135622eaf73a3 >>>>>> >>>>>> Regarding ctkCommandLineParserTest1, would it be possible to run >>>>>> CTest >>>>>> with >>>>>> -V option and send the output. >>>>>> >>>>>> Thks >>>>>> Jc >>>>>> >>>>>> On Thu, Sep 16, 2010 at 4:27 AM, Julien Finet < >>>>>> julien.finet at kitware.com >>>>>> >wrote: >>>>>> >>>>>> Dean, >>>>>> >>>>>>> >>>>>>> your failing tests come from the fact that ctest can't find the VTK >>>>>>> libraries ( you would need to set the bin path of VTK into your PATH >>>>>>> env >>>>>>> variable until we have a CTK launcher (to automatically set >>>>>>> environment >>>>>>> variables before calling the tests) >>>>>>> >>>>>>> Concerning the errors, they come from DCMTK but DCMTK doesn't >>>>>>> officially >>>>>>> support MinGW. However we have a local copy of DCMTK so I guess we >>>>>>> can >>>>>>> add >>>>>>> more patches to it. >>>>>>> >>>>>>> Julien. >>>>>>> On Thu, Sep 16, 2010 at 1:43 AM, Dean Inglis >>>>>> >wrote: >>>>>>> >>>>>>> Hi Jc, >>>>>>> >>>>>>>> >>>>>>>> compile problems fixed. FYI, I ran ctest in my CTK-build dir and >>>>>>>> the following tests are failing: >>>>>>>> 89% tests passed, 6 tests failed out of 53 >>>>>>>> Label Time Summary: >>>>>>>> CTKCore = 11.09 sec >>>>>>>> CTKPluginFramework = 0.17 sec >>>>>>>> CTKVisualizationVTKCore = 8.40 sec >>>>>>>> CTKVisualizationVTKWidgets = 51.38 sec >>>>>>>> CTKWidgets = 51.37 sec >>>>>>>> >>>>>>>> Total Test time (real) = 123.07 sec >>>>>>>> >>>>>>>> The following tests FAILED: >>>>>>>> 1 - ctkCommandLineParserTest1 (Failed) >>>>>>>> 38 - ctkVTKConnectionTest1 (Failed) >>>>>>>> 41 - ctkTransferFunctionViewTest1 (SEGFAULT) >>>>>>>> 42 - ctkTransferFunctionViewTest2 (SEGFAULT) >>>>>>>> 43 - ctkTransferFunctionViewTest3 (SEGFAULT) >>>>>>>> 44 - ctkTransferFunctionViewTest4 (SEGFAULT) >>>>>>>> >>>>>>>> Also, I turned on >>>>>>>> //Enable DICOM/Core Library. >>>>>>>> CTK_LIB_DICOM/Core:BOOL=ON >>>>>>>> to see if I can build more of ctk but encounter the following >>>>>>>> errors: >>>>>>>> >>>>>>>> [ 42%] No build step for 'DCMTK' >>>>>>>> [ 42%] Performing install step for 'DCMTK' >>>>>>>> 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 >>>>>>>> >>>>>>>> >>>>>>>> Ive read in a few posts that the multiple types in one declaration >>>>>>>> error >>>>>>>> can be caused by a missing >>>>>>>> semicolon at the end of a class definition or a missing closing >>>>>>>> brace >>>>>>>> in a >>>>>>>> class definition. >>>>>>>> >>>>>>>> Dean >>>>>>>> >>>>>>>> ----- Original Message ----- From: "Jean-Christophe Fillion-Robin" >>>>>>>> < >>>>>>>> jchris.fillionr at kitware.com> >>>>>>>> To: "Julien Finet" >>>>>>>> Cc: >>>>>>>> Sent: Wednesday, September 15, 2010 6:55 PM >>>>>>>> Subject: Re: [Ctk-developers] CTKWidgets compile errors >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Hi Dean, >>>>>>>> >>>>>>>> >>>>>>>>> The following commits: >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> http://github.com/commontk/CTK/compare/bab18744b88d3166d37b...059542769bb1851fd6ed >>>>>>>>> .. should fix the problem. >>>>>>>>> >>>>>>>>> Let me know if you have any other issues. >>>>>>>>> >>>>>>>>> Thks >>>>>>>>> Jc >>>>>>>>> >>>>>>>>> On Wed, Sep 15, 2010 at 6:28 PM, Julien Finet < >>>>>>>>> julien.finet at kitware.com >>>>>>>>> >wrote: >>>>>>>>> >>>>>>>>> Sorry about that... we're still working on these... we'll let you >>>>>>>>> know >>>>>>>>> >>>>>>>>> when >>>>>>>>>> you can update your CTK dir. >>>>>>>>>> Thanks for your patience, >>>>>>>>>> Julien. >>>>>>>>>> On Wed, Sep 15, 2010 at 11:09 PM, Wagner Sales >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>> Hi, >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>> I'm experiencing this errors with Qt 4.7.0 ( release >>>>>>>>>>> candidate ). >>>>>>>>>>> >>>>>>>>>>> Wagner Sales >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> 2010/9/15 Dean Inglis : >>>>>>>>>>> > Hello, >>>>>>>>>>> > >>>>>>>>>>> > some recent changes to the ctk source result in the following >>>>>>>>>>> > > >>>>>>>>>>> errors >>>>>>>>>>> > on >>>>>>>>>>> > Win32 Vista >>>>>>>>>>> > MinGW (Qt SDK 4.6.3) which might not show on my experimental >>>>>>>>>>> dashboard >>>>>>>>>>> > (hyoid) >>>>>>>>>>> > submission since it is failing to compile/configure/test >>>>>>>>>>> QtMobility > > >>>>>>>>>>> (as >>>>>>>>>>> > mentioned in prev >>>>>>>>>>> > message threads). >>>>>>>>>>> > >>>>>>>>>>> > hth, >>>>>>>>>>> > Dean >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> >>>>>>>>>>> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp: >>>>>>>>>>> > In >>>>>>>>>>> > member >>>>>>>>>>> > function 'void >>>>>>>>>>> > >>>>>>>>>>> ctkWorkflowButtonBoxWidgetPrivate::updateBackButton(ctkWorkflowSt >>>>>>>>>>> > ep*)': >>>>>>>>>>> > >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp:114: >>>>>>>>>>> > warnin >>>>>>>>>>> > g: unused variable 'q' [-Wunused-variable] >>>>>>>>>>> > >>>>>>>>>>> >>>>>>>>>>> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp: >>>>>>>>>>> > In >>>>>>>>>>> > member >>>>>>>>>>> > function 'void >>>>>>>>>>> > >>>>>>>>>>> ctkWorkflowButtonBoxWidgetPrivate::updateNextButton(ctkWorkflowSt >>>>>>>>>>> > ep*)': >>>>>>>>>>> > >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> D:\Developer\Sources\CTK\Libs\Widgets\ctkWorkflowButtonBoxWidget.cpp:156: >>>>>>>>>>> > warnin >>>>>>>>>>> > g: unused variable 'q' [-Wunused-variable] >>>>>>>>>>> > [ 31%] Building CXX object >>>>>>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowGro >>>>>>>>>>> > upBox.cpp.obj >>>>>>>>>>> > [ 32%] Building CXX object >>>>>>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowSta >>>>>>>>>>> > ckedWidget.cpp.obj >>>>>>>>>>> > [ 32%] Building CXX object >>>>>>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowTab >>>>>>>>>>> > Widget.cpp.obj >>>>>>>>>>> > [ 32%] Building CXX object >>>>>>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowWid >>>>>>>>>>> > get.cpp.obj >>>>>>>>>>> > [ 32%] Building CXX object >>>>>>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/ctkWorkflowWid >>>>>>>>>>> > getStep.cpp.obj >>>>>>>>>>> > [ 32%] Building CXX object >>>>>>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkWorkflo >>>>>>>>>>> > wAbstractWidgetStep_p.cxx.obj >>>>>>>>>>> > [ 33%] Building CXX object >>>>>>>>>>> > Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkActions >>>>>>>>>>> > Widget.cxx.obj >>>>>>>>>>> > In file included from > >>>>>>>>>>> C:\Qt\qt\include/QtCore/qscopedpointer.h:1, >>>>>>>>>>> > from >>>>>>>>>>> > C:\Qt\qt\include/QtCore/../../src/corelib/kernel/qobject.h >>>>>>>>>>> > :54, >>>>>>>>>>> > from C:\Qt\qt\include/QtCore/qobject.h:1, >>>>>>>>>>> > from >>>>>>>>>>> > C:\Qt\qt\include/QtGui/../../src/gui/itemviews/qabstractit >>>>>>>>>>> > emdelegate.h:45, >>>>>>>>>>> > from > >>>>>>>>>>> C:\Qt\qt\include/QtGui/qabstractitemdelegate.h:1, >>>>>>>>>>> > from >>>>>>>>>>> > C:\Qt\qt\include\QtGui/../../src/gui/itemviews/qstyleditem >>>>>>>>>>> > delegate.h:45, >>>>>>>>>>> > from >>>>>>>>>>> C:\Qt\qt\include\QtGui/qstyleditemdelegate.h:1, >>>>>>>>>>> > from > >>>>>>>>>>> C:\Qt\qt\include\QtGui/QStyledItemDelegate:1, >>>>>>>>>>> > from >>>>>>>>>>> > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widg >>>>>>>>>>> > >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> ets\/../../../../../../../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:25, >>>>>>>>>>> > from >>>>>>>>>>> > D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widg >>>>>>>>>>> > ets\moc_ctkActionsWidget.cxx:10: >>>>>>>>>>> > >>>>>>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h: >>>>>>>>>>> > In >>>>>>>>>>> static >>>>>>>>>>> > memb >>>>>>>>>>> > er function 'static void QScopedPointerDeleter::cleanup(T*) >>>>>>>>>>> > > >>>>>>>>>>> [with >>>>>>>>>>> T > = >>>>>>>>>>> > ctkSort >>>>>>>>>>> > FilterActionsProxyModelPrivate]': >>>>>>>>>>> > >>>>>>>>>>> >>>>>>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:100: >>>>>>>>>>> > instanti >>>>>>>>>>> > ated from 'QScopedPointer::~QScopedPointer() [with >>>>>>>>>>> > T >>>>>>>>>>> > = >>>>>>>>>>> > ctkSortFilter >>>>>>>>>>> > ActionsProxyModelPrivate, Cleanup = >>>>>>>>>>> > QScopedPointerDeleter>>>>>>>>>> > oxyModelPrivate>]' >>>>>>>>>>> > >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widgets\/../../../../../.. >>>>>>>>>>> > /../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:106: >>>>>>>>>>> instantiated > > >>>>>>>>>>> from >>>>>>>>>>> > here >>>>>>>>>>> > >>>>>>>>>>> >>>>>>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:59: >>>>>>>>>>> error: >>>>>>>>>>> > inva >>>>>>>>>>> > lid application of 'sizeof' to incomplete type >>>>>>>>>>> > 'ctkSortFilterActionsProxyModelPr >>>>>>>>>>> > ivate' >>>>>>>>>>> > >>>>>>>>>>> >>>>>>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:59: >>>>>>>>>>> error: >>>>>>>>>>> > crea >>>>>>>>>>> > ting array with negative size ('-0x000000001') >>>>>>>>>>> > >>>>>>>>>>> >>>>>>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:62: >>>>>>>>>>> > warning: po >>>>>>>>>>> > ssible problem detected in invocation of delete operator: >>>>>>>>>>> > >>>>>>>>>>> >>>>>>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:54: >>>>>>>>>>> > warning: 'p >>>>>>>>>>> > ointer' has incomplete type >>>>>>>>>>> > >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> D:\Developer\Releases\MinGW\SHARED\ctk\CTK-build\Libs\Widgets\/../../../../../.. >>>>>>>>>>> > /../Sources/CTK/Libs/Widgets/ctkActionsWidget.h:33: warning: > >>>>>>>>>>> forward >>>>>>>>>>> > declaration >>>>>>>>>>> > of 'struct ctkSortFilterActionsProxyModelPrivate' >>>>>>>>>>> > >>>>>>>>>>> >>>>>>>>>>> C:\Qt\qt\include/QtCore/../../src/corelib/tools/qscopedpointer.h:62: >>>>>>>>>>> note: >>>>>>>>>>> > neith >>>>>>>>>>> > er the destructor nor the class-specific operator delete will >>>>>>>>>>> > be >>>>>>>>>>> > > >>>>>>>>>>> called, >>>>>>>>>>> > even if >>>>>>>>>>> > they are declared when the class is defined. >>>>>>>>>>> > mingw32-make[5]: *** >>>>>>>>>>> > [Libs/Widgets/CMakeFiles/CTKWidgets.dir/moc_ctkActionsWidge >>>>>>>>>>> > t.cxx.obj] Error 1 >>>>>>>>>>> > mingw32-make[4]: *** > >>>>>>>>>>> [Libs/Widgets/CMakeFiles/CTKWidgets.dir/all] >>>>>>>>>>> > >>>>>>>>>>> Error >>>>>>>>>>> 2 >>>>>>>>>>> > mingw32-make[3]: *** [all] Error 2 >>>>>>>>>>> > mingw32-make[2]: *** > >>>>>>>>>>> [CMakeExternals/Stamp/CTK-build/CTK-build-build] >>>>>>>>>>> Error >>>>>>>>>>> > 2 >>>>>>>>>>> > mingw32-make[1]: *** [CMakeFiles/CTK-build.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 >>>>>>>>>>> > >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> Ctk-developers mailing list >>>>>>>>>>> Ctk-developers at commontk.org >>>>>>>>>>> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>> 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 >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> -------------------------------------------------------------------------------- >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> >>>>>>>> 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 >>>>>> >>>>>> >>>>>> >>>> >>> >> > > > -- > Phone: 1-518-836-2174 > Ext: 304 > From s.zelzer at dkfz-heidelberg.de Mon Sep 20 09:18:06 2010 From: s.zelzer at dkfz-heidelberg.de (Sascha Zelzer) Date: Mon, 20 Sep 2010 11:18:06 +0200 Subject: [Ctk-developers] Renaming actions in branch "dah" Message-ID: <4C9726CE.5030503@dkfz-heidelberg.de> Hi, as discussed last week, I renamed the org.commontk.dicom.wg23.* plugins in the "dah" branch to org.commontk.dah.* . I also did some code cleanup and other minor renamings for the sake of consistency. So people working on this branch might want to merge in the changes (or rebase your local branch if possible) from commontk ASAP to minimize later merge conflicts. Thanks, Sascha From pieper at bwh.harvard.edu Mon Sep 20 15:44:36 2010 From: pieper at bwh.harvard.edu (Steve Pieper) Date: Mon, 20 Sep 2010 11:44:36 -0400 Subject: [Ctk-developers] Barcelona hackfest progress Message-ID: <4C978164.7010905@bwh.harvard.edu> A lot of excellent progress was made in Barcelona last week on several important fronts. A few highlights: - a working prototype of the dicom application hosting system! - a working dicom query/retrieve client and server! - an eventbus from MAF moved to CTK! - modules from various tools plugged into other tools! (e.g. GIMIAS running command line modules from slicer!) Read the wiki and follow the links for more details: http://www.commontk.org/index.php/CTK-Hackfest-September-2010#Progress_Reports_and_Updates Thanks to all for the hard work and special thanks to our UPF hosts! Best regards from the organizing committee, -Ivo, Stephen, and Steve From gianluca.paladini at siemens.com Mon Sep 20 21:13:20 2010 From: gianluca.paladini at siemens.com (Paladini, Gianluca (SCR US )) Date: Mon, 20 Sep 2010 14:13:20 -0700 Subject: [Ctk-developers] Barcelona hackfest progress In-Reply-To: <4C978164.7010905@bwh.harvard.edu> References: <4C978164.7010905@bwh.harvard.edu> Message-ID: <849860E57EBCC34C9E28B6E59A046CC70C63218C@USNWK100MSX.ww017.siemens.net> Hello all, I was happy to see that CTK work on Application Hosting support has started already in Barcelona! A quick question - did you use the older SOAP classes as described here: http://qt.nokia.com/products/appdev/add-on-products/catalog/4/Utilities/ qtsoap/ or did you use the more recent web Service Framework currently being developed for Qt Mobility, as described here: http://doc.qt.nokia.com/qtmobility-1.0-beta/service-frameworks.html I think the latter one is going to be a lot easier to use ;-) Cheers, Gianluca -----Original Message----- From: ctk-developers-bounces at commontk.org [mailto:ctk-developers-bounces at commontk.org] On Behalf Of Steve Pieper Sent: Monday, September 20, 2010 11:45 AM To: ctk-developers at commontk.org Subject: [Ctk-developers] Barcelona hackfest progress A lot of excellent progress was made in Barcelona last week on several important fronts. A few highlights: - a working prototype of the dicom application hosting system! - a working dicom query/retrieve client and server! - an eventbus from MAF moved to CTK! - modules from various tools plugged into other tools! (e.g. GIMIAS running command line modules from slicer!) Read the wiki and follow the links for more details: http://www.commontk.org/index.php/CTK-Hackfest-September-2010#Progress_R eports_and_Updates Thanks to all for the hard work and special thanks to our UPF hosts! Best regards from the organizing committee, -Ivo, Stephen, and Steve _______________________________________________ Ctk-developers mailing list Ctk-developers at commontk.org http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers From s.zelzer at dkfz-heidelberg.de Tue Sep 21 09:26:59 2010 From: s.zelzer at dkfz-heidelberg.de (Sascha Zelzer) Date: Tue, 21 Sep 2010 11:26:59 +0200 Subject: [Ctk-developers] Barcelona hackfest progress In-Reply-To: <849860E57EBCC34C9E28B6E59A046CC70C63218C@USNWK100MSX.ww017.siemens.net> References: <4C978164.7010905@bwh.harvard.edu> <849860E57EBCC34C9E28B6E59A046CC70C63218C@USNWK100MSX.ww017.siemens.net> Message-ID: <4C987A63.8070003@dkfz-heidelberg.de> Hi, thanks for pointing out the Qt Service Framework. However, it is not related to Web Services. It provides means to realize a service oriented architecture on one machine (not distributed), where service means having an interface class and multiple implementations against it. The CTK Plugin Framework already uses the QtMobility Service Framework to provide support for "declarative services". In QtMobilitiy 1.0 all services and service users have to run in the same process. In Qt Mobility 1.1 there will be support for out-of-process services. However, backends for the IPC communication will only be available for mobile platforms, see http://doc.qt.nokia.com/qtmobility-1.1-tp/ . When 1.1 is released, we could think about writing a SOAP backend, which would probably mean that we have to write similar code as we had to do with QtSOAP (providing a TCP server which deserializes incoming soap messages into Qt datatypes and vice versa). Best, Sascha On 09/20/2010 11:13 PM, Paladini, Gianluca (SCR US ) wrote: > Hello all, > I was happy to see that CTK work on Application Hosting support has > started already in Barcelona! > > A quick question - did you use the older SOAP classes as described here: > http://qt.nokia.com/products/appdev/add-on-products/catalog/4/Utilities/ > qtsoap/ > > or did you use the more recent web Service Framework currently being > developed for Qt Mobility, as described here: > http://doc.qt.nokia.com/qtmobility-1.0-beta/service-frameworks.html > > I think the latter one is going to be a lot easier to use ;-) > Cheers, > Gianluca > > -----Original Message----- > From: ctk-developers-bounces at commontk.org > [mailto:ctk-developers-bounces at commontk.org] On Behalf Of Steve Pieper > Sent: Monday, September 20, 2010 11:45 AM > To: ctk-developers at commontk.org > Subject: [Ctk-developers] Barcelona hackfest progress > > A lot of excellent progress was made in Barcelona last week on several > important fronts. A few highlights: > > - a working prototype of the dicom application hosting system! > - a working dicom query/retrieve client and server! > - an eventbus from MAF moved to CTK! > - modules from various tools plugged into other tools! (e.g. GIMIAS > running command line modules from slicer!) > > Read the wiki and follow the links for more details: > > http://www.commontk.org/index.php/CTK-Hackfest-September-2010#Progress_R > eports_and_Updates > > Thanks to all for the hard work and special thanks to our UPF hosts! > > Best regards from the organizing committee, > -Ivo, Stephen, and Steve > _______________________________________________ > Ctk-developers mailing list > Ctk-developers at commontk.org > http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers > _______________________________________________ > Ctk-developers mailing list > Ctk-developers at commontk.org > http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers >