Hello,
I try to develop some Autotools scripts for my project and I'm getting
following make/compile errors:
In file included from and.cpp:1:
/usr/include/lv2plugin.hpp:34:25: error: lv2_uri_map.h: No such file or
directory
/usr/include/lv2plugin.hpp:35:29: error: lv2_saverestore.h: No such file
or directory
/usr/include/lv2plugin.hpp:36:23: error: lv2_event.h: No such file or
directory
/usr/include/lv2plugin.hpp:37:26: error: lv2_contexts.h: No such file or
directory
/usr/include/lv2plugin.hpp:38:24: error: lv2types.hpp: No such file or
directory
configure.ac:
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.63])
AC_INIT([uli-plugins], [0.1], [audio-mobster@gmx.de])
AC_COPYRIGHT([Copyright (C) 2009 by Ulrich-Lorenz Schlüter GPL-3])
AC_CONFIG_SRCDIR([config.h.in])
AC_CONFIG_HEADERS([config.h])
# Version 1.7 of automake is recommended
AM_INIT_AUTOMAKE([1.7])
# Checks for programs.
AC_PROG_CXX
AC_PROG_AWK
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_PROG_LIBTOOL
AC_PROG_RANLIB
# Checks for libraries.
AC_CHECK_LIB([m], [floor], , [AC_MSG_ERROR(Can't find libm)])
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)])
# Checks for header files.
AC_CHECK_HEADERS([lv2.h], , [AC_MSG_ERROR(Can't find lv2.h)])
#AC_CHECK_HEADERS([lv2plugin.hpp], , [AC_MSG_ERROR(Can't find
lv2plugin.hpp)])
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_TYPE_UINT32_T
# Checks for library functions.
AC_CONFIG_FILES([Makefile
delay/Makefile
logic/Makefile])
AC_OUTPUT
Makefile.am topdir:
SUBDIRS = logic delay
AUTOMAKE_OPTIONS = foreign
AM_CFLAGS = @LV2CORE_CFLAGS@ @LV2_PLUGIN_CFLAGS@
AM_LDFLAGS = @LV2CORE_LIBS@ @LV2_PLUGIN_LIBS@
EXTRA_DIST = autogen.sh
Makefile.am from logic:
plugindir = $(libdir)/lv2/uli-logic.lv2
plugin_LTLIBRARIES = liband.la libnand.la libor.la libnor.la libxor.la
libxnor.la
#include_HEADERS = lv2plugin.hpp
liband_la_SOURCES = and.cpp
libnand_la_SOURCES = nand.cpp
libor_la_SOURCES = or.cpp
libnor_la_SOURCES = nor.cpp
libxor_la_SOURCES = xor.cpp
libxnor_la_SOURCES = xnor.cpp
Please help my poor soul I'm already desperately crying. :'(
Regards
Uli
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Fri Jun 19 12:15:01 2009
This archive was generated by hypermail 2.1.8 : Fri Jun 19 2009 - 12:15:01 EEST