Skip to content

Instantly share code, notes, and snippets.

@smathermather
Last active December 7, 2018 15:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smathermather/48841ef0b2f39a39783e58912e4a8ea3 to your computer and use it in GitHub Desktop.
Save smathermather/48841ef0b2f39a39783e58912e4a8ea3 to your computer and use it in GitHub Desktop.

Find the classification examples

find . -name example_classification.cpp
cd ./Classification/examples/Classification/

Since there is a makefile here, we can make the examples which takes care of the compilation for us. I use the -j8 flag to compile on 8 cores. Your mileage may vary:

make -j8

What follows is the output we see during compilation.

[  8%] Building CXX object CMakeFiles/example_cluster_classification.dir/example_cluster_classification.cpp.o
[ 16%] Building CXX object CMakeFiles/example_mesh_classification.dir/example_mesh_classification.cpp.o
[ 25%] Building CXX object CMakeFiles/example_ethz_random_forest.dir/example_ethz_random_forest.cpp.o
[ 33%] Building CXX object CMakeFiles/example_generation_and_training.dir/example_generation_and_training.cpp.o
[ 41%] Building CXX object CMakeFiles/example_classification.dir/example_classification.cpp.o
[ 50%] Building CXX object CMakeFiles/example_feature.dir/example_feature.cpp.o
[ 58%] Linking CXX executable example_classification
[ 58%] Built target example_classification
[ 66%] Linking CXX executable example_mesh_classification
[ 66%] Built target example_mesh_classification
[ 75%] Linking CXX executable example_ethz_random_forest
[ 75%] Built target example_ethz_random_forest
[ 83%] Linking CXX executable example_feature
[ 83%] Built target example_feature
[ 91%] Linking CXX executable example_generation_and_training
[ 91%] Built target example_generation_and_training
[100%] Linking CXX executable example_cluster_classification
[100%] Built target example_cluster_classification
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment