Last active
September 10, 2019 00:40
-
-
Save Turupawn/5ce38dbc4d49095d448d438bef3a98ac to your computer and use it in GitHub Desktop.
Building mod.io in centos 7.6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install dependencies | |
yum install git wget centos-release-scl curl-devel nano | |
yum-config-manager --enable rhel-server-rhscl-7-rpms | |
yum install devtoolset-7 | |
scl enable devtoolset-7 bash | |
# install curl 3.14 | |
wget https://github.com/Kitware/CMake/releases/download/v3.14.6/cmake-3.14.6.tar.gz | |
tar -zxvf cmake-3.14.6.tar.gz | |
cd cmake-3.14.6 | |
./bootstrap --prefix=/usr/local | |
make | |
make install | |
nano ~/.bash_profile # append this to the end: PATH=/usr/local/bin:$PATH:$HOME/bin | |
source ~/.bash_profile | |
# compile mod.io | |
cd | |
git clone https://github.com/modio/SDK.git | |
cd SDK/ | |
mkdir build | |
cd build/ | |
cmake .. | |
make | |
# The library is now located at ~/SDK/build/libmodio.so |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment