1 | initial version |
since you're trying to work with the master version, maybe it's a good idea to generate your makefile / proj with cmake in the same way you built the libraries before.
this will saving you the trouble of manually adjusting changed linker settings, include paths, etc.
whenever something changes(and things change fast!), you woud just run cmake again.
a simple CmakeLists.txt file will do:
cmake_minimum_required (VERSION 2.6)
FIND_PACKAGE( OpenCV REQUIRED )
PROJECT(MyProject) # change this! (project_name)
SET(SRC
main.cpp # change this! (src files)
)
ADD_EXECUTABLE( ${PROJECT_NAME} ${SRC} )
TARGET_LINK_LIBRARIES( ${PROJECT_NAME} ${OpenCV_LIBS} )