# --------------------------------------------------------------------- # # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image # pour la Santé) # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton # # This software is governed by the CeCILL-B license under French law and # abiding by the rules of distribution of free software. You can use, # modify and/ or redistribute the software under the terms of the CeCILL-B # license as circulated by CEA, CNRS and INRIA at the following URL # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html # or in the file LICENSE.txt. # # As a counterpart to the access to the source code and rights to copy, # modify and redistribute granted by the license, users are provided only # with a limited warranty and the software's author, the holder of the # economic rights, and the successive licensors have only limited # liability. # # The fact that you are presently reading this means that you have had # knowledge of the CeCILL-B license and that you accept its terms. # ------------------------------------------------------------------------ * HOW TO PACKAGE THE FULL CREATOOLS SUITE ========================================= LG 09/01/09 Instructions written for CreaTools 2.0 packaging (Between parenthesis are the versions used for version 2.0) Requisites ---------- * CMake (2.6 patch 2) * ActiveTcl (8.5.4.0) * NSIS (Nullsoft Install System) Preliminaries ------------- * Uninstall previous crea_ThirdParty_dlls / crea_ThirdParty_Libraries * Create a packaging directory. It will be called ROOT below. * Create a src subdir Create crea_ThirdParty_Libraries-2.0.0.rar ------------------------------------------ 1) Download in ROOT/src the latest sources of: * itk (3.10.1) * vtk (5.2.1) * KWWidgets (nightly 09/01/2009) * wxWidgets (wxMSW-2.8.9-Setup.exe) 2) * Build and PACKAGE itk in 'RelWithDebInfo' configuration with options: (i.e. build the ALL_BUILD and PACKAGE projects) BUILD_EXAMPLES OFF BUILD_SHARED_LIBS ON BUILD_TESTING OFF * Copy the installer (ITK-3.10.1-win32.exe) from build tree to ROOT/crea_ThirdParty_Libraries-2.0.0 * Execute it 3) * Build and PACKAGE vtk in 'RelWithDebInfo' configuration with options: (i.e. build the ALL_BUILD and PACKAGE projects) BUILD_EXAMPLES OFF BUILD_SHARED_LIBS ON BUILD_TESTING OFF VTK_WRAP_TCL ON * Copy the installer (VTK-5.2.1-win32.exe) from build tree to ROOT/crea_ThirdParty_Libraries-2.0.0 * Execute it 4) * Build and **INSTALL** kwwidgets in 'RelWithDebInfo' configuration with options: (i.e. build the ALL_BUILD and INSTALL projects) CMAKE_INSTALL_PREFIX ROOT/crea_ThirdParty_Libraries-2.0.0/KWWidgets-090109 VTK_DIR the/install/dir/of/the/vtk/just/built/and/installed 5) * Build wxWidgets in 'DLL Debug' and 'DLL Release' configuration: * Execute the sources installer (install in ROOT/crea_ThirdParty_Libraries-2.0.0/) * Open the project ROOT/crea_ThirdParty_Libraries-2.0.0/wxWidgets-X.X.X/build/msw/wx_dll/dsw * Set configuration to 'DLL Debug' * Build all. Note : don't care about dbgrid link failure: From wx install instructions: 'Please notice that it's normal that dbgrid project doesn't build if wxUSE_ODBC is set to 0 (default).' * in ROOT/crea_ThirdParty_Libraries-2.0.0/wxWidgets-X.X.X : * Delete all folders except 'include' and 'lib' * Delete all files except 'wx-config.in' 6) * Build and **INSTALL** gdcm in 'RelWithDebInfo' configuration with options CMAKE_INSTALL_PREFIX ROOT/crea_ThirdParty_Libraries-2.0.0/gdcm-090109 BUILD_EXAMPLES OFF BUILD_EXAMPLES OFF GDCM_NAME_SPACE gdcm_1_3 GDCM_VTK ON 7) * Update the README.txt ! * Create the archive ROOT/crea_ThirdParty_Libraries-2.0.0.rar * copy it to tux in /var/www/html/software/creatools/crea_ThirdParty/v2_0 8) * Create crea_ThirdParty_dlls-2.0.0 installer * checkout crea_ThirdParty_dlls from creatis cvs * copy it to tux in /var/www/html/software/creatools/crea_ThirdParty/v2_0