Ask Your Question
0

build without highgui or gstreamer

asked 2012-08-24 19:03:10 -0600

bchill gravatar image

Is it possible to build OpenCV without highgui, and hopefully not need gstreamer?

I'm using RHEL 5. The gstreamer-plugins-bad-devel rpm from rpmforge (dag) is the only rpm that has gstappsink.h and gstappsrc.h, but it's oddly obsoleted by gstreamer-plugins-bad, which doesn't have it. I'd like to avoid having to maintain potentially several pieces of gstreamer. I don't need highgui and am hoping that it's possible to skip building that, which in turn would eliminate the need for gstreamer.

Is this possible?

Brian

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-12-04 21:35:30 -0600

sammoes gravatar image

Check highgui.hpp: if there is nothing you need, then see if CMake allows you to not build highgui, if it doesn't, then just let CMake prepare the build files, then you can exclude the highgui module when compiling OpenCV but that will cause a lot of problems for you to solve, make sure to not build any example apps. It would be best to let CMake exclude highgui

edit flag offensive delete link more

Comments

just saying - problems from 2012 might not fit today's situation.

berak gravatar imageberak ( 2016-12-04 21:42:53 -0600 )edit

Question Tools

Stats

Asked: 2012-08-24 19:03:10 -0600

Seen: 1,222 times

Last updated: Dec 04 '16