Ulrich Lorenz Schlüter wrote:
To configure.ac I already added:
PKG_CHECK_MODULES(RAUL, raul, ,[AC_MSG_ERROR(Can't find raul)])
In configure.ac, put:
PKG_CHECK_MODULES([LV2CORE], lv2core, ,[AC_MSG_ERROR(Can't find liblv2core)])
PKG_CHECK_MODULES([LV2_PLUGIN], lv2-plugin, ,[AC_MSG_ERROR(Can't find
liblv2-plugin)])
PKG_CHECK_MODULES([RAUL], raul, ,[AC_MSG_ERROR(Can't find raul)])
CFLAGS="$LV2CORE_CFLAGS $LV2_PLUGIN_CFLAGS $RAUL_CFLAGS"
LIBS="$LV2CORE_LIBS $LV2_PLUGIN_LIBS $RAUL_LIBS"
To Makefile.am i added:
CPPFLAGS = -I/usr/include/lv2-c++-tools -I/usr/include/raul
Same errors.
Don't set CPPFLAGS or anything like it in Makefile.am. These are set in
confingure.ac. Also, there's rules about which ones the user sets and which one
the build system sets. E.g. I think CFLAGS is reserved for the build system,
but CPPFLAGS reserved for the user.
HTH,
Gabriel