Giter VIP home page Giter VIP logo

Comments (4)

atv2016 avatar atv2016 commented on September 26, 2024 2

I solved it. See below first lines of Makefile until "all: p2pvc". Just add the other include dir with -I and a space between to the INCDIR and the same for the library with -L and a space on the LDFLAGS.

It's strange it doesn't look in /usr/local/include by default, but at least this will compile it. Hope this helps for you.

CC=gcc
OBJDIR=objs
SRCDIR=src
INCDIR=$(SRCDIR)/inc -I/usr/local/include
CFLAGS+=-I$(INCDIR)
platform=$(shell uname -s)

SRCS=$(wildcard $(SRCDIR)/*.c)
OBJS=$(patsubst $(SRCDIR)/%.c,$(OBJDIR)/%.o,$(SRCS))

CFLAGS+=-O2 -Wall
ifeq ($(platform), Linux)
CFLAGS+=-DPA_USE_ALSA
else
CFLAGS+=-DPA_USE_COREAUDIO
endif
CFLAGS+=pkg-config --cflags opencv
CFLAGS_DEBUG+=-O0 -g3 -Werror -DDEBUG
LDFLAGS+=-lpthread -lncurses -lportaudio -lm
LDFLAGS+=pkg-config --libs opencv -L/usr/local/lib

from p2pvc.

atv2016 avatar atv2016 commented on September 26, 2024

I got the same thing on Mac. Were you able to fix it?

from p2pvc.

seagullbird avatar seagullbird commented on September 26, 2024

Sry buddy, still no.. I've looked through net but can't get the solution

from p2pvc.

seagullbird avatar seagullbird commented on September 26, 2024

Thanks a loooooot!

from p2pvc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.