|
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”
TERMINAL
$ dpkg –get-selsctions | grep v4l
libv4l-0:amd64 install
libv4l-dev:amd64 install
libv4l2rds0:amd64 install
libv4lconvert0:amd64 install
OCTAVE
>> 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
configure:
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 cl_v4l2_handler.cc
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 cl_v4l2_handler.cc -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,
from cl_v4l2_handler.cc:16:
/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]’:
cl_v4l2_handler.cc:763:62: 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 cl_img_win.cc
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 cl_img_win.cc -o cl_img_win.o
/usr/bin/mkoctfile --verbose -Wall -v __v4l2_handler__.cc 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 __v4l2_handler__.cc -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
Nkosi
[Prev in Thread] | Current Thread | [Next in Thread] |