This function returns the configuration options for compiling
C/C++-based packages against OpenCV installed by ROpenCVLite
.
Arguments
- output
Either 'libs' for library configuration options or 'cflags' for C/C++ configuration flags.
- arch
architecture relevant for Windows. If
NULL
, thenR.version$arch
will be used.
Value
A concatenated character string (with cat
) of the
configuration options.
Author
Simon Garnier, garnier@njit.edu
Examples
if (isOpenCVInstalled()) {
opencvConfig()
opencvConfig(output = "cflags")
opencvConfig(arch = R.version$arch)
}