1 # ---------------------------------------------------------------------
3 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
5 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
7 # This software is governed by the CeCILL-B license under French law and
8 # abiding by the rules of distribution of free software. You can use,
9 # modify and/ or redistribute the software under the terms of the CeCILL-B
10 # license as circulated by CEA, CNRS and INRIA at the following URL
11 # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
12 # or in the file LICENSE.txt.
14 # As a counterpart to the access to the source code and rights to copy,
15 # modify and redistribute granted by the license, users are provided only
16 # with a limited warranty and the software's author, the holder of the
17 # economic rights, and the successive licensors have only limited
20 # The fact that you are presently reading this means that you have had
21 # knowledge of the CeCILL-B license and that you accept its terms.
22 # ------------------------------------------------------------------------
26 #######################################
27 To install the CreaTools under Linux, use installscript.
28 menu.sh is deprecated. This script should not be used. (It will disappear in a near future.)
31 ===================================
32 Documentation for installscript
33 ===================================
35 Launch 'installscript' in command line to see the list of options.
37 ===== How to Install =======
39 A. Install your ssh key: https://www.creatis.insa-lyon.fr/mywiki/SSH
40 Note: -Put your key in .ssh directory.
41 -Change de right of your
44 B. Send an email to the web master Fabrice Bellet <fabrice.bellet@creatis.insa-lyon.fr>
45 to be include in the DataBase-GIT of Creatools.
51 .....That's all :-).....
56 ======= Update creatools =======
57 ./installscript creatools
64 ==========================================
65 ==========================================
66 ==========================================
69 Exemples of differents configurations :
72 ./installscript config
73 You can check the configuration in scripts/CreaTools-configure.sh
79 ./installscript creatools
85 ==========================================
86 ==========================================
87 ==========================================
90 Exemples of differents configurations :
93 ===== How to Install - HTML VERSION =======
95 ./installscript -os Fedora -ncore 8 -gdir $HOME/Creatis/creaTools -instprefix $HOME/Creatis/creaTools/creatools_install -instprefix3 $HOME/Creatis/creaTools/thirdparty_install -html -build Release config
101 ./installscript creatools
104 ===== How to Install - GIT VERSION =======
106 A. Install your ssh key: https://www.creatis.insa-lyon.fr/mywiki/SSH
107 Note: -Put your key in .ssh directory.
108 -Change de right of your
111 B. Send an email to the web master Fabrice Bellet <fabrice.bellet@creatis.insa-lyon.fr>
112 to be include in the DataBase-GIT of Creatools.
116 ./installscript -os Fedora -ncore 8 -gdir $HOME/Creatis/creaTools -instprefix $HOME/Creatis/creaTools/creatools_install -instprefix3 $HOME/Creatis/creaTools/thirdparty_install -git -build Release config
122 ./installscript creatools
129 ====================================
137 ./installscript -gdir $HOME/Creatis/All/creainstall config
139 ./installscript -git -ncore 4 -gdir $HOME/Creatis/All/creainstall config
142 # to configure / compile-install all packages and the creatools themselves
143 ./installscript -git -ncore 4 -gdir $HOME/work/creatools/creainstall all
145 # compile-install only one part (vtk for example) ONCE CONFIG HAS BEEN RUN
146 ./installscript 3rd-vtk
149 -- If you choose Git:
150 You must have shared your public key on Git CREATIS server.
151 To do so, send your public SSH key to Fabrice Bellet specifying the Git repository name. You need to do it for the Git server, even if you already did it for the CVS or SVN server.
155 ===================================
156 Documentation for menu.sh
157 ===================================
159 Use always bash (never use sh!)
163 You will be prompted to say what you want to do :
165 Configure :........................0
166 Install Third Party Libraries :....1 (as root)
167 Get and Install the 'CreaTools':...2
169 Get the 'CreaTools' source files :.2.1 (GIT : as user!)
170 Compile the CreaTools :..........2.2
171 Install the CreaTools :..........2.3
173 Use compact menu :.................5
175 Use expanded menu :................5
176 Uninstall the CreaTools :..........6
177 Help ..............................7 Help about this menu
179 Show some Environment Variables ...8
180 Exit :.............................9
183 B) As a user, choose 'Configure' (0)
185 You will be prompted to give your preferences :
187 "Operating System : Fedora/Ubuntu/MacOS"
189 "Name of the Generation Directory"
190 "Boolean for Doc Generation : YES/NO"
191 "Where do you want to get source files from : GIT/HTML"
194 1/ you must have shared your public key on CREATIS server
199 "Build type : Release/Debug"
200 "Gdcm version : GDCM1/GDCM2"
201 "ITK version : ITK3/ITK4"
203 Note : Currently, only GDCM1 and ITK 3 are supported.
205 C) - Exit the menu (9).
206 - Switch as root and run 'bash menu.sh'.
207 - Choose 'Install Third Party Libraries' (1).
208 - Close the terminal window.
210 D) - Open a new terminal window.
212 - Launch 'bash menu.sh'.
213 - Choose 'Get and Install the CreaTools source files' (2).
214 - Close the terminal window.
216 E) Open a new terminal window.
217 You can work, by launching creaTools.sh!
233 ===============================================================
234 ===============================================================
235 ===============================================================
236 ===============================================================
241 https://trac.macports.org/wiki/Migration
242 xcode-select --install
244 -MacPort install last version
245 https://www.macports.org/install.php
248 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/bin/wx-config
249 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/bin/wxrc-3.0
251 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/3.0/bin/wx-config
252 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/3.0/bin/wxrc-3.0
255 /Users/davila/Creatis/C9/tpli/lib/cmake/vtk-8.2
256 ===============================================================
257 ===============================================================
258 ===============================================================
259 ===============================================================
271 https://stackoverflow.com/questions/16229297/why-is-the-c-standard-library-not-working
275 1. Cual es el mecanismo equivalente al .bashrc
276 2. La lectura de las variables del sistema del TPL esta funcionando pero no de creatools
277 3. Path en el archivo .sh para encontrar creatools , variables del sistema
278 4. Adicione links simbólicos en bin para encontrares bbi.app/.....
281 flags creaMararcasVisu
282 -fPIC -std=c++11 -Xpreprocessor -fopenmp -lomp -L/opt/local/lib/libomp
291 OpenGL Extensions Viewer
294 https://groups.google.com/forum/#!topic/wx-users/3EpM_oTUST8
299 port install gdk-pixbuf2 -x11
300 port install cairo +quartz
301 port install pango +quartz
302 port install gtk3 +quartz -x11
303 port install wxgtk-3.0 +quartz -x11
305 port install gtk-osx-application-gtk3
310 port install wxgtk-3.0
312 commontair in creaRTTI.cxx : run_time_up_or_down_cast. --->>> abi::__class_type_info
314 -----------------------------------------------
316 wxWidgets-3.0 wxWidgets-common, wxWidgets_select
318 https://gstreamer.freedesktop.org/documentation/tutorials/basic/toolkit-integration.html
319 https://mail.gnome.org/archives/gtk-app-devel-list/2015-March/msg00045.html
322 ../configure --with-macosx-version-min=10.8
324 ../configure --with-macosx-version-min=10.8 --prefix=/Users/davila/Creatis/creaTools/thirdparty_sources/wxWidgets-3.1.1/build-mac-install
327 #include <ciso646> // detect std::lib
328 #ifdef _LIBCPP_VERSION
330 #ifndef HAVE_TYPE_TRAITS
331 #define HAVE_TYPE_TRAITS 1
335 #ifndef HAVE_TR1_TYPE_TRAITS
336 #define HAVE_TR1_TYPE_TRAITS 1