-
Notifications
You must be signed in to change notification settings - Fork 8
Install OpenCNN on Ubuntu and Mac OS X
csukuangfj edited this page Nov 26, 2018
·
3 revisions
OpenCNN depends on protobuf, glog, and gflags. Before compiling OpenCNN, you have to install these dependencies.
We assume that you have already installed a suitable C++ compiler and CMake. Installation instructions on Ubuntu and Mac OS X are given in the following.
sudo apt-get install \
libprotobuf-dev \
protobuf-compiler \
libgflags-dev \
libgoogle-glog-dev
brew install gflags
brew install glog
brew install protobuf
git clone https://github.com/csukuangfj/OpenCNN.git
cd OpenCNN
mkdir build
cd build
cmake ..
make -j2