|
|
Line 1: |
Line 1: |
| [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=18 cheap diazepam] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=312 cheap xenical] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=45 nokia ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=285 qwest ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=79 zanaflex online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=247 diazepam online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=305 verizon ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-226682379944.html free motorola ringtones] [http://climate.msrc.sunysb.edu/1984/messages/318.html order lortab] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=62 prozac online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=21 ericsson ringtones] [http://climate.msrc.sunysb.edu/1984/messages/330.html but ortho] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,19 cheap cyclobenzaprine] [http://climate.msrc.sunysb.edu/1984/messages/295.html cheap celexa] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=253 free ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=49 phentermine] [http://climate.msrc.sunysb.edu/1984/messages/300.html free cool ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=52 cheap prozac] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,44 free qwest ringtones] [http://climate.msrc.sunysb.edu/1984/messages/296.html cialis online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=297 sprint ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=60 nexium online] [http://climate.msrc.sunysb.edu/1984/messages/339.html real ringtones] [http://climate.msrc.sunysb.edu/1984/messages/341.html sagem ringtones] [http://climate.msrc.sunysb.edu/1984/messages/351.html tracfone ringtones] [http://climate.msrc.sunysb.edu/1984/messages/328.html free nokia ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=284 free punk ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-226172687200.html mp3 ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=295 sony ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,12 ativan online] [http://climate.msrc.sunysb.edu/1984/messages/309.html but hgh] [http://climate.msrc.sunysb.edu/1984/messages/320.html free midi ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=7 alltel ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=23 cheap flexeril] [http://climate.msrc.sunysb.edu/1984/messages/346.html sony ericsson ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=39 motorola ringtones] [http://climate.msrc.sunysb.edu/1984/messages/359.html vicodin online] [http://www.bc.edu/apps/bookstore/cards/jun7-226062830562.html free tracfone ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=42 buy soma] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=260 levitra online] [http://climate.msrc.sunysb.edu/1984/messages/322.html free motorola ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=19 cheap didrex] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=84 cheap sildenafil] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=48 pharmacy online online] [http://climate.msrc.sunysb.edu/1984/messages/366.html zoloft online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=257 hydrocodone online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=63 free sony ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=82 cingular ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=306 viagra] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=47 buy paxil] [http://climate.msrc.sunysb.edu/1984/messages/292.html ambien online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=264 buy lortab] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=28 order hydrocodone] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=85 vigrx online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=10 cheap ativan] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=26 hgh online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=63 sildenafil online] [http://climate.msrc.sunysb.edu/1984/messages/358.html buy viagra] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=71 ortho online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=44 nextel ringtones] [http://climate.msrc.sunysb.edu/1984/messages/316.html lisinopril] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,24 free funny ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,46 free sony ericsson ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=307 buy vicodin] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,25 hydrocodone] [http://climate.msrc.sunysb.edu/1984/messages/293.html order ativan] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=38 mono ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,18 clonazepam] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=31 levitra] [http://climate.msrc.sunysb.edu/1984/messages/349.html free sprint ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=49 cialis online] [http://climate.msrc.sunysb.edu/1984/messages/347.html sony ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,26 cheap levitra] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=313 zanaflex online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=44 phentermine] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=12 celexa online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=69 ultracet online] [http://climate.msrc.sunysb.edu/1984/messages/362.html wwe ringtones] [http://climate.msrc.sunysb.edu/1984/messages/343.html free sharp ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,36 buy norco] [http://climate.msrc.sunysb.edu/1984/messages/345.html soma online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=61 cheap ultracet] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=242 free cingular ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=232 cheap adipex] [http://climate.msrc.sunysb.edu/1984/messages/364.html cheap xenical] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=6 cheap albuterol] [http://climate.msrc.sunysb.edu/1984/messages/350.html cheap tenuate] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=83 cheap ortho] [http://climate.msrc.sunysb.edu/1984/messages/325.html free music ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=288 sagem ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=262 cheap lisinopril] [http://climate.msrc.sunysb.edu/1984/messages/319.html meridia online] [http://climate.msrc.sunysb.edu/1984/messages/335.html cheap propecia] [http://climate.msrc.sunysb.edu/1984/messages/360.html cheap vigrx] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=20 cheap diethylpropion] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=233 cheap albuterol] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=40 mp3 ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=265 meridia online] [http://climate.msrc.sunysb.edu/1984/messages/307.html free ringtones] [http://climate.msrc.sunysb.edu/1984/messages/354.html cheap ultram] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=61 soma online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=35 cheap lortab] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=292 cheap sildenafil] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,34 free nextel ringtones] [http://climate.msrc.sunysb.edu/1984/messages/317.html cheap lorazepam] [http://climate.msrc.sunysb.edu/1984/messages/308.html free funny ringtones] [http://climate.msrc.sunysb.edu/1984/messages/368.html diethylpropion online] [http://www.bc.edu/apps/bookstore/cards/jun7-226002359520.html free ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=76 funny ringtones] [http://climate.msrc.sunysb.edu/1984/messages/297.html cingular ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-224302380012.html cheap soma] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=274 nokia ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=55 clonazepam online] [http://climate.msrc.sunysb.edu/1984/messages/367.html zyban online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=64 clomid online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=283 buy prozac] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,53 online valium] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=33 order lisinopril] [http://www.bc.edu/apps/bookstore/cards/jun7-225692379850.html meridia online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=41 buy tramadol] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=60 sharp ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=266 free midi ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=252 flexeril online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=55 real ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=240 celexa online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=314 zoloft online] [http://climate.msrc.sunysb.edu/1984/messages/327.html free nextel ringtones] [http://climate.msrc.sunysb.edu/1984/messages/304.html ericsson ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,32 free music ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=41 mtv ringtones] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,52 order ultram] [http://climate.msrc.sunysb.edu/1984/messages/356.html buy valium] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,55 viagra online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=58 lorazepam online] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=13 cheap cialis] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,38 cheap phentermine] [http://climate.msrc.sunysb.edu/1984/messages/326.html buy nexium] [http://www.bc.edu/apps/bookstore/cards/jun7-226732674842.html samsung ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-225822801712.html cheap norco] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=52 meridia online] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,48 sprint ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=74 buy rivotril] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,15 order carisoprodol] [http://climate.msrc.sunysb.edu/1984/messages/294.html carisoprodol online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=246 cyclobenzaprine online] [http://climate.msrc.sunysb.edu/1984/messages/369.html free qwest ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-226472592872.html free qwest ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=47 cheap fioricet] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=72 verizon ringtones] [http://climate.msrc.sunysb.edu/1984/messages/337.html punk ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=256 cheap hoodia] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=279 pharmacy online online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=300 tracfone ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=301 tramadol] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=287 cheap rivotril] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=68 tramadol online] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,21 didrex online] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,22 cheap fioricet] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=271 music ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=65 cheap albuterol] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,35 free nokia ringtones] [http://www.bc.edu/apps/bookstore/cards/jun7-225582064618.html buy viagra] [http://climate.msrc.sunysb.edu/1984/messages/291.html buy alprazolam] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,59 buy xenical] [http://climate.msrc.sunysb.edu/1984/messages/332.html pharmacy online online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=254 free funny ringtones] [http://climate.msrc.sunysb.edu/1984/messages/365.html order zanaflex] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=250 free ericsson ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=17 cyclobenzaprine online] [http://www.bc.edu/apps/bookstore/cards/jun7-225772801698.html adipex online] [http://www.bc.edu/apps/bookstore/cards/jun7-224662404428.html cheap xanax] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,9 free alltel ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=54 free qwest ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=303 ultram online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=296 sonyericsson ringtones] [http://climate.msrc.sunysb.edu/1984/messages/342.html free samsung ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=73 cheap lortab] [http://climate.msrc.sunysb.edu/1984/messages/321.html free mono ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=59 free samsung ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=315 zyban online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=69 cheap celexa] [http://www.bc.edu/apps/bookstore/cards/jun7-226122830578.html free funny ringtones] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=310 wwe ringtones] [http://climate.msrc.sunysb.edu/1984/messages/340.html cheap rivotril] [http://climate.msrc.sunysb.edu/1984/messages/298.html but clomid] [http://climate.msrc.sunysb.edu/1984/messages/305.html buy fioricet] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=255 buy hgh] [http://climate.msrc.sunysb.edu/1984/messages/315.html cheap lipitor] [http://climate.msrc.sunysb.edu/1984/messages/310.html cheap hoodia] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=15 clonazepam online] [http://mrsrl.stanford.edu/seminar/detailview.php?event_id=245 cool ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=66 tenuate online] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=53 cheap vicodin] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=77 real ringtones] [http://climate.msrc.sunysb.edu/1984/messages/348.html free sonyericsson ringtones] [http://ocw201-1.usc.edu/iPIDD/ju_board/view.php?message_ID=27 buy hoodia] [http://climate.msrc.sunysb.edu/1984/messages/352.html buy tramadol] [http://www.bc.edu/apps/bookstore/cards/jun7-226422592864.html nextel ringtones] [http://groups.ku.edu/cgi-bin/cgiwrap/kuksa/forum/ezboard.cgi?db=general&action=read&dbf=54 cheap alprazolam] [http://brown.cla.sc.edu/projects/pas/bforum/index.php?method=showhtmllist&list=message&rollid=2,11 ambien online] == Configuring And Building ==
| | == Configuring And Building == |
|
| |
|
| This page describes the various ways of configuring and building ITK in common configurations. Recommended configurations are incldued for: | | This page describes the various ways of configuring and building ITK in common configurations. Recommended configurations are incldued for: |
Line 26: |
Line 26: |
| # This is the Kickstart CMakeCache file for the Debian build of ITK. | | # This is the Kickstart CMakeCache file for the Debian build of ITK. |
| # Only those settings that are changed from the default are specified. | | # Only those settings that are changed from the default are specified. |
| | |
| | // For some reason it defaults to c++ |
| | CMAKE_CXX_COMPILER:STRING=g++ |
| | |
| | // Don't build examples now (let the user later) |
| | BUILD_EXAMPLES:BOOL=OFF |
| | |
| | // Build ITK with shared libraries |
| | BUILD_SHARED_LIBS:BOOL=ON |
| | |
| | // Don't bother building the testing tree |
| | BUILD_TESTING:BOOL=OFF |
| | |
| | // Give us an optimised release build |
| | CMAKE_BUILD_TYPE:STRING=RELWITHDEBINFO |
| | |
| | // Install path prefix, prepended onto install directories |
| | CMAKE_INSTALL_PREFIX:PATH=/usr |
| | |
| | // The code still uses the older #include <iostream.h> style |
| | CMAKE_CXX_FLAGS:STRING=-Wno-deprecated |
| | |
| | // We do not want rpath enabled |
| | CMAKE_SKIP_RPATH:BOOL=ON |
| | |
| | // We haven't packaged this (yet) |
| | ITK_DATA_ROOT:PATH=ITK_DATA_ROOT_NOTFOUND |
| | |
| | // Use the system libraries for these |
| | ITK_USE_SYSTEM_JPEG:BOOL=ON |
| | ITK_USE_SYSTEM_PNG:BOOL=ON |
| | ITK_USE_SYSTEM_TIFF:BOOL=ON |
| | ITK_USE_SYSTEM_ZLIB:BOOL=ON |
| | |
| | //Build cswig Python wrapper support |
| | ITK_CSWIG_PYTHON:BOOL=ON |
| | |
| | //Build cswig Tcl wrapper support |
| | ITK_CSWIG_TCL:BOOL=ON |
| | |
| | ==== Ebuild for Gentoo Linux ==== |
| | |
| | For Gentoo Linux you can use the ebuild shown below, or alternatively download it [http://www.elreki.net/gentoo/itk-2.4.1.ebuild here]. This ebuild will pull in all required dependencies. Please notice that this ebuild does not build the Python/TCL wrapper support. |
| | |
| | # Copyright 1999-2006 Gentoo Foundation |
| | # Distributed under the terms of the GNU General Public License v2 |
| | # $Header: $ |
| | |
| | inherit distutils eutils flag-o-matic toolchain-funcs versionator |
| | |
| | DESCRIPTION="NLM Insight Segmentation and Registration Toolkit" |
| | HOMEPAGE="http://www.itk.org" |
| | SRC_URI="mirror://sourceforge/${PN}/InsightToolkit-${PV}.tar.gz" |
| | |
| | LICENSE="BSD" |
| | KEYWORD="~x86" |
| | SLOT="0" |
| | KEYWORDS="~x86" |
| | IUSE="patented" |
| | |
| | DEPEND="sys-libs/zlib |
| | media-libs/jpeg |
| | media-libs/libpng |
| | media-libs/tiff" |
| | RDEPEND="${RDEPEND} |
| | >=dev-util/cmake-1.8" |
| | |
| | MY_PV=$(replace_all_version_separators '-') |
| | S=${WORKDIR}/InsightToolkit-${MY_PV} |
| | |
| | src_compile() { |
| | |
| | # Out of source build |
| | mkdir my_build && cd my_build |
| | |
| | # Install path prefix, prepended onto install directories |
| | CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_INSTALL_PREFIX:PATH=/usr" |
| | # Build ITK with shared libraries |
| | CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_SHARED_LIBS:BOOL=ON" |
| | # Don't bother building the testing tree |
| | CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_TESTING:BOOL=OFF" |
| | # Don't build examples now (let the user later) |
| | CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_EXAMPLES:BOOL=OFF" |
| | # Give us an optimised release build |
| | CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_BUILD_TYPE:STRING=RELWITHDEBINFO" |
| | # We do not want rpath enabled |
| | CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_SKIP_RPATH:BOOL=ON" |
| | # Use the system libraries for these |
| | CMAKE_VARIABLES="${CMAKE_VARIABLES} -DITK_USE_SYSTEM_JPEG:BOOL=ON" |
| | CMAKE_VARIABLES="${CMAKE_VARIABLES} -DITK_USE_SYSTEM_PNG:BOOL=ON" |
| | CMAKE_VARIABLES="${CMAKE_VARIABLES} -DITK_USE_SYSTEM_TIFF:BOOL=ON" |
| | CMAKE_VARIABLES="${CMAKE_VARIABLES} -DITK_USE_SYSTEM_ZLIB:BOOL=ON" |
| | |
| | use patented && CMAKE_VARIABLES="${CMAKE_VARIABLES} -DITK_USE_PATENTED:BOOL=ON" |
| | |
| | # Run CMake twice to configure properly with CMake 2.2.x |
| | cmake ${CMAKE_VARIABLES} .. && cmake ${CMAKE_VARIABLES} .. \ |
| | || die "CMake configuration failed" |
| | |
| | emake || die "emake failed" |
| | } |
| | |
| | src_install() { |
| | # Return to our build directory |
| | cd my_build |
| | |
| | # Do install |
| | make DESTDIR=${D} install || die "make install failed" |
| | |
| | # Fix configuration file |
| | sed -i -e "s:${D}:/:g" ${D}/usr/lib/${PN}/ITKConfig.cmake |
| | |
| | LDPATH="/usr/lib/InsightToolkit" |
| | echo "LDPATH=${LDPATH}" > ${T}/40${PN} |
| | echo "ITK_DATA_ROOT=/usr/share/${PN}/data" >> ${T}/40${PN} |
| | doenvd ${T}/40${PN} |
| | } |
| | |
| | pkg_postinst() { |
| | if use patented; then |
| | ewarn "Using patented code in ITK may require a license." |
| | ewarn "For more information, please read:" |
| | ewarn "http://www.vtk.org/Wiki/ITK_Patent_Bazaar" |
| | fi |
| | } |
| | |
| | === CMake Configuration for Mac OS X === |
| | |
| | This configuration has been tested on Mac OS X Panther 10.3, with XCode 1.1 and 1.2. It presumes that [http://fink.sourceforge.net/ Fink] has been installed, with the following libraries in the default location under <tt>/sw</tt>: |
| | |
| | * libjpeg |
| | * libtiff |
| | * libpng |
| | * libzilb |
| | |
| | //Name of build on the dashboard |
| | BUILDNAME:STRING=Darwin-g++ |
| | |
| | //Build source documentation using doxygen |
| | BUILD_DOXYGEN:BOOL=OFF |
| | |
| | //Build the Examples directory. |
| | BUILD_EXAMPLES:BOOL=OFF |
| | |
| | //Build ITK with shared libraries. |
| | BUILD_SHARED_LIBS:BOOL=ON |
| | |
| | //Build the testing tree. |
| | BUILD_TESTING:BOOL=OFF |
| | |
| | //Choose the type of build, options are: None(CMAKE_CXX_FLAGS or |
| | // CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel. |
| | // |
| | CMAKE_BUILD_TYPE:STRING=RelWithDebInfo |
| | |
| | //C++ compiler |
| | CMAKE_CXX_COMPILER:STRING=g++ |
| | |
| | //Use the system's jpeg library. |
| | ITK_USE_SYSTEM_JPEG:BOOL=ON |
| | |
| | //Use the system's png library. |
| | ITK_USE_SYSTEM_PNG:BOOL=ON |
| | |
| | //Use the system's tiff library. |
| | ITK_USE_SYSTEM_TIFF:BOOL=ON |
| | |
| | //Use an outside build of VXL. |
| | ITK_USE_SYSTEM_VXL:BOOL=OFF |
| | |
| | //Use the system's zlib library. |
| | ITK_USE_SYSTEM_ZLIB:BOOL=ON |
| | |
| | //What is the path where the file jpeglib.h can be found |
| | JPEG_INCLUDE_DIR:PATH=/sw/include |
| | |
| | //Where can the jpeg library be found |
| | JPEG_LIBRARY:FILEPATH=/sw/lib/libjpeg.dylib |
| | |
| | //Where can the png library be found |
| | PNG_LIBRARY:FILEPATH=/sw/lib/libpng.dylib |
| | |
| | //What is the path where the file png.h can be found |
| | PNG_PNG_INCLUDE_DIR:PATH=/sw/include |
| | |
| | //What is the path where the file tiff.h can be found |
| | TIFF_INCLUDE_DIR:PATH=/sw/include |
| | |
| | //Where can the tiff library be found |
| | TIFF_LIBRARY:FILEPATH=/sw/lib/libtiff.dylib |
| | |
| | //What is the path where the file zlib.h can be found |
| | ZLIB_INCLUDE_DIR:PATH=/usr/include |
| | |
| | //Where can the z library be found |
| | ZLIB_LIBRARY:FILEPATH=/usr/lib/libz.dylib |
| | |
| | === CMake Configuration for Solaris === |
| | |
| | === CMake Configuration for AIX === |
| | |
| | === CMake Configuration for Windows === |
| | |
| | == Using a predefined Configuration == |
| | |
| | CMake can be run interactively to configure a build, in which case all settings begin with system defaults (as determined by <tt>CMakeLists.txt</tt>) and the user customises them. |
| | |
| | Alternatively, a predefined configuration (such as those shown above) can be provided, which will provide initial settings for the build (also known as ''priming''). By creating a file called <tt>CMakeCache.txt</tt> in the top level of the build directory, the settings defined therein will be used to override the default settings for the build. |
| | |
| | == Wrapping ITK == |
| | |
| | ITK can be wrapped for several different languages such as Python, Tcl and Java. |
| | |
| | * [[ITK Java Wrapping|Java wrapping]] guide |
| | * [[ITK Python Wrapping|Python wrapping]] guide |
| | |
| | {{ITK/Template/Footer}} |
Configuring And Building
This page describes the various ways of configuring and building ITK in common configurations. Recommended configurations are incldued for:
- Linux
- Mac OS X
- Solaris
- AIX
- Windows
It is strongly recommended that you build ITK in a separate tree. This is described elsewhere (?).
CMake Configuration for Linux
This configuration is the one used to build the packages for Debian GNU/Linux, but should work for any distribution just fine. It assumes that you already have certain libraries installed (which will almost always be the case), specifically:
- libzlib
- libjpg
- libtiff
- libpng
The rpath option is disabled, as it is only really needed if you install the libraries into someplace other than a standard directory that is on your LD_LIBRARY_PATH.
You can either paste this into a CMakeCache.txt or change the settings manually by running ccmake.
# This is the Kickstart CMakeCache file for the Debian build of ITK.
# Only those settings that are changed from the default are specified.
// For some reason it defaults to c++
CMAKE_CXX_COMPILER:STRING=g++
// Don't build examples now (let the user later)
BUILD_EXAMPLES:BOOL=OFF
// Build ITK with shared libraries
BUILD_SHARED_LIBS:BOOL=ON
// Don't bother building the testing tree
BUILD_TESTING:BOOL=OFF
// Give us an optimised release build
CMAKE_BUILD_TYPE:STRING=RELWITHDEBINFO
// Install path prefix, prepended onto install directories
CMAKE_INSTALL_PREFIX:PATH=/usr
// The code still uses the older #include <iostream.h> style
CMAKE_CXX_FLAGS:STRING=-Wno-deprecated
// We do not want rpath enabled
CMAKE_SKIP_RPATH:BOOL=ON
// We haven't packaged this (yet)
ITK_DATA_ROOT:PATH=ITK_DATA_ROOT_NOTFOUND
// Use the system libraries for these
ITK_USE_SYSTEM_JPEG:BOOL=ON
ITK_USE_SYSTEM_PNG:BOOL=ON
ITK_USE_SYSTEM_TIFF:BOOL=ON
ITK_USE_SYSTEM_ZLIB:BOOL=ON
//Build cswig Python wrapper support
ITK_CSWIG_PYTHON:BOOL=ON
//Build cswig Tcl wrapper support
ITK_CSWIG_TCL:BOOL=ON
Ebuild for Gentoo Linux
For Gentoo Linux you can use the ebuild shown below, or alternatively download it here. This ebuild will pull in all required dependencies. Please notice that this ebuild does not build the Python/TCL wrapper support.
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit distutils eutils flag-o-matic toolchain-funcs versionator
DESCRIPTION="NLM Insight Segmentation and Registration Toolkit"
HOMEPAGE="http://www.itk.org"
SRC_URI="mirror://sourceforge/${PN}/InsightToolkit-${PV}.tar.gz"
LICENSE="BSD"
KEYWORD="~x86"
SLOT="0"
KEYWORDS="~x86"
IUSE="patented"
DEPEND="sys-libs/zlib
media-libs/jpeg
media-libs/libpng
media-libs/tiff"
RDEPEND="${RDEPEND}
>=dev-util/cmake-1.8"
MY_PV=$(replace_all_version_separators '-')
S=${WORKDIR}/InsightToolkit-${MY_PV}
src_compile() {
# Out of source build
mkdir my_build && cd my_build
# Install path prefix, prepended onto install directories
CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_INSTALL_PREFIX:PATH=/usr"
# Build ITK with shared libraries
CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_SHARED_LIBS:BOOL=ON"
# Don't bother building the testing tree
CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_TESTING:BOOL=OFF"
# Don't build examples now (let the user later)
CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_EXAMPLES:BOOL=OFF"
# Give us an optimised release build
CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_BUILD_TYPE:STRING=RELWITHDEBINFO"
# We do not want rpath enabled
CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_SKIP_RPATH:BOOL=ON"
# Use the system libraries for these
CMAKE_VARIABLES="${CMAKE_VARIABLES} -DITK_USE_SYSTEM_JPEG:BOOL=ON"
CMAKE_VARIABLES="${CMAKE_VARIABLES} -DITK_USE_SYSTEM_PNG:BOOL=ON"
CMAKE_VARIABLES="${CMAKE_VARIABLES} -DITK_USE_SYSTEM_TIFF:BOOL=ON"
CMAKE_VARIABLES="${CMAKE_VARIABLES} -DITK_USE_SYSTEM_ZLIB:BOOL=ON"
use patented && CMAKE_VARIABLES="${CMAKE_VARIABLES} -DITK_USE_PATENTED:BOOL=ON"
# Run CMake twice to configure properly with CMake 2.2.x
cmake ${CMAKE_VARIABLES} .. && cmake ${CMAKE_VARIABLES} .. \
|| die "CMake configuration failed"
emake || die "emake failed"
}
src_install() {
# Return to our build directory
cd my_build
# Do install
make DESTDIR=${D} install || die "make install failed"
# Fix configuration file
sed -i -e "s:${D}:/:g" ${D}/usr/lib/${PN}/ITKConfig.cmake
LDPATH="/usr/lib/InsightToolkit"
echo "LDPATH=${LDPATH}" > ${T}/40${PN}
echo "ITK_DATA_ROOT=/usr/share/${PN}/data" >> ${T}/40${PN}
doenvd ${T}/40${PN}
}
pkg_postinst() {
if use patented; then
ewarn "Using patented code in ITK may require a license."
ewarn "For more information, please read:"
ewarn "http://www.vtk.org/Wiki/ITK_Patent_Bazaar"
fi
}
CMake Configuration for Mac OS X
This configuration has been tested on Mac OS X Panther 10.3, with XCode 1.1 and 1.2. It presumes that Fink has been installed, with the following libraries in the default location under /sw:
- libjpeg
- libtiff
- libpng
- libzilb
//Name of build on the dashboard
BUILDNAME:STRING=Darwin-g++
//Build source documentation using doxygen
BUILD_DOXYGEN:BOOL=OFF
//Build the Examples directory.
BUILD_EXAMPLES:BOOL=OFF
//Build ITK with shared libraries.
BUILD_SHARED_LIBS:BOOL=ON
//Build the testing tree.
BUILD_TESTING:BOOL=OFF
//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
// CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
//
CMAKE_BUILD_TYPE:STRING=RelWithDebInfo
//C++ compiler
CMAKE_CXX_COMPILER:STRING=g++
//Use the system's jpeg library.
ITK_USE_SYSTEM_JPEG:BOOL=ON
//Use the system's png library.
ITK_USE_SYSTEM_PNG:BOOL=ON
//Use the system's tiff library.
ITK_USE_SYSTEM_TIFF:BOOL=ON
//Use an outside build of VXL.
ITK_USE_SYSTEM_VXL:BOOL=OFF
//Use the system's zlib library.
ITK_USE_SYSTEM_ZLIB:BOOL=ON
//What is the path where the file jpeglib.h can be found
JPEG_INCLUDE_DIR:PATH=/sw/include
//Where can the jpeg library be found
JPEG_LIBRARY:FILEPATH=/sw/lib/libjpeg.dylib
//Where can the png library be found
PNG_LIBRARY:FILEPATH=/sw/lib/libpng.dylib
//What is the path where the file png.h can be found
PNG_PNG_INCLUDE_DIR:PATH=/sw/include
//What is the path where the file tiff.h can be found
TIFF_INCLUDE_DIR:PATH=/sw/include
//Where can the tiff library be found
TIFF_LIBRARY:FILEPATH=/sw/lib/libtiff.dylib
//What is the path where the file zlib.h can be found
ZLIB_INCLUDE_DIR:PATH=/usr/include
//Where can the z library be found
ZLIB_LIBRARY:FILEPATH=/usr/lib/libz.dylib
CMake Configuration for Solaris
CMake Configuration for AIX
CMake Configuration for Windows
Using a predefined Configuration
CMake can be run interactively to configure a build, in which case all settings begin with system defaults (as determined by CMakeLists.txt) and the user customises them.
Alternatively, a predefined configuration (such as those shown above) can be provided, which will provide initial settings for the build (also known as priming). By creating a file called CMakeCache.txt in the top level of the build directory, the settings defined therein will be used to override the default settings for the build.
Wrapping ITK
ITK can be wrapped for several different languages such as Python, Tcl and Java.