-
Notifications
You must be signed in to change notification settings - Fork 36
Build from Source: macOS
philthiel edited this page May 5, 2017
·
9 revisions
- Git
- CMake >= 3.1.x
- Python 2.7
git clone https://github.com/BALL-Project/ball_contrib.git
cd ball_contrib
mkdir build
cd build
cmake ..
make
// Get a coffee and be patient, this can take hours ...
git clone https://github.com/BALL-Project/ball.git
cd ball
mkdir build
cd build
cmake .. -DBALL_CONTRIB_PATH=<path_to_ball_contrib>/build/install
make
export BALL_DATA_PATH=<path_to_ball>/data
export DYLD_LIBRARY_PATH =<path_to_ball_contrib>/build/install/lib:$DYLD_LIBRARY_PATH
export PYTHONPATH=<path_to_ball>/build/lib:$PYTHONPATH
cd <path_to_ball>/build
make build_tests
ctest
Currently, the following tests may fail. Please don't report this in our issue tracker:
- AmberFF_test
- AssigneBondOrderProcessor_test2
- If CMake or the build fails.
- Check for XCode or another compatible compiler.
- CMake cannot find dependencies like boost, eigen3, qt5, fftw, sip, tbb, or openbabel?
- Make sure your ball_contrib build was successful.
- Make sure you have specified the CMake command line variable BALL_CONTRIB_PATH correctly.
- BALL build breaks with linker errors concerning boost
- Check if you have conflicting boost versions installed.
- Dynamic libraries not found?
- Make sure you set the environment variables correctly.