From dicom at offis.de Mon Nov 1 08:17:19 2010 From: dicom at offis.de (OFFIS DICOM Team) Date: Mon, 01 Nov 2010 09:17:19 +0100 Subject: [Ctk-developers] mingw compiles dcmtk.git In-Reply-To: References: <201010222038.50278.dicom@offis.de> <22F7ECC89CE94D679B63335498288F51@Hyoid> <201010231401.14600.dicom@offis.de> <16F7FCBFC0874EB9BE289E75D233215C@Hyoid> <4CC563A8.2000507@offis.de><587FCAA169584742B84BCD71AC15EC9E@Hyoid> <4CC57CD9.8090404@offis.de> <1762848550A84FF4935A843C34E27F78@Hyoid> <4CC58981.8030900@dkfz-heidelberg.de> <81AF149475264B54860EAB098536B5FF@Hyoid> <4CC5ACC9.9050907@dkfz-heidelberg.de> <4CC66C61.70003@dkfz-heidelberg.de> Message-ID: <4CCE778F.7010304@offis.de> Dean, > However, the latest dcmtk I am using from offis's git repository no > longer uses "Patients" but uses "Patient" in the defined dcm tags in > dcdeftag.h . yes, we changed the attributes names some time ago in order to be consistent with the recently introduced, official "keywords" from the DICOM data dictionary (part 6 of the standard). This is a one time change only. The changes are documented in our Wiki: http://support.dcmtk.org/wiki/dcmtk/notes/datadictionary2009 Also see the corresponding CHANGES entry: === CUT === **** Changes from 2010.08.09 (riesmeier) - Updated data dictionary to 2009 edition of the DICOM standard. From now on, the official "keyword" is used for the attribute name which results in a number of minor changes (e.g. "PatientsName" is now called "PatientName"). NB: Both users and developers should be aware of these changes and modify there scripts and/or source code accordingly. === CUT === > which is due to dcmtk.git redefining the signature of closeAssociation: Right, since the SCU and SCP classes are still pretty new (they are in fact marked as "experimental) and also part of a development snapshot (i.e. work in progress), we've changed some interface methods without providing 100% backward compatibility to previous snapshot versions. > So it appears that there are too many differences between dcmtk.git and > that used in ctk to make a go of getting DICOM working in CTK with > MinGW. Can the dcmtk repository currently associated with CTK be adapted > for MinGW until Offis dcmtk.git is aligned with ctk.git? You and all the other CTK developers might be interested in the fact that we are currently working towards a new DCMTK release (version 3.6.0), which will hopefully be available around the end of this year: http://support.dcmtk.org/wiki/dcmtk/notes/releaseplan360 Regards, J?rg Riesmeier -- OFFIS DICOM Team, Escherweg 2, 26121 Oldenburg, Germany E-Mail: dicom at offis.de, URL: http://dicom.offis.de From imran.pirwani at eigen.com Mon Nov 1 17:49:11 2010 From: imran.pirwani at eigen.com (imran.pirwani at eigen.com) Date: Mon, 01 Nov 2010 10:49:11 -0700 Subject: [Ctk-developers] Building CTK Message-ID: <20101101104911.73oygll0ggowso8c@webmail.eigen.com> Hi, I just downloaded CTK using git...I followed the directions at: http://www.commontk.org/index.php/Build_Instructions except that instead of "ccmake ../CTK", I type in "cmake ../CTK". It generates two files "DGraphInput-alldep.txt" and "DGraphInput-alldep-withext.txt". Then, it chokes and reports back: "Failed to obtain dependence path of CTKCore." Hmmmm....anybody know what might be wrong here? Thanks! -Imran. From jchris.fillionr at kitware.com Mon Nov 1 18:09:25 2010 From: jchris.fillionr at kitware.com (Jean-Christophe Fillion-Robin) Date: Mon, 1 Nov 2010 14:09:25 -0400 Subject: [Ctk-developers] Building CTK In-Reply-To: <20101101104911.73oygll0ggowso8c@webmail.eigen.com> References: <20101101104911.73oygll0ggowso8c@webmail.eigen.com> Message-ID: Hi Imran, Thanks for trying out CTK. Which platform are you trying to build on? Doing the following works for me: cd Projects/sandbox git clone http://github.com/commontk/CTK.git mkdir CTK-test-build cd CTK-test-build cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=/home/jchris/Projects/qtsdk-2010.05/qt/bin/qmake ../CTK make -j5 Does the path where CTK has been checked out contains spaces ? Thks Jc On Mon, Nov 1, 2010 at 1:49 PM, wrote: > Hi, > > I just downloaded CTK using git...I followed the directions at: > http://www.commontk.org/index.php/Build_Instructions except that instead > of "ccmake ../CTK", I type in "cmake ../CTK". It generates two files > "DGraphInput-alldep.txt" and "DGraphInput-alldep-withext.txt". Then, it > chokes and reports back: "Failed to obtain dependence path of CTKCore." > Hmmmm....anybody know what might be wrong here? > > Thanks! > > -Imran. > > _______________________________________________ > 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 jchris.fillionr at kitware.com Mon Nov 1 18:58:29 2010 From: jchris.fillionr at kitware.com (Jean-Christophe Fillion-Robin) Date: Mon, 1 Nov 2010 14:58:29 -0400 Subject: [Ctk-developers] Building CTK In-Reply-To: <20101101113850.bzzj9tkqo0c4w08o@webmail.eigen.com> References: <20101101104911.73oygll0ggowso8c@webmail.eigen.com> <20101101113850.bzzj9tkqo0c4w08o@webmail.eigen.com> Message-ID: Could you also includes the following files: DGraphInput-alldep.txt DGraphInput-alldep-withext.txt This files are passed to DGraph executable to compute the dependency graph of CTK and find out which external project should be downloaded and configured. See http://github.com/commontk/CTK/tree/master/Utilities/DGraph/ Also re-adding ctk-developers at commontk.org as a recipient so that our investigations benefit the community :) Thks Jc On Mon, Nov 1, 2010 at 2:38 PM, wrote: > Hi Jean-Christophe, > > Thanks for the quick response. I'm on a Win32 machine running CMake 2.8 > with QT 4.6.3 installed. I'm attaching two bitmap files that capture what > I've done and the subsequent error. I hope that this gives a better insight > into the issue that I"m having... > > -Imran. > > > > > Quoting Jean-Christophe Fillion-Robin : > > Hi Imran, >> >> Thanks for trying out CTK. >> >> Which platform are you trying to build on? >> >> Doing the following works for me: >> cd Projects/sandbox >> git clone http://github.com/commontk/CTK.git >> mkdir CTK-test-build >> cd CTK-test-build >> cmake >> >> -DQT_QMAKE_EXECUTABLE:FILEPATH=/home/jchris/Projects/qtsdk-2010.05/qt/bin/qmake >> ../CTK >> make -j5 >> >> Does the path where CTK has been checked out contains spaces ? >> >> Thks >> Jc >> >> >> On Mon, Nov 1, 2010 at 1:49 PM, wrote: >> >> Hi, >>> >>> I just downloaded CTK using git...I followed the directions at: >>> http://www.commontk.org/index.php/Build_Instructions except that instead >>> of "ccmake ../CTK", I type in "cmake ../CTK". It generates two files >>> "DGraphInput-alldep.txt" and "DGraphInput-alldep-withext.txt". Then, it >>> chokes and reports back: "Failed to obtain dependence path of CTKCore." >>> Hmmmm....anybody know what might be wrong here? >>> >>> Thanks! >>> >>> -Imran. >>> >>> _______________________________________________ >>> 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 imran.pirwani at eigen.com Mon Nov 1 20:29:25 2010 From: imran.pirwani at eigen.com (imran.pirwani at eigen.com) Date: Mon, 01 Nov 2010 13:29:25 -0700 Subject: [Ctk-developers] Building CTK In-Reply-To: References: <20101101104911.73oygll0ggowso8c@webmail.eigen.com> <20101101113850.bzzj9tkqo0c4w08o@webmail.eigen.com> Message-ID: <20101101132925.9wlpmub980sc0gcw@webmail.eigen.com> Sure thing! I'm attaching the two files that you asked for to this email... Thanks! -Imran. Quoting Jean-Christophe Fillion-Robin : > Could you also includes the following files: > DGraphInput-alldep.txt > DGraphInput-alldep-withext.txt > > This files are passed to DGraph executable to compute the dependency graph > of CTK and find out which external project should be downloaded and > configured. See http://github.com/commontk/CTK/tree/master/Utilities/DGraph/ > > Also re-adding ctk-developers at commontk.org as a recipient so that our > investigations benefit the community :) > > Thks > Jc > > On Mon, Nov 1, 2010 at 2:38 PM, wrote: > >> Hi Jean-Christophe, >> >> Thanks for the quick response. I'm on a Win32 machine running CMake 2.8 >> with QT 4.6.3 installed. I'm attaching two bitmap files that capture what >> I've done and the subsequent error. I hope that this gives a better insight >> into the issue that I"m having... >> >> -Imran. >> >> >> >> >> Quoting Jean-Christophe Fillion-Robin : >> >> Hi Imran, >>> >>> Thanks for trying out CTK. >>> >>> Which platform are you trying to build on? >>> >>> Doing the following works for me: >>> cd Projects/sandbox >>> git clone http://github.com/commontk/CTK.git >>> mkdir CTK-test-build >>> cd CTK-test-build >>> cmake >>> >>> -DQT_QMAKE_EXECUTABLE:FILEPATH=/home/jchris/Projects/qtsdk-2010.05/qt/bin/qmake >>> ../CTK >>> make -j5 >>> >>> Does the path where CTK has been checked out contains spaces ? >>> >>> Thks >>> Jc >>> >>> >>> On Mon, Nov 1, 2010 at 1:49 PM, wrote: >>> >>> Hi, >>>> >>>> I just downloaded CTK using git...I followed the directions at: >>>> http://www.commontk.org/index.php/Build_Instructions except that instead >>>> of "ccmake ../CTK", I type in "cmake ../CTK". It generates two files >>>> "DGraphInput-alldep.txt" and "DGraphInput-alldep-withext.txt". Then, it >>>> chokes and reports back: "Failed to obtain dependence path of CTKCore." >>>> Hmmmm....anybody know what might be wrong here? >>>> >>>> Thanks! >>>> >>>> -Imran. >>>> >>>> _______________________________________________ >>>> 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 -------------- 30 33 CTKWidgets CTKCore CTKDICOMCore CTKCore CTKDICOMWidgets CTKDICOMCore CTKDICOMWidgets CTKWidgets CTKMessagingCore CTKCore CTKScriptingPythonCore CTKCore CTKScriptingPythonWidgets CTKWidgets CTKScriptingPythonWidgets CTKScriptingPythonCore CTKVisualizationVTKCore CTKCore CTKVisualizationVTKWidgets CTKWidgets CTKVisualizationVTKWidgets CTKVisualizationVTKCore org_commontk_eventbus CTKPluginFramework org_commontk_cli CTKPluginFramework org_commontk_dah_app org_commontk_dah_core org_commontk_dah_core CTKPluginFramework org_commontk_dah_exampleapp org_commontk_dah_app org_commontk_dah_examplehost org_commontk_dah_host org_commontk_dah_host org_commontk_dah_core org_commontk_plugingenerator_core CTKPluginFramework org_commontk_plugingenerator_ui CTKWidgets org_commontk_plugingenerator_ui org_commontk_plugingenerator_core ctkCLIPluginExplorer CTKPluginFramework ctkDICOM CTKDICOMWidgets ctkDICOMIndexer CTKDICOMCore ctkDICOMDemoSCU CTKDICOMCore ctkDICOMQuery CTKDICOMCore ctkDICOMRetrieve CTKDICOMCore ctkExampleHost org_commontk_dah_examplehost ctkExampleHostedApp org_commontk_dah_app ctkPluginBrowser CTKPluginFramework ctkPluginGenerator CTKPluginFramework ctkPluginGenerator org_commontk_plugingenerator_ui ctkSimplePythonShell CTKScriptingPythonWidgets -------------- next part -------------- 40 46 CTKCore Log4Qt_LIBRARIES CTKCore QT_LIBRARIES CTKCore BFD_LIBRARIES CTKPluginFramework QT_LIBRARIES CTKPluginFramework QTMOBILITY_QTSERVICEFW_LIBRARIES CTKWidgets CTKCore CTKDICOMCore CTKCore CTKDICOMCore DCMTK_LIBRARIES CTKDICOMWidgets CTKDICOMCore CTKDICOMWidgets CTKWidgets CTKMessagingCore ZMQ_LIBRARIES CTKMessagingCore CTKCore CTKScriptingPythonCore PYTHON_LIBRARIES CTKScriptingPythonCore PYTHONQT_LIBRARIES CTKScriptingPythonCore CTKCore CTKScriptingPythonWidgets CTKWidgets CTKScriptingPythonWidgets CTKScriptingPythonCore CTKVisualizationVTKCore VTK_LIBRARIES CTKVisualizationVTKCore CTKCore CTKVisualizationVTKWidgets VTK_LIBRARIES CTKVisualizationVTKWidgets CTKWidgets CTKVisualizationVTKWidgets CTKVisualizationVTKCore org_commontk_eventbus CTKPluginFramework org_commontk_cli CTKPluginFramework org_commontk_dah_app org_commontk_dah_core org_commontk_dah_core CTKPluginFramework org_commontk_dah_core QT_LIBRARIES org_commontk_dah_core QTSOAP_LIBRARY org_commontk_dah_exampleapp org_commontk_dah_app org_commontk_dah_examplehost org_commontk_dah_host org_commontk_dah_host org_commontk_dah_core org_commontk_plugingenerator_core CTKPluginFramework org_commontk_plugingenerator_ui CTKWidgets org_commontk_plugingenerator_ui org_commontk_plugingenerator_core ctkCLIPluginExplorer CTKPluginFramework ctkDICOM CTKDICOMWidgets ctkDICOMIndexer CTKDICOMCore ctkDICOMDemoSCU CTKDICOMCore ctkDICOMQuery CTKDICOMCore ctkDICOMRetrieve CTKDICOMCore ctkExampleHost org_commontk_dah_examplehost ctkExampleHostedApp org_commontk_dah_app ctkPluginBrowser CTKPluginFramework ctkPluginGenerator CTKPluginFramework ctkPluginGenerator org_commontk_plugingenerator_ui ctkSimplePythonShell CTKScriptingPythonWidgets From dean.inglis at camris.ca Fri Nov 5 15:45:59 2010 From: dean.inglis at camris.ca (Dean Inglis) Date: Fri, 5 Nov 2010 11:45:59 -0400 Subject: [Ctk-developers] unsupported protocol error In-Reply-To: <4CC58981.8030900@dkfz-heidelberg.de> References: <201010222038.50278.dicom@offis.de> <22F7ECC89CE94D679B63335498288F51@Hyoid> <201010231401.14600.dicom@offis.de> <16F7FCBFC0874EB9BE289E75D233215C@Hyoid> <4CC563A8.2000507@offis.de><587FCAA169584742B84BCD71AC15EC9E@Hyoid> <4CC57CD9.8090404@offis.de> <1762848550A84FF4935A843C34E27F78@Hyoid> <4CC58981.8030900@dkfz-heidelberg.de> Message-ID: Hi, Ive been trying to submit a daily experimental and ran into the following unsupported protocol error: D:\Developer\Dashboards\Scripts>ctest -S ctk.cmake -VV * Extra verbosity turned on Reading Script: D:/Developer/Dashboards/Scripts/ctk.cmake site name: hyoid.Teneos build name: Win32.Vista-g++4.4.0-QT4.6.3-Release script mode: experimental CMake Error at ctk.cmake:127 (MESSAGE): error: Failed to download http://github.com/commontk/CTK/raw/master/CMake/ctkDashboardDriverScript.cmake - "unsupported protocol" Call Stack (most recent call first): ctk.cmake:136 (downloadFile) Error in read script: D:/Developer/Dashboards/Scripts/ctk.cmake Any ideas what might be causing this/how to fix? Has the url changed? My script has: # # Convenient macro allowing to download a file # MACRO(downloadFile url dest) FILE(DOWNLOAD ${url} ${dest} STATUS status) LIST(GET status 0 error_code) LIST(GET status 1 error_msg) IF(error_code) MESSAGE(FATAL_ERROR "error: Failed to download ${url} - ${error_msg}") ENDIF() ENDMACRO() # # Download and include dashboard driver script # set(url http://github.com/commontk/CTK/raw/master/CMake/ctkDashboardDriverScript.cmake) set(dest ${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}.driver) downloadFile(${url} ${dest}) INCLUDE(${dest}) thanks in advance, Dean From jchris.fillionr at kitware.com Fri Nov 5 18:07:41 2010 From: jchris.fillionr at kitware.com (Jean-Christophe Fillion-Robin) Date: Fri, 5 Nov 2010 14:07:41 -0400 Subject: [Ctk-developers] unsupported protocol error In-Reply-To: References: <201010222038.50278.dicom@offis.de> <22F7ECC89CE94D679B63335498288F51@Hyoid> <201010231401.14600.dicom@offis.de> <16F7FCBFC0874EB9BE289E75D233215C@Hyoid> <4CC563A8.2000507@offis.de> <587FCAA169584742B84BCD71AC15EC9E@Hyoid> <4CC57CD9.8090404@offis.de> <1762848550A84FF4935A843C34E27F78@Hyoid> <4CC58981.8030900@dkfz-heidelberg.de> Message-ID: Hi Dean, Indeed, just notice that problem. As mentioned here and here, Github moves to SSL, the intent is too prevent "sidejack" attack. More details: https://github.com/blog/737-sidejack-prevention Regarding CTK dashboard script, this later one attempt to download its associated dashboardDriverScript using the FILE(DOWNLOAD ..) function of CMake. The problem we face seems related to the fact CURL library shipped with CMake isn't build with SSL support by default. (line 183 - CMake/Utilities/cmcurl/CMakeLists.txt The solutions could be: (1) Host the driverScripts on our wiki .. then no SSL related problem (2) Use a version of cmake supporting SSL (3) Do not use a driver scripts .. I will setup solution (1) as a short term solution .. Thks Jc On Fri, Nov 5, 2010 at 11:45 AM, Dean Inglis wrote: > Hi, > Ive been trying to submit a daily experimental and ran into the following > unsupported protocol error: > > D:\Developer\Dashboards\Scripts>ctest -S ctk.cmake -VV > * Extra verbosity turned on > Reading Script: D:/Developer/Dashboards/Scripts/ctk.cmake > site name: hyoid.Teneos > build name: Win32.Vista-g++4.4.0-QT4.6.3-Release > script mode: experimental > CMake Error at ctk.cmake:127 (MESSAGE): > error: Failed to download > > http://github.com/commontk/CTK/raw/master/CMake/ctkDashboardDriverScript.cmake > > - "unsupported protocol" > Call Stack (most recent call first): > ctk.cmake:136 (downloadFile) > > Error in read script: D:/Developer/Dashboards/Scripts/ctk.cmake > > Any ideas what might be causing this/how to fix? Has the url changed? > My script has: > > # > # Convenient macro allowing to download a file > # > MACRO(downloadFile url dest) > FILE(DOWNLOAD ${url} ${dest} STATUS status) > LIST(GET status 0 error_code) > LIST(GET status 1 error_msg) > IF(error_code) > MESSAGE(FATAL_ERROR "error: Failed to download ${url} - ${error_msg}") > ENDIF() > ENDMACRO() > > # > # Download and include dashboard driver script > # > set(url > http://github.com/commontk/CTK/raw/master/CMake/ctkDashboardDriverScript.cmake > ) > set(dest ${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}.driver) > downloadFile(${url} ${dest}) > INCLUDE(${dest}) > > thanks in advance, > Dean > _______________________________________________ > 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 jchris.fillionr at kitware.com Fri Nov 5 21:26:02 2010 From: jchris.fillionr at kitware.com (Jean-Christophe Fillion-Robin) Date: Fri, 5 Nov 2010 17:26:02 -0400 Subject: [Ctk-developers] unsupported protocol error In-Reply-To: References: <201010222038.50278.dicom@offis.de> <22F7ECC89CE94D679B63335498288F51@Hyoid> <201010231401.14600.dicom@offis.de> <16F7FCBFC0874EB9BE289E75D233215C@Hyoid> <4CC563A8.2000507@offis.de> <587FCAA169584742B84BCD71AC15EC9E@Hyoid> <4CC57CD9.8090404@offis.de> <1762848550A84FF4935A843C34E27F78@Hyoid> <4CC58981.8030900@dkfz-heidelberg.de> Message-ID: Hi Folks, In response to the problem reported, would be great if you could update your CTK dashboard script changing the following url: http://github.com/commontk/CTK/raw/master/CMake/ctkDashboardDriverScript.cmake with http://commontk.org/ctkDashboardDriverScript.cmake See https://github.com/commontk/CTK/commit/3bc831283fe56cfa58eede31557ce9c7fa773289for details Thks Jc On Fri, Nov 5, 2010 at 2:07 PM, Jean-Christophe Fillion-Robin < jchris.fillionr at kitware.com> wrote: > Hi Dean, > > Indeed, just notice that problem. > > As mentioned here and here, > Github moves to SSL, the intent is too prevent "sidejack" attack. More > details: https://github.com/blog/737-sidejack-prevention > > Regarding CTK dashboard script, this later one attempt to download its > associated dashboardDriverScript using the FILE(DOWNLOAD ..) function of > CMake. > > The problem we face seems related to the fact CURL library shipped with > CMake isn't build with SSL support by default. (line 183 - > CMake/Utilities/cmcurl/CMakeLists.txt > > The solutions could be: > (1) Host the driverScripts on our wiki .. then no SSL related problem > (2) Use a version of cmake supporting SSL > (3) Do not use a driver scripts .. > > I will setup solution (1) as a short term solution .. > > Thks > Jc > > > On Fri, Nov 5, 2010 at 11:45 AM, Dean Inglis wrote: > >> Hi, >> Ive been trying to submit a daily experimental and ran into the following >> unsupported protocol error: >> >> D:\Developer\Dashboards\Scripts>ctest -S ctk.cmake -VV >> * Extra verbosity turned on >> Reading Script: D:/Developer/Dashboards/Scripts/ctk.cmake >> site name: hyoid.Teneos >> build name: Win32.Vista-g++4.4.0-QT4.6.3-Release >> script mode: experimental >> CMake Error at ctk.cmake:127 (MESSAGE): >> error: Failed to download >> >> http://github.com/commontk/CTK/raw/master/CMake/ctkDashboardDriverScript.cmake >> >> - "unsupported protocol" >> Call Stack (most recent call first): >> ctk.cmake:136 (downloadFile) >> >> Error in read script: D:/Developer/Dashboards/Scripts/ctk.cmake >> >> Any ideas what might be causing this/how to fix? Has the url changed? >> My script has: >> >> # >> # Convenient macro allowing to download a file >> # >> MACRO(downloadFile url dest) >> FILE(DOWNLOAD ${url} ${dest} STATUS status) >> LIST(GET status 0 error_code) >> LIST(GET status 1 error_msg) >> IF(error_code) >> MESSAGE(FATAL_ERROR "error: Failed to download ${url} - ${error_msg}") >> ENDIF() >> ENDMACRO() >> >> # >> # Download and include dashboard driver script >> # >> set(url >> http://github.com/commontk/CTK/raw/master/CMake/ctkDashboardDriverScript.cmake >> ) >> set(dest ${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}.driver) >> downloadFile(${url} ${dest}) >> INCLUDE(${dest}) >> >> thanks in advance, >> Dean >> _______________________________________________ >> 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 Tue Nov 9 00:51:24 2010 From: dean.inglis at camris.ca (Dean Inglis) Date: Mon, 8 Nov 2010 19:51:24 -0500 Subject: [Ctk-developers] unsupported protocol error In-Reply-To: References: <201010222038.50278.dicom@offis.de> <22F7ECC89CE94D679B63335498288F51@Hyoid> <201010231401.14600.dicom@offis.de> <16F7FCBFC0874EB9BE289E75D233215C@Hyoid> <4CC563A8.2000507@offis.de> <587FCAA169584742B84BCD71AC15EC9E@Hyoid> <4CC57CD9.8090404@offis.de> <1762848550A84FF4935A843C34E27F78@Hyoid> <4CC58981.8030900@dkfz-heidelberg.de> Message-ID: Hi Jc, works, however, still have the problem with QtMobility not building on the dashboard script. It builds fine with the basic regular command line instructions (cmake, minw32-make), but there must be something in the dashboard build script causing a problem. See the hyoid experimental submissions for details. Im finding cmake and its use to be more and more cryptic which kind of defeats its original purpose. Dean ----- Original Message ----- From: "Jean-Christophe Fillion-Robin" To: "Dean Inglis" Cc: Sent: Friday, November 05, 2010 4:26 PM Subject: Re: [Ctk-developers] unsupported protocol error > Hi Folks, > > In response to the problem reported, would be great if you could update > your > CTK dashboard script changing the following url: > > http://github.com/commontk/CTK/raw/master/CMake/ctkDashboardDriverScript.cmake > > with > > http://commontk.org/ctkDashboardDriverScript.cmake > > > See > https://github.com/commontk/CTK/commit/3bc831283fe56cfa58eede31557ce9c7fa773289for > details > > Thks > Jc > > > > On Fri, Nov 5, 2010 at 2:07 PM, Jean-Christophe Fillion-Robin < > jchris.fillionr at kitware.com> wrote: > >> Hi Dean, >> >> Indeed, just notice that problem. >> >> As mentioned here and >> here, >> Github moves to SSL, the intent is too prevent "sidejack" attack. More >> details: https://github.com/blog/737-sidejack-prevention >> >> Regarding CTK dashboard script, this later one attempt to download its >> associated dashboardDriverScript using the FILE(DOWNLOAD ..) function of >> CMake. >> >> The problem we face seems related to the fact CURL library shipped with >> CMake isn't build with SSL support by default. (line 183 - >> CMake/Utilities/cmcurl/CMakeLists.txt >> >> The solutions could be: >> (1) Host the driverScripts on our wiki .. then no SSL related problem >> (2) Use a version of cmake supporting SSL >> (3) Do not use a driver scripts .. >> >> I will setup solution (1) as a short term solution .. >> >> Thks >> Jc >> >> >> On Fri, Nov 5, 2010 at 11:45 AM, Dean Inglis >> wrote: >> >>> Hi, >>> Ive been trying to submit a daily experimental and ran into the >>> following >>> unsupported protocol error: >>> >>> D:\Developer\Dashboards\Scripts>ctest -S ctk.cmake -VV >>> * Extra verbosity turned on >>> Reading Script: D:/Developer/Dashboards/Scripts/ctk.cmake >>> site name: hyoid.Teneos >>> build name: Win32.Vista-g++4.4.0-QT4.6.3-Release >>> script mode: experimental >>> CMake Error at ctk.cmake:127 (MESSAGE): >>> error: Failed to download >>> >>> http://github.com/commontk/CTK/raw/master/CMake/ctkDashboardDriverScript.cmake >>> >>> - "unsupported protocol" >>> Call Stack (most recent call first): >>> ctk.cmake:136 (downloadFile) >>> >>> Error in read script: D:/Developer/Dashboards/Scripts/ctk.cmake >>> >>> Any ideas what might be causing this/how to fix? Has the url changed? >>> My script has: >>> >>> # >>> # Convenient macro allowing to download a file >>> # >>> MACRO(downloadFile url dest) >>> FILE(DOWNLOAD ${url} ${dest} STATUS status) >>> LIST(GET status 0 error_code) >>> LIST(GET status 1 error_msg) >>> IF(error_code) >>> MESSAGE(FATAL_ERROR "error: Failed to download ${url} - ${error_msg}") >>> ENDIF() >>> ENDMACRO() >>> >>> # >>> # Download and include dashboard driver script >>> # >>> set(url >>> http://github.com/commontk/CTK/raw/master/CMake/ctkDashboardDriverScript.cmake >>> ) >>> set(dest ${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}.driver) >>> downloadFile(${url} ${dest}) >>> INCLUDE(${dest}) >>> >>> thanks in advance, >>> Dean >>> _______________________________________________ >>> 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 dean.inglis at camris.ca Wed Nov 10 13:39:48 2010 From: dean.inglis at camris.ca (Dean Inglis) Date: Wed, 10 Nov 2010 08:39:48 -0500 Subject: [Ctk-developers] ctk documentation In-Reply-To: References: <201010222038.50278.dicom@offis.de><22F7ECC89CE94D679B63335498288F51@Hyoid><201010231401.14600.dicom@offis.de><16F7FCBFC0874EB9BE289E75D233215C@Hyoid><4CC563A8.2000507@offis.de><587FCAA169584742B84BCD71AC15EC9E@Hyoid><4CC57CD9.8090404@offis.de><1762848550A84FF4935A843C34E27F78@Hyoid><4CC58981.8030900@dkfz-heidelberg.de> Message-ID: <6F8D0BCA075D4739831CA65B57313383@Hyoid> Is there a plan to add documentation about ctk classes and their methods in a manner similar to what is done with vtk or itk classes? ie. vtk style is ... // .NAME ctkClass - brief description of what it does // .SECTION Description // The longer description of what it does etc. // .SECTION Event Bindings // something about the slots and signals? // .SECTION Caveats // useage warnings // .SECTION See Also // other classes related to or critical to this class Dean From julien.finet at kitware.com Wed Nov 10 14:30:08 2010 From: julien.finet at kitware.com (Julien Finet) Date: Wed, 10 Nov 2010 09:30:08 -0500 Subject: [Ctk-developers] ctk documentation In-Reply-To: <6F8D0BCA075D4739831CA65B57313383@Hyoid> References: <201010222038.50278.dicom@offis.de> <22F7ECC89CE94D679B63335498288F51@Hyoid> <201010231401.14600.dicom@offis.de> <16F7FCBFC0874EB9BE289E75D233215C@Hyoid> <4CC563A8.2000507@offis.de> <587FCAA169584742B84BCD71AC15EC9E@Hyoid> <4CC57CD9.8090404@offis.de> <1762848550A84FF4935A843C34E27F78@Hyoid> <4CC58981.8030900@dkfz-heidelberg.de> <6F8D0BCA075D4739831CA65B57313383@Hyoid> Message-ID: Hi Dean, There are different styles of comments currently in CTK. However they seem to be closely following the Qt documentation style. The style is very similar to the standard Doxygen style: /*! \class QPushButton \brief The QPushButton widget provides a command button. \ingroup basicwidgets The push button, or command button, is perhaps the most commonly used widget in any graphical user interface. Push (click) a button to command the computer to perform some action, or to answer a question. Typical buttons are OK, Apply, Cancel, Close, Yes, No and Help. ... \sa QToolButton */ Sometimes (in Libs/Widgets), we use /// in front of each line of comment instead of wrapping all the comments with /*! */ I've seen /** */ as well. As you suggested, we should probably pick a style and stick with it. I have a preference for following the Qt style (but adding the comments in the .h file and not in the .cpp). If we end up all having a very different opinion we can start a doodle poll. Julien. On Wed, Nov 10, 2010 at 8:39 AM, Dean Inglis wrote: > Is there a plan to add documentation about ctk classes > and their methods in a manner similar to what is done > with vtk or itk classes? ie. vtk style is ... > > // .NAME ctkClass - brief description of what it does > // .SECTION Description > // The longer description of what it does etc. > > // .SECTION Event Bindings > // something about the slots and signals? > > // .SECTION Caveats > // useage warnings > > // .SECTION See Also > // other classes related to or critical to this class > > Dean > _______________________________________________ > 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 pieper at bwh.harvard.edu Wed Nov 10 14:51:33 2010 From: pieper at bwh.harvard.edu (Steve Pieper) Date: Wed, 10 Nov 2010 09:51:33 -0500 Subject: [Ctk-developers] ctk documentation In-Reply-To: References: <201010222038.50278.dicom@offis.de> <22F7ECC89CE94D679B63335498288F51@Hyoid> <201010231401.14600.dicom@offis.de> <16F7FCBFC0874EB9BE289E75D233215C@Hyoid> <4CC563A8.2000507@offis.de> <587FCAA169584742B84BCD71AC15EC9E@Hyoid> <4CC57CD9.8090404@offis.de> <1762848550A84FF4935A843C34E27F78@Hyoid> <4CC58981.8030900@dkfz-heidelberg.de> <6F8D0BCA075D4739831CA65B57313383@Hyoid> Message-ID: <4CDAB175.9020302@bwh.harvard.edu> Hi Guys - In general I vote for following the coding/documenting style of the superclass - so QWidgets should follow Qt style, vtkObjects should follow VTK style, etc... That way code can most easily be merged back to the upstream projects if/when that becomes desirable. -Steve On 11/10/2010 09:30 AM, Julien Finet wrote: > Hi Dean, > > There are different styles of comments currently in CTK. However they > seem to be closely following the Qt documentation style. The style is > very similar to the standard Doxygen style: > > /*! > \class QPushButton > \brief The QPushButton widget provides a command button. > > \ingroup basicwidgets > > > The push button, or command button, is perhaps the most commonly > used widget in any graphical user interface. Push (click) a button > to command the computer to perform some action, or to answer a > question. Typical buttons are OK, Apply, Cancel, Close, Yes, No > and Help. > ... > \sa QToolButton > */ > > Sometimes (in Libs/Widgets), we use /// in front of each line of comment > instead of wrapping all the comments with /*! */ > I've seen /** */ as well. > > As you suggested, we should probably pick a style and stick with it. > I have a preference for following the Qt style (but adding the comments > in the .h file and not in the .cpp). If we end up all having a very > different opinion we can start a doodle poll. > > Julien. > > On Wed, Nov 10, 2010 at 8:39 AM, Dean Inglis > wrote: > > Is there a plan to add documentation about ctk classes > and their methods in a manner similar to what is done > with vtk or itk classes? ie. vtk style is ... > > // .NAME ctkClass - brief description of what it does > // .SECTION Description > // The longer description of what it does etc. > > // .SECTION Event Bindings > // something about the slots and signals? > > // .SECTION Caveats > // useage warnings > > // .SECTION See Also > // other classes related to or critical to this class > > Dean > _______________________________________________ > 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 jchris.fillionr at kitware.com Thu Nov 11 17:05:12 2010 From: jchris.fillionr at kitware.com (Jean-Christophe Fillion-Robin) Date: Thu, 11 Nov 2010 12:05:12 -0500 Subject: [Ctk-developers] Building CTK In-Reply-To: <20101101132925.9wlpmub980sc0gcw@webmail.eigen.com> References: <20101101104911.73oygll0ggowso8c@webmail.eigen.com> <20101101113850.bzzj9tkqo0c4w08o@webmail.eigen.com> <20101101132925.9wlpmub980sc0gcw@webmail.eigen.com> Message-ID: Hi Irman, We managed to reproduce and track down the issue. Assuming your problem was similar, commit fda766eshould fix it. Would be great if you could give an other try. Thks for your feedback Jc On Mon, Nov 1, 2010 at 4:29 PM, wrote: > Sure thing! I'm attaching the two files that you asked for to this email... > > Thanks! > > > -Imran. > > > Quoting Jean-Christophe Fillion-Robin : > > Could you also includes the following files: >> DGraphInput-alldep.txt >> DGraphInput-alldep-withext.txt >> >> This files are passed to DGraph executable to compute the dependency graph >> of CTK and find out which external project should be downloaded and >> configured. See >> http://github.com/commontk/CTK/tree/master/Utilities/DGraph/ >> >> Also re-adding ctk-developers at commontk.org as a recipient so that our >> investigations benefit the community :) >> >> Thks >> Jc >> >> On Mon, Nov 1, 2010 at 2:38 PM, wrote: >> >> Hi Jean-Christophe, >>> >>> Thanks for the quick response. I'm on a Win32 machine running CMake 2.8 >>> with QT 4.6.3 installed. I'm attaching two bitmap files that capture what >>> I've done and the subsequent error. I hope that this gives a better >>> insight >>> into the issue that I"m having... >>> >>> -Imran. >>> >>> >>> >>> >>> Quoting Jean-Christophe Fillion-Robin : >>> >>> Hi Imran, >>> >>>> >>>> Thanks for trying out CTK. >>>> >>>> Which platform are you trying to build on? >>>> >>>> Doing the following works for me: >>>> cd Projects/sandbox >>>> git clone http://github.com/commontk/CTK.git >>>> mkdir CTK-test-build >>>> cd CTK-test-build >>>> cmake >>>> >>>> >>>> -DQT_QMAKE_EXECUTABLE:FILEPATH=/home/jchris/Projects/qtsdk-2010.05/qt/bin/qmake >>>> ../CTK >>>> make -j5 >>>> >>>> Does the path where CTK has been checked out contains spaces ? >>>> >>>> Thks >>>> Jc >>>> >>>> >>>> On Mon, Nov 1, 2010 at 1:49 PM, wrote: >>>> >>>> Hi, >>>> >>>>> >>>>> I just downloaded CTK using git...I followed the directions at: >>>>> http://www.commontk.org/index.php/Build_Instructions except that >>>>> instead >>>>> of "ccmake ../CTK", I type in "cmake ../CTK". It generates two files >>>>> "DGraphInput-alldep.txt" and "DGraphInput-alldep-withext.txt". Then, it >>>>> chokes and reports back: "Failed to obtain dependence path of CTKCore." >>>>> Hmmmm....anybody know what might be wrong here? >>>>> >>>>> Thanks! >>>>> >>>>> -Imran. >>>>> >>>>> _______________________________________________ >>>>> 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 >> >> > > -- Phone: 1-518-836-2174 Ext: 304 -------------- next part -------------- An HTML attachment was scrubbed... URL: From imran.pirwani at eigen.com Thu Nov 11 17:20:34 2010 From: imran.pirwani at eigen.com (imran.pirwani at eigen.com) Date: Thu, 11 Nov 2010 09:20:34 -0800 Subject: [Ctk-developers] Building CTK In-Reply-To: References: <20101101104911.73oygll0ggowso8c@webmail.eigen.com> <20101101113850.bzzj9tkqo0c4w08o@webmail.eigen.com> <20101101132925.9wlpmub980sc0gcw@webmail.eigen.com> Message-ID: <20101111092034.74e6rg6eecw40s8c@webmail.eigen.com> Thanks, Jc, I'll try it out sometime today. I'll email back to let you know how it went... -Imran. Quoting Jean-Christophe Fillion-Robin : > Hi Irman, > > We managed to reproduce and track down the issue. > > Assuming your problem was similar, commit > fda766eshould > fix it. > > Would be great if you could give an other try. > > Thks for your feedback > Jc > > On Mon, Nov 1, 2010 at 4:29 PM, wrote: > >> Sure thing! I'm attaching the two files that you asked for to this email... >> >> Thanks! >> >> >> -Imran. >> >> >> Quoting Jean-Christophe Fillion-Robin : >> >> Could you also includes the following files: >>> DGraphInput-alldep.txt >>> DGraphInput-alldep-withext.txt >>> >>> This files are passed to DGraph executable to compute the dependency graph >>> of CTK and find out which external project should be downloaded and >>> configured. See >>> http://github.com/commontk/CTK/tree/master/Utilities/DGraph/ >>> >>> Also re-adding ctk-developers at commontk.org as a recipient so that our >>> investigations benefit the community :) >>> >>> Thks >>> Jc >>> >>> On Mon, Nov 1, 2010 at 2:38 PM, wrote: >>> >>> Hi Jean-Christophe, >>>> >>>> Thanks for the quick response. I'm on a Win32 machine running CMake 2.8 >>>> with QT 4.6.3 installed. I'm attaching two bitmap files that capture what >>>> I've done and the subsequent error. I hope that this gives a better >>>> insight >>>> into the issue that I"m having... >>>> >>>> -Imran. >>>> >>>> >>>> >>>> >>>> Quoting Jean-Christophe Fillion-Robin : >>>> >>>> Hi Imran, >>>> >>>>> >>>>> Thanks for trying out CTK. >>>>> >>>>> Which platform are you trying to build on? >>>>> >>>>> Doing the following works for me: >>>>> cd Projects/sandbox >>>>> git clone http://github.com/commontk/CTK.git >>>>> mkdir CTK-test-build >>>>> cd CTK-test-build >>>>> cmake >>>>> >>>>> >>>>> -DQT_QMAKE_EXECUTABLE:FILEPATH=/home/jchris/Projects/qtsdk-2010.05/qt/bin/qmake >>>>> ../CTK >>>>> make -j5 >>>>> >>>>> Does the path where CTK has been checked out contains spaces ? >>>>> >>>>> Thks >>>>> Jc >>>>> >>>>> >>>>> On Mon, Nov 1, 2010 at 1:49 PM, wrote: >>>>> >>>>> Hi, >>>>> >>>>>> >>>>>> I just downloaded CTK using git...I followed the directions at: >>>>>> http://www.commontk.org/index.php/Build_Instructions except that >>>>>> instead >>>>>> of "ccmake ../CTK", I type in "cmake ../CTK". It generates two files >>>>>> "DGraphInput-alldep.txt" and "DGraphInput-alldep-withext.txt". Then, it >>>>>> chokes and reports back: "Failed to obtain dependence path of CTKCore." >>>>>> Hmmmm....anybody know what might be wrong here? >>>>>> >>>>>> Thanks! >>>>>> >>>>>> -Imran. >>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>> >>> >> >> > > > -- > Phone: 1-518-836-2174 > Ext: 304 > From imran.pirwani at eigen.com Thu Nov 11 18:43:23 2010 From: imran.pirwani at eigen.com (imran.pirwani at eigen.com) Date: Thu, 11 Nov 2010 10:43:23 -0800 Subject: [Ctk-developers] Building CTK In-Reply-To: <20101111092034.74e6rg6eecw40s8c@webmail.eigen.com> References: <20101101104911.73oygll0ggowso8c@webmail.eigen.com> <20101101113850.bzzj9tkqo0c4w08o@webmail.eigen.com> <20101101132925.9wlpmub980sc0gcw@webmail.eigen.com> <20101111092034.74e6rg6eecw40s8c@webmail.eigen.com> Message-ID: <20101111104323.vr4hju3gg0008s4c@webmail.eigen.com> Well, I got a chance to run the thing again. So, I deleted old stuff and checked it out fresh as per directions. It didn't work, but for different reasons, in cmake. Does the following mean anything? Generated: C:/CTK-superbuild/DGraphInput-alldep.txt Generated: C:/CTK-superbuild/DGraphInput-alldep-withext.txt Generated: C:/CTK-superbuild/DGraphInput.txt Generated: C:/CTK-superbuild/Project.xml CMake Error at CMakeExternals/QtMobility.cmake:18 (MESSAGE): error: Patch is required to build CTK. Set CTK_PATCH_EXECUTABLE Call Stack (most recent call first): SuperBuild.cmake:131 (INCLUDE) CMakeLists.txt:509 (INCLUDE) Configuring incomplete, errors occurred! Quoting imran.pirwani at eigen.com: > Thanks, Jc, I'll try it out sometime today. I'll email back to let you > know how it went... > > -Imran. > > > > Quoting Jean-Christophe Fillion-Robin : > >> Hi Irman, >> >> We managed to reproduce and track down the issue. >> >> Assuming your problem was similar, commit >> fda766eshould >> fix it. >> >> Would be great if you could give an other try. >> >> Thks for your feedback >> Jc >> >> On Mon, Nov 1, 2010 at 4:29 PM, wrote: >> >>> Sure thing! I'm attaching the two files that you asked for to this email... >>> >>> Thanks! >>> >>> >>> -Imran. >>> >>> >>> Quoting Jean-Christophe Fillion-Robin : >>> >>> Could you also includes the following files: >>>> DGraphInput-alldep.txt >>>> DGraphInput-alldep-withext.txt >>>> >>>> This files are passed to DGraph executable to compute the dependency graph >>>> of CTK and find out which external project should be downloaded and >>>> configured. See >>>> http://github.com/commontk/CTK/tree/master/Utilities/DGraph/ >>>> >>>> Also re-adding ctk-developers at commontk.org as a recipient so that our >>>> investigations benefit the community :) >>>> >>>> Thks >>>> Jc >>>> >>>> On Mon, Nov 1, 2010 at 2:38 PM, wrote: >>>> >>>> Hi Jean-Christophe, >>>>> >>>>> Thanks for the quick response. I'm on a Win32 machine running CMake 2.8 >>>>> with QT 4.6.3 installed. I'm attaching two bitmap files that capture what >>>>> I've done and the subsequent error. I hope that this gives a better >>>>> insight >>>>> into the issue that I"m having... >>>>> >>>>> -Imran. >>>>> >>>>> >>>>> >>>>> >>>>> Quoting Jean-Christophe Fillion-Robin : >>>>> >>>>> Hi Imran, >>>>> >>>>>> >>>>>> Thanks for trying out CTK. >>>>>> >>>>>> Which platform are you trying to build on? >>>>>> >>>>>> Doing the following works for me: >>>>>> cd Projects/sandbox >>>>>> git clone http://github.com/commontk/CTK.git >>>>>> mkdir CTK-test-build >>>>>> cd CTK-test-build >>>>>> cmake >>>>>> >>>>>> >>>>>> -DQT_QMAKE_EXECUTABLE:FILEPATH=/home/jchris/Projects/qtsdk-2010.05/qt/bin/qmake >>>>>> ../CTK >>>>>> make -j5 >>>>>> >>>>>> Does the path where CTK has been checked out contains spaces ? >>>>>> >>>>>> Thks >>>>>> Jc >>>>>> >>>>>> >>>>>> On Mon, Nov 1, 2010 at 1:49 PM, wrote: >>>>>> >>>>>> Hi, >>>>>> >>>>>>> >>>>>>> I just downloaded CTK using git...I followed the directions at: >>>>>>> http://www.commontk.org/index.php/Build_Instructions except that >>>>>>> instead >>>>>>> of "ccmake ../CTK", I type in "cmake ../CTK". It generates two files >>>>>>> "DGraphInput-alldep.txt" and "DGraphInput-alldep-withext.txt". Then, it >>>>>>> chokes and reports back: "Failed to obtain dependence path of CTKCore." >>>>>>> Hmmmm....anybody know what might be wrong here? >>>>>>> >>>>>>> Thanks! >>>>>>> >>>>>>> -Imran. >>>>>>> >>>>>>> _______________________________________________ >>>>>>> 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 >>>> >>>> >>> >>> >> >> >> -- >> 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 Nov 11 18:46:49 2010 From: julien.finet at kitware.com (Julien Finet) Date: Thu, 11 Nov 2010 13:46:49 -0500 Subject: [Ctk-developers] Building CTK In-Reply-To: <20101111104323.vr4hju3gg0008s4c@webmail.eigen.com> References: <20101101104911.73oygll0ggowso8c@webmail.eigen.com> <20101101113850.bzzj9tkqo0c4w08o@webmail.eigen.com> <20101101132925.9wlpmub980sc0gcw@webmail.eigen.com> <20101111092034.74e6rg6eecw40s8c@webmail.eigen.com> <20101111104323.vr4hju3gg0008s4c@webmail.eigen.com> Message-ID: You need to have a patch.exe executable somewhere on your machine (if you don't you can download it here: http://gnuwin32.sourceforge.net/packages/patch.htm) (make sure CTK_PATCH_EXECUTABLE is set with the path of your patch executable) Julien. On Thu, Nov 11, 2010 at 1:43 PM, wrote: > > Well, I got a chance to run the thing again. So, I deleted old stuff and > checked it out fresh as per directions. It didn't work, but for different > reasons, in cmake. Does the following mean anything? > > Generated: C:/CTK-superbuild/DGraphInput-alldep.txt > Generated: C:/CTK-superbuild/DGraphInput-alldep-withext.txt > Generated: C:/CTK-superbuild/DGraphInput.txt > Generated: C:/CTK-superbuild/Project.xml > CMake Error at CMakeExternals/QtMobility.cmake:18 (MESSAGE): > error: Patch is required to build CTK. Set CTK_PATCH_EXECUTABLE > Call Stack (most recent call first): > SuperBuild.cmake:131 (INCLUDE) > CMakeLists.txt:509 (INCLUDE) > > > Configuring incomplete, errors occurred! > > > > > > Quoting imran.pirwani at eigen.com: > > Thanks, Jc, I'll try it out sometime today. I'll email back to let you >> know how it went... >> >> -Imran. >> >> >> >> Quoting Jean-Christophe Fillion-Robin : >> >> Hi Irman, >>> >>> We managed to reproduce and track down the issue. >>> >>> Assuming your problem was similar, commit >>> fda766e< >>> https://github.com/commontk/CTK/commit/fda766eefb6f5e50f9e43a002e8e808e1bf75995 >>> >should >>> fix it. >>> >>> Would be great if you could give an other try. >>> >>> Thks for your feedback >>> Jc >>> >>> On Mon, Nov 1, 2010 at 4:29 PM, wrote: >>> >>> Sure thing! I'm attaching the two files that you asked for to this >>>> email... >>>> >>>> Thanks! >>>> >>>> >>>> -Imran. >>>> >>>> >>>> Quoting Jean-Christophe Fillion-Robin : >>>> >>>> Could you also includes the following files: >>>> >>>>> DGraphInput-alldep.txt >>>>> DGraphInput-alldep-withext.txt >>>>> >>>>> This files are passed to DGraph executable to compute the dependency >>>>> graph >>>>> of CTK and find out which external project should be downloaded and >>>>> configured. See >>>>> http://github.com/commontk/CTK/tree/master/Utilities/DGraph/ >>>>> >>>>> Also re-adding ctk-developers at commontk.org as a recipient so that our >>>>> investigations benefit the community :) >>>>> >>>>> Thks >>>>> Jc >>>>> >>>>> On Mon, Nov 1, 2010 at 2:38 PM, wrote: >>>>> >>>>> Hi Jean-Christophe, >>>>> >>>>>> >>>>>> Thanks for the quick response. I'm on a Win32 machine running CMake >>>>>> 2.8 >>>>>> with QT 4.6.3 installed. I'm attaching two bitmap files that capture >>>>>> what >>>>>> I've done and the subsequent error. I hope that this gives a better >>>>>> insight >>>>>> into the issue that I"m having... >>>>>> >>>>>> -Imran. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Quoting Jean-Christophe Fillion-Robin : >>>>>> >>>>>> Hi Imran, >>>>>> >>>>>> >>>>>>> Thanks for trying out CTK. >>>>>>> >>>>>>> Which platform are you trying to build on? >>>>>>> >>>>>>> Doing the following works for me: >>>>>>> cd Projects/sandbox >>>>>>> git clone http://github.com/commontk/CTK.git >>>>>>> mkdir CTK-test-build >>>>>>> cd CTK-test-build >>>>>>> cmake >>>>>>> >>>>>>> >>>>>>> >>>>>>> -DQT_QMAKE_EXECUTABLE:FILEPATH=/home/jchris/Projects/qtsdk-2010.05/qt/bin/qmake >>>>>>> ../CTK >>>>>>> make -j5 >>>>>>> >>>>>>> Does the path where CTK has been checked out contains spaces ? >>>>>>> >>>>>>> Thks >>>>>>> Jc >>>>>>> >>>>>>> >>>>>>> On Mon, Nov 1, 2010 at 1:49 PM, wrote: >>>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> >>>>>>>> I just downloaded CTK using git...I followed the directions at: >>>>>>>> http://www.commontk.org/index.php/Build_Instructions except that >>>>>>>> instead >>>>>>>> of "ccmake ../CTK", I type in "cmake ../CTK". It generates two files >>>>>>>> "DGraphInput-alldep.txt" and "DGraphInput-alldep-withext.txt". Then, >>>>>>>> it >>>>>>>> chokes and reports back: "Failed to obtain dependence path of >>>>>>>> CTKCore." >>>>>>>> Hmmmm....anybody know what might be wrong here? >>>>>>>> >>>>>>>> Thanks! >>>>>>>> >>>>>>>> -Imran. >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> 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 >>>>> >>>>> >>>>> >>>> >>>> >>> >>> -- >>> 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 >> > > > > _______________________________________________ > 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 imran.pirwani at eigen.com Thu Nov 11 18:55:18 2010 From: imran.pirwani at eigen.com (imran.pirwani at eigen.com) Date: Thu, 11 Nov 2010 10:55:18 -0800 Subject: [Ctk-developers] Building CTK In-Reply-To: References: <20101101104911.73oygll0ggowso8c@webmail.eigen.com> <20101101113850.bzzj9tkqo0c4w08o@webmail.eigen.com> <20101101132925.9wlpmub980sc0gcw@webmail.eigen.com> <20101111092034.74e6rg6eecw40s8c@webmail.eigen.com> <20101111104323.vr4hju3gg0008s4c@webmail.eigen.com> Message-ID: <20101111105518.qtzc0gttwkg04s04@webmail.eigen.com> Thanks! -Imran. Quoting Julien Finet : > You need to have a patch.exe executable somewhere on your machine (if you > don't you can download it here: > http://gnuwin32.sourceforge.net/packages/patch.htm) > (make sure CTK_PATCH_EXECUTABLE is set with the path of your patch > executable) > Julien. > > On Thu, Nov 11, 2010 at 1:43 PM, wrote: > >> >> Well, I got a chance to run the thing again. So, I deleted old stuff and >> checked it out fresh as per directions. It didn't work, but for different >> reasons, in cmake. Does the following mean anything? >> >> Generated: C:/CTK-superbuild/DGraphInput-alldep.txt >> Generated: C:/CTK-superbuild/DGraphInput-alldep-withext.txt >> Generated: C:/CTK-superbuild/DGraphInput.txt >> Generated: C:/CTK-superbuild/Project.xml >> CMake Error at CMakeExternals/QtMobility.cmake:18 (MESSAGE): >> error: Patch is required to build CTK. Set CTK_PATCH_EXECUTABLE >> Call Stack (most recent call first): >> SuperBuild.cmake:131 (INCLUDE) >> CMakeLists.txt:509 (INCLUDE) >> >> >> Configuring incomplete, errors occurred! >> >> >> >> >> >> Quoting imran.pirwani at eigen.com: >> >> Thanks, Jc, I'll try it out sometime today. I'll email back to let you >>> know how it went... >>> >>> -Imran. >>> >>> >>> >>> Quoting Jean-Christophe Fillion-Robin : >>> >>> Hi Irman, >>>> >>>> We managed to reproduce and track down the issue. >>>> >>>> Assuming your problem was similar, commit >>>> fda766e< >>>> https://github.com/commontk/CTK/commit/fda766eefb6f5e50f9e43a002e8e808e1bf75995 >>>> >should >>>> fix it. >>>> >>>> Would be great if you could give an other try. >>>> >>>> Thks for your feedback >>>> Jc >>>> >>>> On Mon, Nov 1, 2010 at 4:29 PM, wrote: >>>> >>>> Sure thing! I'm attaching the two files that you asked for to this >>>>> email... >>>>> >>>>> Thanks! >>>>> >>>>> >>>>> -Imran. >>>>> >>>>> >>>>> Quoting Jean-Christophe Fillion-Robin : >>>>> >>>>> Could you also includes the following files: >>>>> >>>>>> DGraphInput-alldep.txt >>>>>> DGraphInput-alldep-withext.txt >>>>>> >>>>>> This files are passed to DGraph executable to compute the dependency >>>>>> graph >>>>>> of CTK and find out which external project should be downloaded and >>>>>> configured. See >>>>>> http://github.com/commontk/CTK/tree/master/Utilities/DGraph/ >>>>>> >>>>>> Also re-adding ctk-developers at commontk.org as a recipient so that our >>>>>> investigations benefit the community :) >>>>>> >>>>>> Thks >>>>>> Jc >>>>>> >>>>>> On Mon, Nov 1, 2010 at 2:38 PM, wrote: >>>>>> >>>>>> Hi Jean-Christophe, >>>>>> >>>>>>> >>>>>>> Thanks for the quick response. I'm on a Win32 machine running CMake >>>>>>> 2.8 >>>>>>> with QT 4.6.3 installed. I'm attaching two bitmap files that capture >>>>>>> what >>>>>>> I've done and the subsequent error. I hope that this gives a better >>>>>>> insight >>>>>>> into the issue that I"m having... >>>>>>> >>>>>>> -Imran. >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> Quoting Jean-Christophe Fillion-Robin : >>>>>>> >>>>>>> Hi Imran, >>>>>>> >>>>>>> >>>>>>>> Thanks for trying out CTK. >>>>>>>> >>>>>>>> Which platform are you trying to build on? >>>>>>>> >>>>>>>> Doing the following works for me: >>>>>>>> cd Projects/sandbox >>>>>>>> git clone http://github.com/commontk/CTK.git >>>>>>>> mkdir CTK-test-build >>>>>>>> cd CTK-test-build >>>>>>>> cmake >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -DQT_QMAKE_EXECUTABLE:FILEPATH=/home/jchris/Projects/qtsdk-2010.05/qt/bin/qmake >>>>>>>> ../CTK >>>>>>>> make -j5 >>>>>>>> >>>>>>>> Does the path where CTK has been checked out contains spaces ? >>>>>>>> >>>>>>>> Thks >>>>>>>> Jc >>>>>>>> >>>>>>>> >>>>>>>> On Mon, Nov 1, 2010 at 1:49 PM, wrote: >>>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> >>>>>>>>> I just downloaded CTK using git...I followed the directions at: >>>>>>>>> http://www.commontk.org/index.php/Build_Instructions except that >>>>>>>>> instead >>>>>>>>> of "ccmake ../CTK", I type in "cmake ../CTK". It generates two files >>>>>>>>> "DGraphInput-alldep.txt" and "DGraphInput-alldep-withext.txt". Then, >>>>>>>>> it >>>>>>>>> chokes and reports back: "Failed to obtain dependence path of >>>>>>>>> CTKCore." >>>>>>>>> Hmmmm....anybody know what might be wrong here? >>>>>>>>> >>>>>>>>> Thanks! >>>>>>>>> >>>>>>>>> -Imran. >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> 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 >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>> >>>> -- >>>> 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 >>> >> >> >> >> _______________________________________________ >> Ctk-developers mailing list >> Ctk-developers at commontk.org >> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers >> > From jchris.fillionr at kitware.com Thu Nov 11 19:43:23 2010 From: jchris.fillionr at kitware.com (Jean-Christophe Fillion-Robin) Date: Thu, 11 Nov 2010 14:43:23 -0500 Subject: [Ctk-developers] Building CTK In-Reply-To: <20101111105518.qtzc0gttwkg04s04@webmail.eigen.com> References: <20101101104911.73oygll0ggowso8c@webmail.eigen.com> <20101101113850.bzzj9tkqo0c4w08o@webmail.eigen.com> <20101101132925.9wlpmub980sc0gcw@webmail.eigen.com> <20101111092034.74e6rg6eecw40s8c@webmail.eigen.com> <20101111104323.vr4hju3gg0008s4c@webmail.eigen.com> <20101111105518.qtzc0gttwkg04s04@webmail.eigen.com> Message-ID: The message associated with this error has been reviewed. See 4d29b79 Thks Jc On Thu, Nov 11, 2010 at 1:55 PM, wrote: > > Thanks! > > -Imran. > > > > Quoting Julien Finet : > > You need to have a patch.exe executable somewhere on your machine (if you >> don't you can download it here: >> http://gnuwin32.sourceforge.net/packages/patch.htm) >> (make sure CTK_PATCH_EXECUTABLE is set with the path of your patch >> executable) >> Julien. >> >> On Thu, Nov 11, 2010 at 1:43 PM, wrote: >> >> >>> Well, I got a chance to run the thing again. So, I deleted old stuff and >>> checked it out fresh as per directions. It didn't work, but for different >>> reasons, in cmake. Does the following mean anything? >>> >>> Generated: C:/CTK-superbuild/DGraphInput-alldep.txt >>> Generated: C:/CTK-superbuild/DGraphInput-alldep-withext.txt >>> Generated: C:/CTK-superbuild/DGraphInput.txt >>> Generated: C:/CTK-superbuild/Project.xml >>> CMake Error at CMakeExternals/QtMobility.cmake:18 (MESSAGE): >>> error: Patch is required to build CTK. Set CTK_PATCH_EXECUTABLE >>> Call Stack (most recent call first): >>> SuperBuild.cmake:131 (INCLUDE) >>> CMakeLists.txt:509 (INCLUDE) >>> >>> >>> Configuring incomplete, errors occurred! >>> >>> >>> >>> >>> >>> Quoting imran.pirwani at eigen.com: >>> >>> Thanks, Jc, I'll try it out sometime today. I'll email back to let you >>> >>>> know how it went... >>>> >>>> -Imran. >>>> >>>> >>>> >>>> Quoting Jean-Christophe Fillion-Robin : >>>> >>>> Hi Irman, >>>> >>>>> >>>>> We managed to reproduce and track down the issue. >>>>> >>>>> Assuming your problem was similar, commit >>>>> fda766e< >>>>> >>>>> https://github.com/commontk/CTK/commit/fda766eefb6f5e50f9e43a002e8e808e1bf75995 >>>>> >should >>>>> fix it. >>>>> >>>>> Would be great if you could give an other try. >>>>> >>>>> Thks for your feedback >>>>> Jc >>>>> >>>>> On Mon, Nov 1, 2010 at 4:29 PM, wrote: >>>>> >>>>> Sure thing! I'm attaching the two files that you asked for to this >>>>> >>>>>> email... >>>>>> >>>>>> Thanks! >>>>>> >>>>>> >>>>>> -Imran. >>>>>> >>>>>> >>>>>> Quoting Jean-Christophe Fillion-Robin : >>>>>> >>>>>> Could you also includes the following files: >>>>>> >>>>>> DGraphInput-alldep.txt >>>>>>> DGraphInput-alldep-withext.txt >>>>>>> >>>>>>> This files are passed to DGraph executable to compute the dependency >>>>>>> graph >>>>>>> of CTK and find out which external project should be downloaded and >>>>>>> configured. See >>>>>>> http://github.com/commontk/CTK/tree/master/Utilities/DGraph/ >>>>>>> >>>>>>> Also re-adding ctk-developers at commontk.org as a recipient so that >>>>>>> our >>>>>>> investigations benefit the community :) >>>>>>> >>>>>>> Thks >>>>>>> Jc >>>>>>> >>>>>>> On Mon, Nov 1, 2010 at 2:38 PM, wrote: >>>>>>> >>>>>>> Hi Jean-Christophe, >>>>>>> >>>>>>> >>>>>>>> Thanks for the quick response. I'm on a Win32 machine running CMake >>>>>>>> 2.8 >>>>>>>> with QT 4.6.3 installed. I'm attaching two bitmap files that capture >>>>>>>> what >>>>>>>> I've done and the subsequent error. I hope that this gives a better >>>>>>>> insight >>>>>>>> into the issue that I"m having... >>>>>>>> >>>>>>>> -Imran. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Quoting Jean-Christophe Fillion-Robin >>>>>>> >: >>>>>>>> >>>>>>>> Hi Imran, >>>>>>>> >>>>>>>> >>>>>>>> Thanks for trying out CTK. >>>>>>>>> >>>>>>>>> Which platform are you trying to build on? >>>>>>>>> >>>>>>>>> Doing the following works for me: >>>>>>>>> cd Projects/sandbox >>>>>>>>> git clone http://github.com/commontk/CTK.git >>>>>>>>> mkdir CTK-test-build >>>>>>>>> cd CTK-test-build >>>>>>>>> cmake >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -DQT_QMAKE_EXECUTABLE:FILEPATH=/home/jchris/Projects/qtsdk-2010.05/qt/bin/qmake >>>>>>>>> ../CTK >>>>>>>>> make -j5 >>>>>>>>> >>>>>>>>> Does the path where CTK has been checked out contains spaces ? >>>>>>>>> >>>>>>>>> Thks >>>>>>>>> Jc >>>>>>>>> >>>>>>>>> >>>>>>>>> On Mon, Nov 1, 2010 at 1:49 PM, wrote: >>>>>>>>> >>>>>>>>> Hi, >>>>>>>>> >>>>>>>>> >>>>>>>>> I just downloaded CTK using git...I followed the directions at: >>>>>>>>>> http://www.commontk.org/index.php/Build_Instructions except that >>>>>>>>>> instead >>>>>>>>>> of "ccmake ../CTK", I type in "cmake ../CTK". It generates two >>>>>>>>>> files >>>>>>>>>> "DGraphInput-alldep.txt" and "DGraphInput-alldep-withext.txt". >>>>>>>>>> Then, >>>>>>>>>> it >>>>>>>>>> chokes and reports back: "Failed to obtain dependence path of >>>>>>>>>> CTKCore." >>>>>>>>>> Hmmmm....anybody know what might be wrong here? >>>>>>>>>> >>>>>>>>>> Thanks! >>>>>>>>>> >>>>>>>>>> -Imran. >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> 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 >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>> -- >>>>> 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 >>>> >>>> >>> >>> >>> _______________________________________________ >>> 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 s.zelzer at dkfz-heidelberg.de Tue Nov 23 09:26:41 2010 From: s.zelzer at dkfz-heidelberg.de (Sascha Zelzer) Date: Tue, 23 Nov 2010 10:26:41 +0100 Subject: [Ctk-developers] Changes to the buildsystem for external plug-in support Message-ID: <4CEB88D1.6040103@dkfz-heidelberg.de> Hi Folks, I would like to merge yet another couple of changes to the CTK buildsystem. They enable support for writing CTK plug-ins in external projects, which use CTK as a toolkit. The changes also improve the buildsystem for CTK itself. Here are the details: Branch: https://github.com/saschazelzer/CTK/commits/buildsystem Relevant commit: https://github.com/saschazelzer/CTK/commit/9a6381c9074d2a7a77967da50e2a4db237435dee Overview of changes: - Setup include directories inside a function (special support for non-CTK plug-ins added) - Use the above function in the ctkMacroBuild* macros - Added a check if plug-in dependencies exist at all (known_targets variable in ctkMacroValidateBuildOptions.cmake) - Smalle changes to ctkMacroValidateBuildOptions.cmake to generalize it so it is usable outside of CTK - Added a function (ctkFunctionSetupExternalPlugins.cmake) for easy configuration of plug-ins in external projects - Use the EXPORT CMake command and include the exports file in CTKConfig.cmake The last item in the list might be the one with the biggest overall influence, since it changes the way how CTK libraries are linked from inside external projects (i.e. Slicer). Thanks for your feedback, Sascha From jchris.fillionr at kitware.com Wed Nov 24 18:42:05 2010 From: jchris.fillionr at kitware.com (Jean-Christophe Fillion-Robin) Date: Wed, 24 Nov 2010 13:42:05 -0500 Subject: [Ctk-developers] Changes to the buildsystem for external plug-in support In-Reply-To: <4CEB88D1.6040103@dkfz-heidelberg.de> References: <4CEB88D1.6040103@dkfz-heidelberg.de> Message-ID: Seems good to me. I compiled the branch successfully and build Slicer against it without problem. Would be great if we could have very simple project, for example github.com/commontk/CTKPluginExample, illustrating how a plugin could be developed. Thks Jc On Tue, Nov 23, 2010 at 4:26 AM, Sascha Zelzer wrote: > Hi Folks, > > I would like to merge yet another couple of changes to the CTK buildsystem. > They enable support for writing CTK plug-ins in external projects, which use > CTK as a toolkit. The changes also improve the buildsystem for CTK itself. > Here are the details: > > Branch: https://github.com/saschazelzer/CTK/commits/buildsystem > Relevant commit: > https://github.com/saschazelzer/CTK/commit/9a6381c9074d2a7a77967da50e2a4db237435dee > > Overview of changes: > > - Setup include directories inside a function (special support for non-CTK > plug-ins added) > - Use the above function in the ctkMacroBuild* macros > - Added a check if plug-in dependencies exist at all (known_targets > variable in ctkMacroValidateBuildOptions.cmake) > - Smalle changes to ctkMacroValidateBuildOptions.cmake to generalize it so > it is usable outside of CTK > - Added a function (ctkFunctionSetupExternalPlugins.cmake) for easy > configuration of plug-ins in external projects > - Use the EXPORT CMake command and include the exports file in > CTKConfig.cmake > > The last item in the list might be the one with the biggest overall > influence, since it changes the way how CTK libraries are linked from inside > external projects (i.e. Slicer). > > Thanks for your feedback, > > Sascha > > _______________________________________________ > 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 s.zelzer at dkfz-heidelberg.de Wed Nov 24 19:54:03 2010 From: s.zelzer at dkfz-heidelberg.de (Sascha Zelzer) Date: Wed, 24 Nov 2010 20:54:03 +0100 Subject: [Ctk-developers] Changes to the buildsystem for external plug-in support In-Reply-To: References: <4CEB88D1.6040103@dkfz-heidelberg.de> Message-ID: <4CED6D5B.20704@dkfz-heidelberg.de> Good to hear :-) The example project is a good idea. I already created one for testing the changes: https://github.com/saschazelzer/CTKPluginProject I could polish it (add some more useful information) and move it to the commontk organization. Thanks, Sascha On 11/24/2010 07:42 PM, Jean-Christophe Fillion-Robin wrote: > Seems good to me. > I compiled the branch successfully and build Slicer against it without > problem. > > Would be great if we could have very simple project, for example > github.com/commontk/CTKPluginExample > , illustrating how a > plugin could be developed. > > Thks > Jc > > On Tue, Nov 23, 2010 at 4:26 AM, Sascha Zelzer > > wrote: > > Hi Folks, > > I would like to merge yet another couple of changes to the CTK > buildsystem. They enable support for writing CTK plug-ins in > external projects, which use CTK as a toolkit. The changes also > improve the buildsystem for CTK itself. Here are the details: > > Branch: https://github.com/saschazelzer/CTK/commits/buildsystem > Relevant commit: > https://github.com/saschazelzer/CTK/commit/9a6381c9074d2a7a77967da50e2a4db237435dee > > Overview of changes: > > - Setup include directories inside a function (special support > for non-CTK plug-ins added) > - Use the above function in the ctkMacroBuild* macros > - Added a check if plug-in dependencies exist at all > (known_targets variable in ctkMacroValidateBuildOptions.cmake) > - Smalle changes to ctkMacroValidateBuildOptions.cmake to > generalize it so it is usable outside of CTK > - Added a function (ctkFunctionSetupExternalPlugins.cmake) for > easy configuration of plug-ins in external projects > - Use the EXPORT CMake command and include the exports file in > CTKConfig.cmake > > The last item in the list might be the one with the biggest > overall influence, since it changes the way how CTK libraries are > linked from inside external projects (i.e. Slicer). > > Thanks for your feedback, > > Sascha > > _______________________________________________ > 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: