Skip to main content
Home

Main navigation

  • News
    • All news
    • Seminars
  • Presentation
    • CREATIS
    • Organigram
    • People directory
    • Staff
    • Contacts
    • Access
  • Research
    • Research teams
    • Transversal projects
    • Structuring projects
    • Imaging platform
    • Activity reports
    • Data information note
  • Contributions
    • Publications
    • Patents
    • Software
  • Studies & Training
    • Implications dans les formations
    • Doctoral Studies
  • Jobs Opportunities
  • French French
  • English English
Search API form
User account menu
  • Account
    • Log in

Breadcrumb

  1. Accueil
  2. Install Creatools (v2.0.1) MacOs(10.5.6) Developer

Install Creatools (v2.0.1) MacOs(10.5.6) Developer



0. Install Xcode from your MacOS CD-Rom

 
1. Install macPorts
      http://www.macports.org/install.php
      http://guide.macports.org/
 
WARNING :
Better think to use menu.sh, in creaToolsTools/Linux ...
 

 
2. INSTALL EXTERNAL APPLICATIONS
       root> port install graphviz
       root> port install tetex  --> replaced by texlive
       root> port install tth
       root> port install doxygen
       root> port install gcc42         (..it's long..)

 
3. INSTALL EXTERNAL LIBRARIES 
       root> port install boost                  (..it's long..)
                   in  /opt/local/lib  create symbolic link to boost libraries: 
                   ln -s libboost_signals-xgcc40-mt-1_38.dylib libboost_signals.dylib  /opt/local/lib
                   ln -s libboost_filesystem-xgcc40-mt-1_38.dylib libboost_filesystem.dylib  /opt/local/lib
                   ln -s libboost_system-xgcc40-mt-1_38.dylib libboost_system.dylib  /opt/local/lib
       root> port install wxWidgets
       root> port install wxWidgets-devel
       root> port install vtk   (version 5 or later)
       root> port install InsightToolkit      (2.3 or later)
       root> port install qt4-mac
                in /opt/local/bin:
                    ln -s qmake-mac qmake  /opt/local/lib
       root> port install gt4-mac-devel  /opt/local/lib
 
    NOTE: if you need to compile the source, do this..
 
             CMAKE (choose between MakeFile  OR  Xcode)
                 - MakeFile
                       ccmake <source>                (ex.  ccmake ../vtk)
                       make
                       root> make install 
                 - Xcode
 
             ccmake -G"Xcode" <source>           (ex.  ccmake -G"Xcode" ../vtk)
                       xcodebuild   OR   open <XXX.xcodeproj>
 
                      root>xcodebuild -target install 
 
              - download wxMac
                      cd <wxMac>
                      mkdir Build_wxMac
                      cd Build_wxMac
                      ../configure
                      make
                      su root
                      make install   
                      exit
              - download VTK  (CMake options)
                      BUILD_SHARE_LIBS   ON
                      VTK_USE_CARBON    ON       <<<<<<<<
                      VTK_USE_COCOA      OFF      <<<<<<<<
                      CMAKE_CXX_COMPILER   /usr/bin/g++
                      VTK_USE_TCL  ON OFF  (just to active CPACK_BINARY_PACKAGEMAKER ) 
 
 
              - download ITK  (CMake options)
                      BUILD_DOXYGEN          OFF
                      BUILD_EXAMPLES        OFF
                      BUILD_SHARED_LIBS    ON
                      BUILD_TESTING            OFF

 
 

4. Configuring DYLD_LIBRARY_PATH   

   4.1 ~.profile
      export DYLD_LIBRARY_PATH=/usr/local/lib/vtk-5.2/:/usr/local/lib/InsightToolkit/:/usr/local/lib/gdcm/:
 
   4.2 Create and edit  the file
         ~.MacOs/environment.plist         or          ~.OpenStep/environment
         With /Developer/Applications/Utilities/Property List Editor.app    create the variables:
                PATH                STRING    /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/local/bin:
                DYLD_LIBRARY_PATH   STRING    /usr/local/lib/vtk-5.2/:/usr/local/lib/InsightToolkit/:/usr/local/lib/gdcm/:

   4.3 Reboot 



 
5. INSTALL INTERNAL LIBRARIES
    5.1. Download project (ex. from cvs) 
        - CMAKE (choose between MakeFile  OR  Xcode)
           - MakeFile
               [USER]ProjectBin> ccmake ../Project    (ex. [USER]CreaBin> ccmake ../Crea)
               [USER]ProjectBin> make
                     ...Configure options...
                    c-configure g-generate
               [USER]ProjectBin> su                  (optional)
               [ROOT]ProjectBin> make install     
 
          - Xcode
              ccmake -G"Xcode" <source>
              xcodebuild   OR   open <XXX.xcodeproj>
              root>xcodebuild -target install
 
       5.2. Dependencies and compile options
                     Dependencies and compile options for CMAKE >>
 
 
       5.3. Xcode Debug Package
             5.3.1. Run the project Xcode
             5.3.2. Add executable
                       - New Custom Executable
                            - name: bbStudio
                            - path: /usr/local/bin/bbStudio.app
 
              Executable "bbStudio" info
                    -variable environment
          DYLD_LIBRARY_PATH=/usr/local/lib/vtk-5.2/:/usr/local/lib/InsightToolkit/:/usr/local/lib/gdcm/:
 
 


6. Getting Started with CreaTools >>

 

Barre liens pratiques

  • Authentication
  • Intranet
  • Rss feed
  • Creatis on Twitter
  • Webmail
Home

Footer menu

  • Contact
  • Map
  • Newsletter
  • Legal Notices