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 ===============================================================
248 https://stackoverflow.com/questions/16229297/why-is-the-c-standard-library-not-working
252 1. Cual es el mecanismo equivalente al .bashrc
253 2. La lectura de las variables del sistema del TPL esta funcionando pero no de creatools
254 3. Path en el archivo .sh para encontrar creatools , variables del sistema
255 4. Adicione links simbólicos en bin para encontrares bbi.app/.....
258 flags creaMararcasVisu
259 -fPIC -std=c++11 -Xpreprocessor -fopenmp -lomp -L/opt/local/lib/libomp
268 OpenGL Extensions Viewer
271 https://groups.google.com/forum/#!topic/wx-users/3EpM_oTUST8
274 port install gdk-pixbuf2 -x11
275 port install cairo +quartz
276 port install pango +quartz
277 port install gtk3 +quartz -x11
278 port install wxgtk-3.0 +quartz -x11
282 wxWidgets-3.0 wxWidgets-common, wxWidgets_select
284 https://gstreamer.freedesktop.org/documentation/tutorials/basic/toolkit-integration.html
285 https://mail.gnome.org/archives/gtk-app-devel-list/2015-March/msg00045.html
288 ../configure --with-macosx-version-min=10.8
290 ../configure --with-macosx-version-min=10.8 --prefix=/Users/davila/Creatis/creaTools/thirdparty_sources/wxWidgets-3.1.1/build-mac-install
293 #include <ciso646> // detect std::lib
294 #ifdef _LIBCPP_VERSION
296 #ifndef HAVE_TYPE_TRAITS
297 #define HAVE_TYPE_TRAITS 1
301 #ifndef HAVE_TR1_TYPE_TRAITS
302 #define HAVE_TR1_TYPE_TRAITS 1