[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: image-acquisition package installation

From: Nkosiphile Bhebhe
Subject: RE: image-acquisition package installation
Date: Fri, 23 Aug 2019 09:29:37 +0000

Hi Kai,

Thank you for your assistance with Andy its really helpful. Kindly see below detailed output in octave command window for the command “pkg install -verbose -forge image-acquisition”.


The terminal gave the following output for the command “$ dpkg –get-selsctions | grep v4l”



$ dpkg –get-selsctions | grep v4l

libv4l-0:amd64                                                 install

libv4l-dev:amd64                                             install

libv4l2rds0:amd64                                           install

libv4lconvert0:amd64                                      install




>> pkg install -verbose -forge image-acquisition

mkdir (/tmp/oct-MXVVm7)

untar (/home/photonicslab/Documents/vortex propagation/octave code/Propagating Vortex Code/image-acquisition-0.2.2.tar.gz, /tmp/oct-MXVVm7)

checking whether the C++ compiler works... yes

checking for C++ compiler default output file name... a.out

checking for suffix of executables...

checking whether we are cross compiling... no

checking for suffix of object files... o

checking whether we are using the GNU C++ compiler... yes

checking whether g++ accepts -g... yes

checking for mkoctfile... yes

checking for fltk-config... /usr/bin/fltk-config

checking for v4l2_open in -lv4l2... yes

checking for dirent.h that defines DIR... yes

checking for library containing opendir... none required

checking how to run the C++ preprocessor... g++ -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 sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking fcntl.h usability... yes

checking fcntl.h presence... yes

checking for fcntl.h... yes

checking for stdlib.h... (cached) yes

checking for string.h... (cached) yes

checking sys/ioctl.h usability... yes

checking sys/ioctl.h presence... yes

checking for sys/ioctl.h... yes

checking sys/time.h usability... yes

checking sys/time.h presence... yes

checking for sys/time.h... yes

checking libv4l2.h usability... yes

checking libv4l2.h presence... yes

checking for libv4l2.h... yes

checking linux/videodev2.h usability... yes

checking linux/videodev2.h presence... yes

checking for linux/videodev2.h... yes

checking FL/Fl.H usability... yes

checking FL/Fl.H presence... yes

checking for FL/Fl.H... yes

checking FL/Fl_Double_Window.H usability... yes

checking FL/Fl_Double_Window.H presence... yes

checking for FL/Fl_Double_Window.H... yes

checking FL/fl_draw.H usability... yes

checking FL/fl_draw.H presence... yes

checking for FL/fl_draw.H... yes

checking for error_at_line... yes

checking for stdlib.h... (cached) yes

checking for unistd.h... (cached) yes

checking for sys/param.h... yes

checking for getpagesize... yes

checking for working mmap... yes

checking for stdlib.h... (cached) yes

checking for GNU libc compatible realloc... yes

checking for munmap... yes

checking for select... yes

checking for strerror... yes

configure: creating ./config.status

config.status: creating Makefile



Octave-Forge image-acquisition package is now configured with


   LIBS:   -lv4l2 -fPIE -pie -lfltk -lX11


make: Entering directory '/tmp/oct-MXVVm7/image-acquisition-0.2.2/src'

/usr/bin/mkoctfile --verbose -Wall -v -c

g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-4.2.2/octave/.. -I/usr/include/octave-4.2.2/octave -I/usr/include/hdf5/serial -I/usr/include/mpi  -pthread -fopenmp -g -O2 -fdebug-prefix-map=/build/octave-DtqyIg/octave-4.2.2=. -fstack-protector-strong -Wformat -Werror=format-security  -Wall -o cl_v4l2_handler.o

In file included from /usr/include/octave-4.2.2/octave/../octave/Array.h:37:0,

                 from /usr/include/octave-4.2.2/octave/../octave/Sparse.h:37,

                 from /usr/include/octave-4.2.2/octave/../octave/MSparse.h:31,

                 from /usr/include/octave-4.2.2/octave/../octave/MatrixType.h:29,

                 from /usr/include/octave-4.2.2/octave/../octave/mx-base.h:30,

                 from /usr/include/octave-4.2.2/octave/../octave/Matrix.h:32,

                 from /usr/include/octave-4.2.2/octave/../octave/oct.h:30,

                 from cl_v4l2_handler.h:31,


/usr/include/octave-4.2.2/octave/../octave/dim-vector.h: In instantiation of ‘dim_vector::dim_vector(octave_idx_type, octave_idx_type, Ints ...) [with Ints = {unsigned int}; octave_idx_type = int]’:   required from here

/usr/include/octave-4.2.2/octave/../octave/dim-vector.h:209:44: warning: narrowing conversion of ‘lengths#0’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing]

   std::initializer_list<octave_idx_type> all_lengths = {r, c, lengths...};


/usr/include/octave-4.2.2/octave/../octave/dim-vector.h:209:44: warning: narrowing conversion of ‘lengths#0’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing]

/usr/bin/mkoctfile --verbose -Wall -v -c

g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-4.2.2/octave/.. -I/usr/include/octave-4.2.2/octave -I/usr/include/hdf5/serial -I/usr/include/mpi  -pthread -fopenmp -g -O2 -fdebug-prefix-map=/build/octave-DtqyIg/octave-4.2.2=. -fstack-protector-strong -Wformat -Werror=format-security  -Wall -o cl_img_win.o

/usr/bin/mkoctfile --verbose -Wall -v cl_v4l2_handler.o cl_img_win.o -lv4l2 -fPIE -pie -lfltk -lX11  -o __v4l2_handler__.oct

g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-4.2.2/octave/.. -I/usr/include/octave-4.2.2/octave -I/usr/include/hdf5/serial -I/usr/include/mpi  -pthread -fopenmp -g -O2 -fdebug-prefix-map=/build/octave-DtqyIg/octave-4.2.2=. -fstack-protector-strong -Wformat -Werror=format-security  -Wall -fPIE -pie -o __v4l2_handler__.o

g++ -I/usr/include/octave-4.2.2/octave/.. -I/usr/include/octave-4.2.2/octave -I/usr/include/hdf5/serial -I/usr/include/mpi  -pthread -fopenmp -g -O2 -fdebug-prefix-map=/build/octave-DtqyIg/octave-4.2.2=. -fstack-protector-strong -Wformat -Werror=format-security -shared -Wl,-Bsymbolic  -Wall -fPIE -pie -o __v4l2_handler__.oct  cl_v4l2_handler.o cl_img_win.o __v4l2_handler__.o   -lv4l2 -lfltk -lX11 -L/usr/lib/x86_64-linux-gnu/octave/4.2.2 -L/usr/lib/x86_64-linux-gnu -loctinterp -loctave -Wl,-Bsymbolic-functions -Wl,-z,relro

/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o: In function `_start':

(.text+0x20): undefined reference to `main'

collect2: error: ld returned 1 exit status

Makefile:18: recipe for target '__v4l2_handler__.oct' failed

make: *** [__v4l2_handler__.oct] Error 1

make: Leaving directory '/tmp/oct-MXVVm7/image-acquisition-0.2.2/src'



Kind Regards





From: Kai Torben Ohlhus <address@hidden>
Sent: Thursday, August 22, 2019 4:57:49 PM
To: Nkosiphile Bhebhe <address@hidden>
Cc: address@hidden <address@hidden>
Subject: Re: image-acquisition package installation
On 8/22/19 4:26 PM, Nkosiphile Bhebhe wrote:
> Good day Kai,
> Sorry to be spamming you with emails.
> I am still struggling with installing the image acquisition package on
> ubuntu. After re-installing the dependencies a number of times octave
> was finally able to open the ‘v4l2’ function but now another error has
> come up (kindly see below).
> Makefile:18: recipe for target '__v4l2_handler__.oct' failed
> make: Leaving directory '/tmp/oct-dXR1h9/image-acquisition-0.2.2/src'
> pkg: error running `make' for the image-acquisition package.
> error: called from
>     configure_make at line 95 column 9
>     install at line 194 column 7
>     pkg at line 394 column 9
> May you please kindly assist?
> Kind regards
> Nkosiphile

Dear Nkosiphile,

Please regard the tip Andy gave you (btw. he is the package maintainer
and knows image acquisition much better than me):

On 8/21/19 4:11 PM, Andreas Weber wrote:

> [...] It may also be helpful to see the output of
> pkg install -verbose -forge image-acquisition
> and from the terminal:
> $ dpkg --get-selections | grep v4l
> -- Andy

Thus please display the detailed output you get from of the respective
commands and Andy (and eventually I) are able to help you.




The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it.
If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking action in reliance of the contents of this information is strictly prohibited and may be unlawful. The NMISA is neither liable for the proper, complete transmission of the information contained in this communication, any delay in its receipt, or that the mail is virus-free.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]