Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (27 sloc) 538 Bytes
env = Environment()
sources_threaded = [
"pisoc.cpp",
"face_tracking.cpp"
]
sources_simple = [
"pisoc.cpp",
"face_tracking_simple.cpp"
]
libpaths = [
"/opt/vc/lib",
]
cpp_path = [
"/usr/local/include/raspicam"
]
libs = [
"pthread",
"raspicam_cv",
"raspicam",
"mmal",
"mmal_core",
"mmal_util",
]
env.Append(CPPPATH = cpp_path, LIBPATH = libpaths, CXXFLAGS = ["-std=c++11"], LIBS = libs)
env.ParseConfig("pkg-config --libs opencv")
env.Program("facetracker", sources_threaded)
env.Program("simpletracker", sources_simple)
You can’t perform that action at this time.