Open main menu

CDOT Wiki β

Changes

BarraCUDA Boiz

15 bytes added, 00:38, 6 February 2017
KmeansPlusPlus
1) create "CMakeLists.txt"
cmake_minimum_required(VERSION 2.8) project( Kmeans++ ) find_package( OpenCV REQUIRED ) add_executable( Kmeans++ main.cpp mt19937ar.c ) target_link_libraries( Kmeans++ ${OpenCV_LIBS} )
2) cmake -DCMAKE_CXX_FLAGS=-pg -DCMAKE_EXE_LINKER_FLAGS=-pg -DCMAKE_SHARED_LINKER_FLAGS=-pg .
36
edits