I am trying to run the Delaunay example code https://github.com/Itseez/opencv/blob/master/samples/cpp/delaunay2.cpp. but I face this error when building: "identifier "LINE_AA" is undefined", and "identifier "LINE_8" is undefined". where do you think the problem is?
I built the project using cmake and this is inside cmakelist.txt:
cmake_minimum_required(VERSION 2.8)
project( delaunay2)
find_package( OpenCV REQUIRED )
include_directories( ${OpenCV_INCLUDE_DIRS} )
add_executable( delaunay2 delaunay2.cpp )
target_link_libraries( delaunay2 ${OpenCV_LIBS} )
also I am running MSVC 2012 under winodws 7x64.
Here is a picture of debug assertion error which still pops up even after I Ignore but then it draws some lines for me!