Skip to content

Instantly share code, notes, and snippets.

@zoq
Created December 15, 2016 22:15
Show Gist options
  • Save zoq/958097cd0e48f468280fa7215d8dfa79 to your computer and use it in GitHub Desktop.
Save zoq/958097cd0e48f468280fa7215d8dfa79 to your computer and use it in GitHub Desktop.
ne mlpack build
# build mlpack using Bang's code
git clone https://github.com/BangLiu/mlpack.git
cd mlpack
git checkout ne
mkdir build && cd build && cmake .. && make
pwd
# pwd should return the right path, and configure the ne project using the path returned from pwd
ne project:
mkdir build && cd build
cmake -DMLPACK_INCLUDE_DIR=/path/from/the/pwd/cmd/include -DMLPACK_LIBRARY=/path/from/the/pwd/cmd/lib/libmlpack.so ../
make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment