I am new with R-pi. I need to use picam. While working with cpp, i came to know there are already different API for this. I am using an API link here: http://www.uco.es/investiga/grupos/ava/node/40 . Has anyone used it before because i am not able to run my program even while using cmake, like:
#cmake_minimum_required (VERSION 2.8)
project (project_name)
find_package(path_to_raspicam REQUIRED)
add_executable (project project.cpp)
target_link_libraries (project ${raspicam_LIBS})
Also if i am going to use gcc command like:
g++ project.cpp -o project -I/usr/local/include -lraspicam -lmmal -lmmal_core -lmmal_util
there is not anything like "-I/usr/local/include -lraspicam -lmmal -lmmal_core -lmmal_util"
Please tell me how to include the library and make executable file. Thanks in advance.
there is not anything like "-I/usr/local/include -lraspicam -lmmal -lmmal_core -lmmal_util"
? What output / errors do you get when trying to compile ?