Changeset 4841


Ignore:
Timestamp:
02/24/09 16:56:28 (11 years ago)
Author:
curtis
Message:

Some work on Mac OS X compilation directions for bf-cpp.

Location:
trunk/components/native/bf-cpp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/native/bf-cpp/CMakeLists.txt

    r4827 r4841  
    4848set(Boost_USE_STATIC_LIBS OFF) 
    4949set(Boost_USE_MULTITHREAD ON) 
     50set(Boost_ADDITIONAL_VERSIONS 1.38) 
    5051find_package(Boost COMPONENTS thread REQUIRED) 
    5152message("-- Boost:") 
  • trunk/components/native/bf-cpp/readme.txt

    r4827 r4841  
    4343 
    4444 
    45 INSTALLING COMPILE-TIME DEPENDENCIES 
     45INSTALLING COMPILE-TIME DEPENDENCIES -- ALL 
    4646 
    47 To install many of these dependencies on Debian-based Linux, execute: 
    48  
    49   sudo apt-get install ant cmake boost-thread-dev subversion sun-java6-jre 
    50  
    51 Other Linux flavors may have similar packages available; check your package 
    52 manager. Windows and Mac OS X users will need to visit the appropriate web 
    53 sites and download and install the relevant binaries. 
    54  
    55 You will also need to check out the latest Jace source code: 
     47Regardless of your platform, you will need to check out the Jace source code: 
    5648 
    5749  svn co https://jace.svn.sourceforge.net/svnroot/jace/trunk /path/to/jace 
     
    6254installed. It should also work fine to plug in the above URL to any graphical 
    6355Subversion client (e.g., TortoiseSVN). 
     56 
     57 
     58INSTALLING COMPILE-TIME DEPENDENCIES -- LINUX 
     59 
     60To install many of these dependencies on Debian-based Linux, execute: 
     61 
     62  sudo apt-get install ant cmake boost-thread-dev subversion sun-java6-jre 
     63 
     64Other Linux flavors may have similar packages available; check your package 
     65manager. 
     66 
     67 
     68INSTALLING COMPILE-TIME DEPENDENCIES -- MAC OS X 
     69 
     70Mac OS X users will need to visit the appropriate web sites and download and 
     71install the relevant binaries for Ant, CMake and Subversion. 
     72 
     73To install the Boost Thread library, follow these steps: 
     74 
     751) Visit www.boost.org in your web browser. 
     762) Click the "Getting Started Guide" link. 
     773) Click the "Getting Started on Unix variants" link in the lower right corner. 
     784) Download the Boost distribution using the link in the "1 Get Boost" section. 
     795) Unpack the Boost distribution into a temporary directory; e.g.: 
     80 
     81  tar xjf boost_1_38_0.tar.bz2 
     82 
     836) Build the source using the "Easy Build and Install"; e.g.: 
     84 
     85  cd boost_1_38_0 
     86  sudo ./configure 
     87  sudo make install 
     88 
     89This will install Boost into a subdirectory of /usr/local; e.g.: 
     90 
     91  /usr/local/include/boost-1_38 
     92 
     937) Edit CMakeLists.txt to tweak the Boost_ADDITIONAL_VERSIONS variable to 
     94   match your installed version of Boost. [TODO: Eliminate this step.] 
     95 
     968) Run ant 
     97 
     98 
     99INSTALLING COMPILE-TIME DEPENDENCIES -- WINDOWS 
     100 
     101Windows users will need to visit the appropriate web sites and download and 
     102install the relevant binaries. 
     103 
     104[TODO: Finish these instructions for Windows.] 
    64105 
    65106 
Note: See TracChangeset for help on using the changeset viewer.