Skip to content

Instantly share code, notes, and snippets.

@npow
Last active August 29, 2015 14:03
Show Gist options
  • Save npow/aad7cb5f77780d5445e7 to your computer and use it in GitHub Desktop.
Save npow/aad7cb5f77780d5445e7 to your computer and use it in GitHub Desktop.
Compiling RxCpp on Oracle Linux 6.4

install dependencies

sudo yum install cmake28
sudo yum install devtoolset-2-gcc-c++.x86_64

checkout repository

git clone --recursive https://github.com/Reactive-Extensions/RxCpp.git

build

mkdir projects/build
cd projects/build
cmake28 -G"Unix Makefiles" -DCMAKE_C_COMPILER=/opt/rh/devtoolset-2/root/usr/bin/gcc -DCMAKE_CXX_COMPILER=/opt/rh/devtoolset-2/root/usr/bin/g++ -DCMAKE_BUILD_TYPE=RelWithDebInfo -B. ../CMake
make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment