[PD] "make" pix_opencv

Gintaras Lau. gintarman at gmail.com
Mon Apr 12 19:45:38 CEST 2010


Dear list,

There are many step by step sites to add repositories, externals,
libraries and do other configuration. But what usually drops me down
is that magic word "make".

Where could be the important points to understand and finish every
"make" process my self?

Why lot's of "make" files are bad for my computer but, perhaps works
fine for others?

Do I necessarily need to learn C++ to prepare pd work properly and
have all libraries for my needs and "make, make, make" ?

What is wrong this time?   (see terminal output)  Thanks for help and
time you take for it.

:~/Downloads/pix_opencv$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
rm -f pix_opencv*.o
rm -f pix_opencv*.pd_linux
i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for strerror in -lcposix... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking whether build environment is sane... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking if malloc debugging is wanted... no
looking for pd sources (required) ... pd source tree not found...
install it and use the --with-pd=<path> configuration option.

:~/Downloads/pix_opencv$ make clean
rm -f pix_opencv*.o
rm -f pix_opencv*.pd_linux

:~/Downloads/pix_opencv$ make
g++ -fPIC -DPD -O2 -funroll-loops -fomit-frame-pointer  -ffast-math
-Wall -W -Wno-unused -Wno-parentheses -Wno-switch
-DGEM_OPENCV_VERSION=\"0.2\" -g -DLINUX -I/usr/local/pd/src -I.
-I/usr/local/pd/gem/src -I/usr/local/pd/src `pkg-config --cflags
opencv` -o pix_opencv_edge.o -c pix_opencv_edge.cc
In file included from pix_opencv_edge.cc:18:
pix_opencv_edge.h:27:28: error: Base/GemPixObj.h: No such file or directory
In file included from pix_opencv_edge.cc:18:
pix_opencv_edge.h:42: error: expected initializer before ‘:’ token
pix_opencv_edge.cc:20: error: expected constructor, destructor, or
type conversion before ‘(’ token
pix_opencv_edge.cc:49: error: expected constructor, destructor, or
type conversion before ‘::’ token
pix_opencv_edge.cc:64: error: ‘pix_opencv_edge’ has not been declared
pix_opencv_edge.cc:64: error: variable or field ‘processRGBAImage’ declared void
pix_opencv_edge.cc:64: error: ‘imageStruct’ was not declared in this scope
pix_opencv_edge.cc:64: error: ‘image’ was not declared in this scope
make: *** [pix_opencv_edge.o] Error 1

:~/Downloads/pix_opencv$ sudo make
[sudo] password for hipis:
g++ -fPIC -DPD -O2 -funroll-loops -fomit-frame-pointer  -ffast-math
-Wall -W -Wno-unused -Wno-parentheses -Wno-switch
-DGEM_OPENCV_VERSION=\"0.2\" -g -DLINUX -I/usr/local/pd/src -I.
-I/usr/local/pd/gem/src -I/usr/local/pd/src `pkg-config --cflags
opencv` -o pix_opencv_edge.o -c pix_opencv_edge.cc
In file included from pix_opencv_edge.cc:18:
pix_opencv_edge.h:27:28: error: Base/GemPixObj.h: No such file or directory
In file included from pix_opencv_edge.cc:18:
pix_opencv_edge.h:42: error: expected initializer before ‘:’ token
pix_opencv_edge.cc:20: error: expected constructor, destructor, or
type conversion before ‘(’ token
pix_opencv_edge.cc:49: error: expected constructor, destructor, or
type conversion before ‘::’ token
pix_opencv_edge.cc:64: error: ‘pix_opencv_edge’ has not been declared
pix_opencv_edge.cc:64: error: variable or field ‘processRGBAImage’ declared void
pix_opencv_edge.cc:64: error: ‘imageStruct’ was not declared in this scope
pix_opencv_edge.cc:64: error: ‘image’ was not declared in this scope
make: *** [pix_opencv_edge.o] Error 1




More information about the Pd-list mailing list