| 1 |
CXXClasses - library and executables for high-level Conversion of moleules to triangles |
| 2 |
CPPFLAGS="-I/usr/local/include" CCFLAGS="-I/usr/local/include -std=gnu11" LD=clang++ CXXFLAGS="-std=c++11 -I/usr/local/include" LDFLAGS="-L/usr/local/lib" CXX=clang++ CC=clang make |
| 3 |
|
| 4 |
MACOSX |
| 5 |
====== |
| 6 |
#Building for boost installed by homebrew on MacOSX |
| 7 |
PYTHON_EXTRA_LIBS="-framework CoreFoundation" PYTHON_VERSION=3.6 CXXFLAGS=-std=c++11 ../configure |
| 8 |
|
| 9 |
For some reason dlopen does not accept the .dylib extension ?: |
| 10 |
ln -s /usr/local/lib/libCXXClasses.dylib /usr/local/lib/CXXClasses.so |
| 11 |
|
| 12 |
Providing LD_LIBRARY_PATH: |
| 13 |
LD_LIBRARY_PATH=/usr/local/lib python |
| 14 |
|
| 15 |
Patching with install_name_tool: |
| 16 |
install_name_tool -change /Users/buildbot/Buildslaves/ccp4-slave/release-7_0-mac10_6/build/devtools/install/lib/libccp4c.0.dylib /usr/local/lib/libccp4c.0.dylib .libs/libCXXClasses.dylib |
| 17 |
|
| 18 |
LINUX |
| 19 |
===== |
| 20 |
sudo apt-get install libboost-python-dev |
| 21 |
sudo apt-get install python3-dev |
| 22 |
sudo apt-get install python3-pip |
| 23 |
pip3 install pyopengl |
| 24 |
sudo apt-get install python3-pyqt5.qtopengl |
| 25 |
|
| 26 |
linux configure: |
| 27 |
BOOST_PYTHON_LIB=boost_python-py35 CXXFLAGS=-std=c++11 PYTHON=python3 PYTHON_VERSION=3.5 ../configure --enable-shared |