edrosten / libcvd Goto Github PK
View Code? Open in Web Editor NEWlibcvd - efficient and easy to use C++ computer vision library.
License: Other
libcvd - efficient and easy to use C++ computer vision library.
License: Other
I'm trying to compile OpenSlam/robotvison
http://www.openslam.org/robotvision
As dependencies it requires Toon and libcvd:
Then, install TooN. Make sure that you install the right version (10 April 2010
version).
> cvs -z3 -d:pserver:[email protected]:/cvsroot/toon co -D"10 April 2010" TooN
> cd TooN
> ./configure
> sudo make install
> cd ..
For more details about TooN, please refer to: http://mi.eng.cam.ac.uk/~er258/cvd/toon.html
Install libCVD. Again, make sure that you install the right version (10 April 2010):
> cvs -z3 -d:pserver:[email protected]:/cvsroot/libcvd co -D"10 April 2010" libcvd
> cd libcvd
> ./configure
> make
> sudo make install
> cd ..
I can install Toon correctly but I fail in installing libcvd. I will report both output and config.log files.
Toon output
./configure
checking for g++... g++
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 g++ accepts -g... yes
checking for dgesvd_ in -llapack... yes
checking for decltype... no
checking for __typeof__... yes
checking for __attribute__((deprecated))... yes
You're on the development branch of TooN 2.0. Everything will probably work, but
the interface is a bit different from TooN-1.x
If you want TooN-1, then get it using:
cvs -z3 -d:pserver:[email protected]:/cvsroot/toon co -r Maintenance_Branch_1_x TooN
or update what you currently have using:
cvs up -r Maintenance_Branch_1_x
or head over to:
http://mi.eng.cam.ac.uk/~er258/cvd/
Otherwise, please report any bugs you come across.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating internal/config.hh
Toon config files
libcvd output
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... 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 gawk... gawk
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking how to run the C++ preprocessor... g++ -E
checking if compiler flag -Wall works... yes
checking if compiler flag -Wextra works... yes
checking if compiler flag -pipe works... yes
checking if compiler flag -ggdb works... yes
checking if compiler flag -fPIC works... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for best optimize flags...
checking if compiler flag -O3 works... yes
checking CPU type... unknown
------------------------------------
Checking processor specific features
------------------------------------
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 whether byte ordering is bigendian... no
checking for MMX support... yes
checking for MMXEXT support... yes
checking for SSE support... yes
checking for SSE2 support... yes
checking for SSE3 support... yes
checking size of void*... 8
checking for inline asm statement... yes
checking assembler supports .type pseudo-op... yes
-----------------------------------------------
Checking for operating system specific features
-----------------------------------------------
checking dc1394/dc1394.h usability... yes
checking dc1394/dc1394.h presence... yes
checking for dc1394/dc1394.h... yes
checking for main in -ldc1394... yes
checking for v4l2... no
checking for strange v4l2... no
checking linux/videodev.h usability... yes
checking linux/videodev.h presence... yes
checking for linux/videodev.h... yes
checking kernel major number... 4
checking kernel minor number... 4
checking kernel release number... 0
checking for clock_getres in -lrt... yes
-------------------------------
Checking for optional libraries
-------------------------------
checking for X... libraries , headers
checking for glDrawPixels in -lGL... yes
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking for gluGetString in -lGLU... yes
checking for tr1::shared_ptr... yes
checking for TooN... no
checking for old TooN... no
checking for dgesvd_ in -lacml... no
checking if Accelerate framework is needed for LAPACK...
checking for dgesvd_... no
checking for dgesvd_ in -llapack... yes
checking for working pthreads... yes
checking for pthread_yield... yes
checking for pthread_yield_np... no
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_init_io in -lpng... yes
checking for png_set_expand_gray_1_2_4_to_8 in -lpng... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking JPEG read buffer size... 1 (safe reading)
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for TIFFReadRGBAImage in -ltiff... yes
checking for TIFFReadRGBAImageOriented in -ltiff... yes
checking ffmpeg/avcodec.h usability... no
checking ffmpeg/avcodec.h presence... no
checking for ffmpeg/avcodec.h... no
checking ffmpeg/avformat.h usability... no
checking ffmpeg/avformat.h presence... no
checking for ffmpeg/avformat.h... no
checking ffmpeg/swscale.h usability... no
checking ffmpeg/swscale.h presence... no
checking for ffmpeg/swscale.h... no
checking libavcodec/avcodec.h usability... yes
checking libavcodec/avcodec.h presence... yes
checking for libavcodec/avcodec.h... yes
checking libavformat/avformat.h usability... yes
checking libavformat/avformat.h presence... yes
checking for libavformat/avformat.h... yes
checking libswscale/swscale.h usability... yes
checking libswscale/swscale.h presence... yes
checking for libswscale/swscale.h... yes
checking for main in -lavutil... yes
checking for av_open_input_file in -lavformat... no
checking for av_read_frame in -lavformat... yes
checking for avcodec_open in -lavcodec... no
checking for sws_getContext in -lswscale... yes
checking for doxygen... docs
-----------------------------------
Checking for platform compatibility
-----------------------------------
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking for glob... yes
checking for GLOB_BRACE and GLOB_TILDE in glob.h... yes
checking whether feenableexcept is declared... yes
checking for posix_memalign... yes
--------------------------------
Checking for extra build options
--------------------------------
Options:
inline_asm assembler dc1394v2 v4l1buffer posix_rt videodisplay tr1_shared_ptr lapack pthread png jpeg tiff glob memalign v4lbuffer
Missing options for linux-gnu:
dc1394v1 ffmpeg toon v4l2buffer
Dodgy things:
SIMD support:
mmx mmxext sse sse2 sse3
Missing SIMD support for x86_64-unknown-linux-gnu:
-g -Wall -Wextra -pipe -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -pthread
-ltiff -ljpeg -lpng -lpng -llapack -lGLU -lGL -lrt -ldc1394 -L -lX11 -lXext -pthread
Generating config... configuration unchanged
configure: creating ./config.status
config.status: creating Makefile
libcvd config files
Thanks for the support!
Is there any way I can run this script with this Mac Big Sur? I have tried the latest XCode tools, and it seems that 32 bit applications are not acceptable. I also tried to install XCode 9.4, the last version before they dropped 32 bit support, but that version of XCode doesn't seem to run on my OS.
Having a hell of a time trying to build this on Win8.
There are definitely confounding factors - I'm a C++ noob
Would be nice to get some proj files for newer VS, but as it is the upgrade from VS2008 seems to have gone fine.
The only issue is pthread.h can't be found. AFAIK that's *nix-only, right? Do I need to install anything to fix it? Change a config?
It couldn't find TooN before, so I downloaded TooN and added it as an include directory. Not sure if that's relevant. Otherwise, I made no changes.
I am currently download VS Visual C++ 2010 to see if I can build with it, but that will take a while. Hoping you might have seen this before and have an answer already.
Thanks a ton!
./cvd/internal/scalar_convert.h:112:4: error: unknown type name 'constexpr'
constexpr static trivial_array<float, 512> float_for_byte = buildLookupTable();
^
./cvd/internal/scalar_convert.h:112:14: error: expected unqualified-id
constexpr static trivial_array<float, 512> float_for_byte = buildLookupTable();
^
./cvd/internal/scalar_convert.h:113:4: error: unknown type name 'constexpr'
constexpr static trivial_array<double, 512> double_for_byte = buildLookupTable();
^
./cvd/internal/scalar_convert.h:113:14: error: expected unqualified-id
constexpr static trivial_array<double, 512> double_for_byte = buildLookupTable();
^
./cvd/internal/scalar_convert.h:117:56: error: no member named 'float_for_byte' in namespace
'CVD::Pixel::Internal::Internal'
inline float byte_to_float(int b) { return Internal::float_for_byte[b+255]; }
~~~~~~~~~~^
./cvd/internal/scalar_convert.h:118:58: error: no member named 'double_for_byte' in namespace
'CVD::Pixel::Internal::Internal'
inline double byte_to_double(int b) { return Internal::double_for_byte[b+255]; }
~~~~~~~~~~^
In file included from cvd_src/diskbuffer2.cc:3:
In file included from ./cvd/diskbuffer2.h:12:
In file included from ./cvd/image_io.h:7:
In file included from ./cvd/image_convert.h:5:
In file included from ./cvd/internal/convert_pixel_types.h:9:
In file included from ./cvd/internal/rgb_components.h:4:
./cvd/rgb.h:28:11: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions]
Rgb() = default;
^
./cvd/rgb.h:29:21: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions]
Rgb(const Rgb&) = default;
^
./cvd/rgb.h:30:30: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions]
Rgb& operator=(const Rgb&)=default;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
16 warnings and 20 errors generated.
make: *** [cvd_src/diskbuffer2.o] Error 1
etc
g++ -O3 -I. -I. -INONE/include -I/opt/local/include -I/usr/X11R6/include -D_REENTRANT -Wall -Wextra -pipe -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -pthread -c cvd_src/image_io/bmp_write.cc -o cvd_src/image_io/bmp_write.o
make: *** No rule to make target `tr1/array', needed by `cvd_src/image_io/cvdimage.o'. Stop.
This is the configure flags I used:
./configure --without-ffmpeg --x-libraries=/usr/X11/lib --x-includes=/usr/X11/include
I am trying to install libcvd to run SceneNetRGB-D under ubuntu16.04 with gcc 5.4. The CMake procedure was successfully done but when i try to compile, I got problems like:
[ 1%] Building CXX object CMakeFiles/CVD.dir/cvd_src/bayer.cxx.o In file included from /mntExt/DW/3rdparty/libcvd/cvd/image_ref.h:185:0, from /mntExt/DW/3rdparty/libcvd/cvd/image.h:17, from /mntExt/DW/3rdparty/libcvd/cvd/image_convert_fwd.h:4, from /mntExt/DW/3rdparty/libcvd/cvd/colourspace_convert.h:3, from /mntExt/DW/3rdparty/libcvd/cvd_src/bayer.cxx:3: /mntExt/DW/3rdparty/libcvd/cvd/internal/image_ref_implementation.hh: In member function ‘constexpr int& CVD::ImageRef::operator[](int)’: /mntExt/DW/3rdparty/libcvd/cvd/internal/image_ref_implementation.hh:194:1: error: expression ‘<throw-expression>’ is not a constant-expression } ^ /mntExt/DW/3rdparty/libcvd/cvd/internal/image_ref_implementation.hh: In member function ‘constexpr int CVD::ImageRef::operator[](int) const’: /mntExt/DW/3rdparty/libcvd/cvd/internal/image_ref_implementation.hh:204:1: error: expression ‘<throw-expression>’ is not a constant-expression } ^ make[2]: *** [CMakeFiles/CVD.dir/cvd_src/bayer.cxx.o] 错误 1 make[1]: *** [CMakeFiles/CVD.dir/all] 错误 2 make: *** [all] 错误 2
Is there something I didn't install correctly? Or there's something else going wrong?
Thanks in advance for giving me some advice.
Hello Dear Edward,
in the v4lbuffer.cc
there is a loop for(f.index=0; ioctl(fd, VIDIOC_ENUM_FMT, &f) == 0; f.index++)
when I'm trying to run CameraCalibrator
of PTAMM
which reads virtual device /dev/video2
created using v4l2 loopback, I noticed that the ioctl(fd, VIDIOC_ENUM_FMT, &f)
and ioctl(fd, VIDIOC_G_FMT, &format)
never 0, thus exception is thrown.
Below is log output:
RawV4LBuffer: verbose operation. Initializing
RawV4LBuffer: Querying capabilities.
RawV4LBuffer: driver: v4l2 loopback
RawV4LBuffer: card: Dummy video device (0x0000)
RawV4LBuffer: bus_info: platform:v4l2loopback-000
RawV4LBuffer: version: 200711
RawV4LBuffer: capabilities: 0x85008003
RawV4LBuffer: V 4 L 2_CAP_VIDEO_CAPT URE = 1
RawV4LBuffer: V 4 L 2_CAP_VIDEO_OUTP UT = 1
RawV4LBuffer: V 4 L 2_CAP_VIDEO_OVER LAY = 0
RawV4LBuffer: V 4 L 2_CAP_VBI_CAPTUR E = 0
RawV4LBuffer: V 4 L 2_CAP_VBI_OUTPUT = 0
RawV4LBuffer: V 4 L 2_CAP_SLICED_VBI _CAPTURE = 0
RawV4LBuffer: V 4 L 2_CAP_SLICED_VBI _OUTPUT = 1
RawV4LBuffer: V 4 L 2_CAP_RDS_CAPTUR E = 0
RawV4LBuffer: V 4 L 2_CAP_VIDEO_OUTP UT_OVERLAY = 0
RawV4LBuffer: V 4 L 2_CAP_TUNER = 1
RawV4LBuffer: V 4 L 2_CAP_AUDIO = 0
RawV4LBuffer: V 4 L 2_CAP_RADIO = 0
RawV4LBuffer: V 4L2_CAP_READWRITE = 1
RawV4LBuffer: V 4 L 2_CAP_ASYNCIO = 0
RawV4LBuffer: V 4 L 2_CAP_STREAMING = 1
RawV4LBuffer: Requested format: YU12
RawV4LBuffer: Enumerating formats.
RawV4LBuffer: Index F ourCC Fl ag Description
RawV4LBuffer: struct: 48`
I added the following before the loop:
log << "struct: " << f.index << "\n" << f.description << "\nformat: " << fmt << "\npixelformat: "<< f.pixelformat << " -> "<<unfourcc(f.pixelformat)<< "\nV4L2GREY: "<<V4L2_PIX_FMT_GREY<<"\n";
and the result:
struct: 48 format: 842093913 pixelformat: 32674 -> �� V4L2GREY: 1497715271
I'm trying to read the yuv420 video (640x368 30hz) from the virtual device.
Thanks.
for cmake it output a libcvd.a. But my project now need a libcvd.so. Thank you!
Hello I am trying to install libcvd and I get the following output for the build:
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking how to run the C++ preprocessor... g++ -E
checking build system type... x86_64-apple-darwin17.6.0
checking host system type... x86_64-apple-darwin17.6.0
checking if compiler flag -Wall works... yes
checking if compiler flag -Wextra works... yes
checking if compiler flag -pipe works... yes
checking For C++1y support... no
checking For C++1y support with flag -std=c++14... yes
checking for main in -lpthread... yes
checking if compiler flag -ggdb works... yes
checking if -D_GLIBCXX_DEBUG can works...... yes
checking if compiler flag -fPIC works... yes
checking if compiler flag -O3 works... 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 whether byte ordering is bigendian... no
checking for MMX support... yes
checking for MMXEXT support... yes
checking for SSE support... yes
checking for SSE2 support... yes
checking for SSE3 support... yes
checking size of void*... 8
checking for inline asm statement... yes
checking assembler supports .type pseudo-op... no
checking for /opt/local... no
checking for /sw... no
configure: Adding /usr/X11R6/include to the build path.
checking dc1394/dc1394.h usability... no
checking dc1394/dc1394.h presence... no
checking for dc1394/dc1394.h... no
checking for main in -ldc1394... no
checking Carbon and QuickTime framework... no
checking for X11 using dubious methods...... no
checking for TooN... yes
checking for dgesvd_ in -lacml... no
checking if Accelerate framework is needed for LAPACK...
checking for dgesvd_... yes
checking libuvc/libuvc.h usability... no
checking libuvc/libuvc.h presence... no
checking for libuvc/libuvc.h... no
checking for uvc_stream_get_frame in -luvc... no
checking png.h usability... no
checking png.h presence... no
checking for png.h... no
checking for png_init_io in -lpng... no
checking jpeglib.h usability... no
checking jpeglib.h presence... no
checking for jpeglib.h... no
checking for jpeg_destroy_decompress in -ljpeg... no
checking tiffio.h usability... no
checking tiffio.h presence... no
checking for tiffio.h... no
checking for TIFFReadRGBAImage in -ltiff... no
checking if perhaps libtiff requires zlib...
checking for tiffio.h... (cached) no
checking for deflate in -lz... yes
checking for TIFFReadRGBAImage in -ltiff... no
checking for ffmpeg headers... checking for main in -lavutil... no
checking for avformat_open_input in -lavformat... no
checking for av_read_frame in -lavformat... no
checking for avcodec_open2 in -lavcodec... no
checking for sws_getContext in -lswscale... no
checking for avdevice_register_all in -lavdevice... no
checking for doxygen... no
checking whether feenableexcept is declared... no
Options:
inline_asm toon lapack
Missing options for darwin17.6.0:
assembler dc1394v2 ffmpeg jpeg libuvc png tiff videodisplay
Dodgy things:
missing_c99_feenableexcept
SIMD support:
mmx mmxext sse sse2 sse3
Missing SIMD support for x86_64-apple-darwin17.6.0:
-g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3
-lpthread -framework Accelerate
configure: creating ./config.status
config.status: creating Makefile
config.status: creating cvd/config.h
config.status: creating cvd_src/config_internal.h
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/diskbuffer2.cc -o cvd_src/diskbuffer2.o -MMD -MP -MF cvd_src/diskbuffer2.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/deinterlacebuffer.cc -o cvd_src/deinterlacebuffer.o -MMD -MP -MF cvd_src/deinterlacebuffer.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/exceptions.cc -o cvd_src/exceptions.o -MMD -MP -MF cvd_src/exceptions.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/image_io.cc -o cvd_src/image_io.o -MMD -MP -MF cvd_src/image_io.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/bayer.cxx -o cvd_src/bayer.o -MMD -MP -MF cvd_src/bayer.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/morphology.cc -o cvd_src/morphology.o -MMD -MP -MF cvd_src/morphology.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/colourspace_convert.cxx -o cvd_src/colourspace_convert.o -MMD -MP -MF cvd_src/colourspace_convert.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/draw.cc -o cvd_src/draw.o -MMD -MP -MF cvd_src/draw.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/noarch/yuv422.cpp -o cvd_src/noarch/yuv422.o -MMD -MP -MF cvd_src/noarch/yuv422.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/yuv420.cpp -o cvd_src/yuv420.o -MMD -MP -MF cvd_src/yuv420.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/image_io/pnm_grok.cxx -o cvd_src/image_io/pnm_grok.o -MMD -MP -MF cvd_src/image_io/pnm_grok.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/image_io/bmp.cxx -o cvd_src/image_io/bmp.o -MMD -MP -MF cvd_src/image_io/bmp.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/image_io/bmp_read.cc -o cvd_src/image_io/bmp_read.o -MMD -MP -MF cvd_src/image_io/bmp_read.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/image_io/bmp_write.cc -o cvd_src/image_io/bmp_write.o -MMD -MP -MF cvd_src/image_io/bmp_write.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/image_io/cvdimage.cxx -o cvd_src/image_io/cvdimage.o -MMD -MP -MF cvd_src/image_io/cvdimage.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/image_io/fits.cc -o cvd_src/image_io/fits.o -MMD -MP -MF cvd_src/image_io/fits.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/image_io/fitswrite.cc -o cvd_src/image_io/fitswrite.o -MMD -MP -MF cvd_src/image_io/fitswrite.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/image_io/save_postscript.cxx -o cvd_src/image_io/save_postscript.o -MMD -MP -MF cvd_src/image_io/save_postscript.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/image_io/text_write.cc -o cvd_src/image_io/text_write.o -MMD -MP -MF cvd_src/image_io/text_write.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/image_io/text.cxx -o cvd_src/image_io/text.o -MMD -MP -MF cvd_src/image_io/text.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/fast_corner.cxx -o cvd_src/fast_corner.o -MMD -MP -MF cvd_src/fast_corner.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/convolution.cc -o cvd_src/convolution.o -MMD -MP -MF cvd_src/convolution.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/nonmax_suppression.cxx -o cvd_src/nonmax_suppression.o -MMD -MP -MF cvd_src/nonmax_suppression.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/timeddiskbuffer.cc -o cvd_src/timeddiskbuffer.o -MMD -MP -MF cvd_src/timeddiskbuffer.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/videosource.cpp -o cvd_src/videosource.o -MMD -MP -MF cvd_src/videosource.d
In file included from cvd_src/videosource.cpp:1:
In file included from ./cvd/videosource.h:19:
In file included from ./cvd/readaheadvideobuffer.h:7:
./cvd/internal/concurrency_utilities.h:36:5: warning: control may reach end of non-void function [-Wreturn-type]
}
^
In file included from cvd_src/videosource.cpp:1:
In file included from ./cvd/videosource.h:19:
./cvd/readaheadvideobuffer.h:12:9: warning: ReadAheadVideoBuffer will not do any read - ahead because threads are not supported in this build [-W#pragma-messages]
#pragma message("ReadAheadVideoBuffer will not do any read - ahead because threads are not supported in this build")
^
2 warnings generated.
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/connected_components.cc -o cvd_src/connected_components.o -MMD -MP -MF cvd_src/connected_components.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/cvd_timer.cc -o cvd_src/cvd_timer.o -MMD -MP -MF cvd_src/cvd_timer.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/globlist.cxx -o cvd_src/globlist.o -MMD -MP -MF cvd_src/globlist.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/noarch/convert_rgb_to_y.cc -o cvd_src/noarch/convert_rgb_to_y.o -MMD -MP -MF cvd_src/noarch/convert_rgb_to_y.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/SSE2/half_sample.cc -o cvd_src/SSE2/half_sample.o -MMD -MP -MF cvd_src/SSE2/half_sample.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/SSE2/gradient.cc -o cvd_src/SSE2/gradient.o -MMD -MP -MF cvd_src/SSE2/gradient.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/SSE2/median_3x3.cc -o cvd_src/SSE2/median_3x3.o -MMD -MP -MF cvd_src/SSE2/median_3x3.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/SSE2/two_thirds_sample.cc -o cvd_src/SSE2/two_thirds_sample.o -MMD -MP -MF cvd_src/SSE2/two_thirds_sample.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/SSE2/utility_double_int.cc -o cvd_src/SSE2/utility_double_int.o -MMD -MP -MF cvd_src/SSE2/utility_double_int.d
cvd_src/SSE2/utility_double_int.cc:8:27: warning: unused function 'zero_si128' [-Wunused-function]
static inline __m128i zero_si128() { __m128i x; asm ( "pxor %0, %0 \n\t" : "=x"(x) ); return x; }
^
1 warning generated.
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/SSE/convolve_gaussian.cc -o cvd_src/SSE/convolve_gaussian.o -MMD -MP -MF cvd_src/SSE/convolve_gaussian.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/SSE/utility_float.cc -o cvd_src/SSE/utility_float.o -MMD -MP -MF cvd_src/SSE/utility_float.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/MMX/utility_byte_differences.cc -o cvd_src/MMX/utility_byte_differences.o -MMD -MP -MF cvd_src/MMX/utility_byte_differences.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/SSE2/faster_corner_9.cxx -o cvd_src/SSE2/faster_corner_9.o -MMD -MP -MF cvd_src/SSE2/faster_corner_9.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/SSE2/faster_corner_10.cxx -o cvd_src/SSE2/faster_corner_10.o -MMD -MP -MF cvd_src/SSE2/faster_corner_10.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/SSE2/faster_corner_12.cxx -o cvd_src/SSE2/faster_corner_12.o -MMD -MP -MF cvd_src/SSE2/faster_corner_12.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/fast/fast_9_detect.cxx -o cvd_src/fast/fast_9_detect.o -MMD -MP -MF cvd_src/fast/fast_9_detect.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/fast/fast_9_score.cxx -o cvd_src/fast/fast_9_score.o -MMD -MP -MF cvd_src/fast/fast_9_score.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/fast/fast_corner_9_nonmax.cxx -o cvd_src/fast/fast_corner_9_nonmax.o -MMD -MP -MF cvd_src/fast/fast_corner_9_nonmax.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/fast/fast_10_detect.cxx -o cvd_src/fast/fast_10_detect.o -MMD -MP -MF cvd_src/fast/fast_10_detect.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/fast/fast_10_score.cxx -o cvd_src/fast/fast_10_score.o -MMD -MP -MF cvd_src/fast/fast_10_score.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/fast/fast_12_detect.cxx -o cvd_src/fast/fast_12_detect.o -MMD -MP -MF cvd_src/fast/fast_12_detect.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/fast/fast_12_score.cxx -o cvd_src/fast/fast_12_score.o -MMD -MP -MF cvd_src/fast/fast_12_score.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/fast/fast_7_detect.cxx -o cvd_src/fast/fast_7_detect.o -MMD -MP -MF cvd_src/fast/fast_7_detect.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/fast/fast_7_score.cxx -o cvd_src/fast/fast_7_score.o -MMD -MP -MF cvd_src/fast/fast_7_score.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/fast/slower_corner_7.cxx -o cvd_src/fast/slower_corner_7.o -MMD -MP -MF cvd_src/fast/slower_corner_7.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/fast/fast_8_detect.cxx -o cvd_src/fast/fast_8_detect.o -MMD -MP -MF cvd_src/fast/fast_8_detect.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/fast/fast_8_score.cxx -o cvd_src/fast/fast_8_score.o -MMD -MP -MF cvd_src/fast/fast_8_score.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/fast/slower_corner_8.cxx -o cvd_src/fast/slower_corner_8.o -MMD -MP -MF cvd_src/fast/slower_corner_8.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/fast/fast_11_detect.cxx -o cvd_src/fast/fast_11_detect.o -MMD -MP -MF cvd_src/fast/fast_11_detect.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/fast/fast_11_score.cxx -o cvd_src/fast/fast_11_score.o -MMD -MP -MF cvd_src/fast/fast_11_score.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/fast/slower_corner_11.cxx -o cvd_src/fast/slower_corner_11.o -MMD -MP -MF cvd_src/fast/slower_corner_11.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/videosource_nodvbuffer.cc -o cvd_src/videosource_nodvbuffer.o -MMD -MP -MF cvd_src/videosource_nodvbuffer.d
In file included from cvd_src/videosource_nodvbuffer.cc:1:
In file included from ./cvd/videosource.h:19:
In file included from ./cvd/readaheadvideobuffer.h:7:
./cvd/internal/concurrency_utilities.h:36:5: warning: control may reach end of non-void function [-Wreturn-type]
}
^
In file included from cvd_src/videosource_nodvbuffer.cc:1:
In file included from ./cvd/videosource.h:19:
./cvd/readaheadvideobuffer.h:12:9: warning: ReadAheadVideoBuffer will not do any read - ahead because threads are not supported in this build [-W#pragma-messages]
#pragma message("ReadAheadVideoBuffer will not do any read - ahead because threads are not supported in this build")
^
2 warnings generated.
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/Linux/videosource_nov4lbuffer.cc -o cvd_src/Linux/videosource_nov4lbuffer.o -MMD -MP -MF cvd_src/Linux/videosource_nov4lbuffer.d
In file included from cvd_src/Linux/videosource_nov4lbuffer.cc:1:
In file included from ./cvd/videosource.h:19:
In file included from ./cvd/readaheadvideobuffer.h:7:
./cvd/internal/concurrency_utilities.h:36:5: warning: control may reach end of non-void function [-Wreturn-type]
}
^
In file included from cvd_src/Linux/videosource_nov4lbuffer.cc:1:
In file included from ./cvd/videosource.h:19:
./cvd/readaheadvideobuffer.h:12:9: warning: ReadAheadVideoBuffer will not do any read - ahead because threads are not supported in this build [-W#pragma-messages]
#pragma message("ReadAheadVideoBuffer will not do any read - ahead because threads are not supported in this build")
^
2 warnings generated.
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/videosource_nouvcbuffer.cc -o cvd_src/videosource_nouvcbuffer.o -MMD -MP -MF cvd_src/videosource_nouvcbuffer.d
In file included from cvd_src/videosource_nouvcbuffer.cc:1:
In file included from ./cvd/videosource.h:19:
In file included from ./cvd/readaheadvideobuffer.h:7:
./cvd/internal/concurrency_utilities.h:36:5: warning: control may reach end of non-void function [-Wreturn-type]
}
^
In file included from cvd_src/videosource_nouvcbuffer.cc:1:
In file included from ./cvd/videosource.h:19:
./cvd/readaheadvideobuffer.h:12:9: warning: ReadAheadVideoBuffer will not do any read - ahead because threads are not supported in this build [-W#pragma-messages]
#pragma message("ReadAheadVideoBuffer will not do any read - ahead because threads are not supported in this build")
^
cvd_src/videosource_nouvcbuffer.cc:6:68: warning: unused parameter 'dev' [-Wunused-parameter]
template <> VideoBuffer* makeUVCBuffer(const std::string& dev, const ImageRef&, double, bool, bool)
^
cvd_src/videosource_nouvcbuffer.cc:10:72: warning: unused parameter 'dev' [-Wunused-parameter]
template <> VideoBuffer<Rgb >* makeUVCBuffer(const std::string& dev, const ImageRef&, double, bool, bool)
^
4 warnings generated.
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/videosource_novideofilebuffer.cc -o cvd_src/videosource_novideofilebuffer.o -MMD -MP -MF cvd_src/videosource_novideofilebuffer.d
In file included from cvd_src/videosource_novideofilebuffer.cc:1:
In file included from ./cvd/videosource.h:19:
In file included from ./cvd/readaheadvideobuffer.h:7:
./cvd/internal/concurrency_utilities.h:36:5: warning: control may reach end of non-void function [-Wreturn-type]
}
^
In file included from cvd_src/videosource_novideofilebuffer.cc:1:
In file included from ./cvd/videosource.h:19:
./cvd/readaheadvideobuffer.h:12:9: warning: ReadAheadVideoBuffer will not do any read - ahead because threads are not supported in this build [-W#pragma-messages]
#pragma message("ReadAheadVideoBuffer will not do any read - ahead because threads are not supported in this build")
^
2 warnings generated.
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/tensor_voting.cc -o cvd_src/tensor_voting.o -MMD -MP -MF cvd_src/tensor_voting.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/brezenham.cc -o cvd_src/brezenham.o -MMD -MP -MF cvd_src/brezenham.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/draw_toon.cc -o cvd_src/draw_toon.o -MMD -MP -MF cvd_src/draw_toon.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/quartic.cpp -o cvd_src/quartic.o -MMD -MP -MF cvd_src/quartic.d
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c cvd_src/threepointpose.cpp -o cvd_src/threepointpose.o -MMD -MP -MF cvd_src/threepointpose.d
ar crvs libcvd.a cvd_src/diskbuffer2.o cvd_src/deinterlacebuffer.o cvd_src/exceptions.o cvd_src/image_io.o cvd_src/bayer.o cvd_src/morphology.o cvd_src/colourspace_convert.o cvd_src/draw.o cvd_src/noarch/yuv422.o cvd_src/yuv420.o cvd_src/image_io/pnm_grok.o cvd_src/image_io/bmp.o cvd_src/image_io/bmp_read.o cvd_src/image_io/bmp_write.o cvd_src/image_io/cvdimage.o cvd_src/image_io/fits.o cvd_src/image_io/fitswrite.o cvd_src/image_io/save_postscript.o cvd_src/image_io/text_write.o cvd_src/image_io/text.o cvd_src/fast_corner.o cvd_src/convolution.o cvd_src/nonmax_suppression.o cvd_src/timeddiskbuffer.o cvd_src/videosource.o cvd_src/connected_components.o cvd_src/cvd_timer.o cvd_src/globlist.o cvd_src/noarch/convert_rgb_to_y.o cvd_src/SSE2/half_sample.o cvd_src/SSE2/gradient.o cvd_src/SSE2/median_3x3.o cvd_src/SSE2/two_thirds_sample.o cvd_src/SSE2/utility_double_int.o cvd_src/SSE/convolve_gaussian.o cvd_src/SSE/utility_float.o cvd_src/MMX/utility_byte_differences.o cvd_src/SSE2/faster_corner_9.o cvd_src/SSE2/faster_corner_10.o cvd_src/SSE2/faster_corner_12.o cvd_src/fast/fast_9_detect.o cvd_src/fast/fast_9_score.o cvd_src/fast/fast_corner_9_nonmax.o cvd_src/fast/fast_10_detect.o cvd_src/fast/fast_10_score.o cvd_src/fast/fast_12_detect.o cvd_src/fast/fast_12_score.o cvd_src/fast/fast_7_detect.o cvd_src/fast/fast_7_score.o cvd_src/fast/slower_corner_7.o cvd_src/fast/fast_8_detect.o cvd_src/fast/fast_8_score.o cvd_src/fast/slower_corner_8.o cvd_src/fast/fast_11_detect.o cvd_src/fast/fast_11_score.o cvd_src/fast/slower_corner_11.o cvd_src/videosource_nodvbuffer.o cvd_src/Linux/videosource_nov4lbuffer.o cvd_src/videosource_nouvcbuffer.o cvd_src/videosource_novideofilebuffer.o cvd_src/tensor_voting.o cvd_src/brezenham.o cvd_src/draw_toon.o cvd_src/quartic.o cvd_src/threepointpose.o
a - cvd_src/diskbuffer2.o
a - cvd_src/deinterlacebuffer.o
a - cvd_src/exceptions.o
a - cvd_src/image_io.o
a - cvd_src/bayer.o
a - cvd_src/morphology.o
a - cvd_src/colourspace_convert.o
a - cvd_src/draw.o
a - cvd_src/noarch/yuv422.o
a - cvd_src/yuv420.o
a - cvd_src/image_io/pnm_grok.o
a - cvd_src/image_io/bmp.o
a - cvd_src/image_io/bmp_read.o
a - cvd_src/image_io/bmp_write.o
a - cvd_src/image_io/cvdimage.o
a - cvd_src/image_io/fits.o
a - cvd_src/image_io/fitswrite.o
a - cvd_src/image_io/save_postscript.o
a - cvd_src/image_io/text_write.o
a - cvd_src/image_io/text.o
a - cvd_src/fast_corner.o
a - cvd_src/convolution.o
a - cvd_src/nonmax_suppression.o
a - cvd_src/timeddiskbuffer.o
a - cvd_src/videosource.o
a - cvd_src/connected_components.o
a - cvd_src/cvd_timer.o
a - cvd_src/globlist.o
a - cvd_src/noarch/convert_rgb_to_y.o
a - cvd_src/SSE2/half_sample.o
a - cvd_src/SSE2/gradient.o
a - cvd_src/SSE2/median_3x3.o
a - cvd_src/SSE2/two_thirds_sample.o
a - cvd_src/SSE2/utility_double_int.o
a - cvd_src/SSE/convolve_gaussian.o
a - cvd_src/SSE/utility_float.o
a - cvd_src/MMX/utility_byte_differences.o
a - cvd_src/SSE2/faster_corner_9.o
a - cvd_src/SSE2/faster_corner_10.o
a - cvd_src/SSE2/faster_corner_12.o
a - cvd_src/fast/fast_9_detect.o
a - cvd_src/fast/fast_9_score.o
a - cvd_src/fast/fast_corner_9_nonmax.o
a - cvd_src/fast/fast_10_detect.o
a - cvd_src/fast/fast_10_score.o
a - cvd_src/fast/fast_12_detect.o
a - cvd_src/fast/fast_12_score.o
a - cvd_src/fast/fast_7_detect.o
a - cvd_src/fast/fast_7_score.o
a - cvd_src/fast/slower_corner_7.o
a - cvd_src/fast/fast_8_detect.o
a - cvd_src/fast/fast_8_score.o
a - cvd_src/fast/slower_corner_8.o
a - cvd_src/fast/fast_11_detect.o
a - cvd_src/fast/fast_11_score.o
a - cvd_src/fast/slower_corner_11.o
a - cvd_src/videosource_nodvbuffer.o
a - cvd_src/Linux/videosource_nov4lbuffer.o
a - cvd_src/videosource_nouvcbuffer.o
a - cvd_src/videosource_novideofilebuffer.o
a - cvd_src/tensor_voting.o
a - cvd_src/brezenham.o
a - cvd_src/draw_toon.o
a - cvd_src/quartic.o
a - cvd_src/threepointpose.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcvd.a(colourspace_convert.o) has no symbols
ranlib libcvd.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcvd.a(colourspace_convert.o) has no symbols
rm -f libcvd.dylib libcvd-0.dylib libcvd-0.8.dylib
g++ -dynamiclib -o libcvd-0.8.dylib cvd_src/diskbuffer2.o cvd_src/deinterlacebuffer.o cvd_src/exceptions.o cvd_src/image_io.o cvd_src/bayer.o cvd_src/morphology.o cvd_src/colourspace_convert.o cvd_src/draw.o cvd_src/noarch/yuv422.o cvd_src/yuv420.o cvd_src/image_io/pnm_grok.o cvd_src/image_io/bmp.o cvd_src/image_io/bmp_read.o cvd_src/image_io/bmp_write.o cvd_src/image_io/cvdimage.o cvd_src/image_io/fits.o cvd_src/image_io/fitswrite.o cvd_src/image_io/save_postscript.o cvd_src/image_io/text_write.o cvd_src/image_io/text.o cvd_src/fast_corner.o cvd_src/convolution.o cvd_src/nonmax_suppression.o cvd_src/timeddiskbuffer.o cvd_src/videosource.o cvd_src/connected_components.o cvd_src/cvd_timer.o cvd_src/globlist.o cvd_src/noarch/convert_rgb_to_y.o cvd_src/SSE2/half_sample.o cvd_src/SSE2/gradient.o cvd_src/SSE2/median_3x3.o cvd_src/SSE2/two_thirds_sample.o cvd_src/SSE2/utility_double_int.o cvd_src/SSE/convolve_gaussian.o cvd_src/SSE/utility_float.o cvd_src/MMX/utility_byte_differences.o cvd_src/SSE2/faster_corner_9.o cvd_src/SSE2/faster_corner_10.o cvd_src/SSE2/faster_corner_12.o cvd_src/fast/fast_9_detect.o cvd_src/fast/fast_9_score.o cvd_src/fast/fast_corner_9_nonmax.o cvd_src/fast/fast_10_detect.o cvd_src/fast/fast_10_score.o cvd_src/fast/fast_12_detect.o cvd_src/fast/fast_12_score.o cvd_src/fast/fast_7_detect.o cvd_src/fast/fast_7_score.o cvd_src/fast/slower_corner_7.o cvd_src/fast/fast_8_detect.o cvd_src/fast/fast_8_score.o cvd_src/fast/slower_corner_8.o cvd_src/fast/fast_11_detect.o cvd_src/fast/fast_11_score.o cvd_src/fast/slower_corner_11.o cvd_src/videosource_nodvbuffer.o cvd_src/Linux/videosource_nov4lbuffer.o cvd_src/videosource_nouvcbuffer.o cvd_src/videosource_novideofilebuffer.o cvd_src/tensor_voting.o cvd_src/brezenham.o cvd_src/draw_toon.o cvd_src/quartic.o cvd_src/threepointpose.o -L. -lpthread -framework Accelerate
ln -s libcvd-0.8.dylib libcvd-0.dylib
ln -s libcvd-0.dylib libcvd.dylib
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c progs/se3_exp.cxx -o progs/se3_exp.o -MMD -MP -MF progs/se3_exp.d
g++ -o progs/se3_exp progs/se3_exp.o -L. -lcvd -lpthread -framework Accelerate
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c progs/se3_ln.cxx -o progs/se3_ln.o -MMD -MP -MF progs/se3_ln.d
g++ -o progs/se3_ln progs/se3_ln.o -L. -lcvd -lpthread -framework Accelerate
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c progs/se3_pre_mul.cxx -o progs/se3_pre_mul.o -MMD -MP -MF progs/se3_pre_mul.d
g++ -o progs/se3_pre_mul progs/se3_pre_mul.o -L. -lcvd -lpthread -framework Accelerate
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c progs/se3_post_mul.cxx -o progs/se3_post_mul.o -MMD -MP -MF progs/se3_post_mul.d
g++ -o progs/se3_post_mul progs/se3_post_mul.o -L. -lcvd -lpthread -framework Accelerate
g++ -O3 -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -c progs/se3_inv.cxx -o progs/se3_inv.o -MMD -MP -MF progs/se3_inv.d
g++ -o progs/se3_inv progs/se3_inv.o -L. -lcvd -lpthread -framework Accelerate
mkdir -p debug/cvd_src debug/cvd_src/MMX debug/cvd_src/image_io debug/cvd_src/SSE debug/cvd_src/SSE2 debug/cvd_src/fast debug/cvd_src/i686 debug/cvd_src/Linux debug/cvd_src/NEON debug/cvd_src/noarch debug/cvd_src/Win32 debug/cvd_src/nothread
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/diskbuffer2.cc -o debug/cvd_src/diskbuffer2.o -MMD -MP -MF debug/cvd_src/diskbuffer2.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/deinterlacebuffer.cc -o debug/cvd_src/deinterlacebuffer.o -MMD -MP -MF debug/cvd_src/deinterlacebuffer.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/exceptions.cc -o debug/cvd_src/exceptions.o -MMD -MP -MF debug/cvd_src/exceptions.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/image_io.cc -o debug/cvd_src/image_io.o -MMD -MP -MF debug/cvd_src/image_io.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/bayer.cxx -o debug/cvd_src/bayer.o -MMD -MP -MF debug/cvd_src/bayer.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/morphology.cc -o debug/cvd_src/morphology.o -MMD -MP -MF debug/cvd_src/morphology.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/colourspace_convert.cxx -o debug/cvd_src/colourspace_convert.o -MMD -MP -MF debug/cvd_src/colourspace_convert.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/draw.cc -o debug/cvd_src/draw.o -MMD -MP -MF debug/cvd_src/draw.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/noarch/yuv422.cpp -o debug/cvd_src/noarch/yuv422.o -MMD -MP -MF debug/cvd_src/noarch/yuv422.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/yuv420.cpp -o debug/cvd_src/yuv420.o -MMD -MP -MF debug/cvd_src/yuv420.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/image_io/pnm_grok.cxx -o debug/cvd_src/image_io/pnm_grok.o -MMD -MP -MF debug/cvd_src/image_io/pnm_grok.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/image_io/bmp.cxx -o debug/cvd_src/image_io/bmp.o -MMD -MP -MF debug/cvd_src/image_io/bmp.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/image_io/bmp_read.cc -o debug/cvd_src/image_io/bmp_read.o -MMD -MP -MF debug/cvd_src/image_io/bmp_read.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/image_io/bmp_write.cc -o debug/cvd_src/image_io/bmp_write.o -MMD -MP -MF debug/cvd_src/image_io/bmp_write.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/image_io/cvdimage.cxx -o debug/cvd_src/image_io/cvdimage.o -MMD -MP -MF debug/cvd_src/image_io/cvdimage.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/image_io/fits.cc -o debug/cvd_src/image_io/fits.o -MMD -MP -MF debug/cvd_src/image_io/fits.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/image_io/fitswrite.cc -o debug/cvd_src/image_io/fitswrite.o -MMD -MP -MF debug/cvd_src/image_io/fitswrite.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/image_io/save_postscript.cxx -o debug/cvd_src/image_io/save_postscript.o -MMD -MP -MF debug/cvd_src/image_io/save_postscript.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/image_io/text_write.cc -o debug/cvd_src/image_io/text_write.o -MMD -MP -MF debug/cvd_src/image_io/text_write.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/image_io/text.cxx -o debug/cvd_src/image_io/text.o -MMD -MP -MF debug/cvd_src/image_io/text.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/fast_corner.cxx -o debug/cvd_src/fast_corner.o -MMD -MP -MF debug/cvd_src/fast_corner.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/convolution.cc -o debug/cvd_src/convolution.o -MMD -MP -MF debug/cvd_src/convolution.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/nonmax_suppression.cxx -o debug/cvd_src/nonmax_suppression.o -MMD -MP -MF debug/cvd_src/nonmax_suppression.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/timeddiskbuffer.cc -o debug/cvd_src/timeddiskbuffer.o -MMD -MP -MF debug/cvd_src/timeddiskbuffer.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/videosource.cpp -o debug/cvd_src/videosource.o -MMD -MP -MF debug/cvd_src/videosource.d
In file included from cvd_src/videosource.cpp:1:
In file included from ./cvd/videosource.h:19:
In file included from ./cvd/readaheadvideobuffer.h:7:
./cvd/internal/concurrency_utilities.h:36:5: warning: control may reach end of non-void function [-Wreturn-type]
}
^
In file included from cvd_src/videosource.cpp:1:
In file included from ./cvd/videosource.h:19:
./cvd/readaheadvideobuffer.h:12:9: warning: ReadAheadVideoBuffer will not do any read - ahead because threads are not supported in this build [-W#pragma-messages]
#pragma message("ReadAheadVideoBuffer will not do any read - ahead because threads are not supported in this build")
^
2 warnings generated.
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/connected_components.cc -o debug/cvd_src/connected_components.o -MMD -MP -MF debug/cvd_src/connected_components.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/cvd_timer.cc -o debug/cvd_src/cvd_timer.o -MMD -MP -MF debug/cvd_src/cvd_timer.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/globlist.cxx -o debug/cvd_src/globlist.o -MMD -MP -MF debug/cvd_src/globlist.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/noarch/convert_rgb_to_y.cc -o debug/cvd_src/noarch/convert_rgb_to_y.o -MMD -MP -MF debug/cvd_src/noarch/convert_rgb_to_y.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/SSE2/half_sample.cc -o debug/cvd_src/SSE2/half_sample.o -MMD -MP -MF debug/cvd_src/SSE2/half_sample.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/SSE2/gradient.cc -o debug/cvd_src/SSE2/gradient.o -MMD -MP -MF debug/cvd_src/SSE2/gradient.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/SSE2/median_3x3.cc -o debug/cvd_src/SSE2/median_3x3.o -MMD -MP -MF debug/cvd_src/SSE2/median_3x3.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/SSE2/two_thirds_sample.cc -o debug/cvd_src/SSE2/two_thirds_sample.o -MMD -MP -MF debug/cvd_src/SSE2/two_thirds_sample.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/SSE2/utility_double_int.cc -o debug/cvd_src/SSE2/utility_double_int.o -MMD -MP -MF debug/cvd_src/SSE2/utility_double_int.d
cvd_src/SSE2/utility_double_int.cc:8:27: warning: unused function 'zero_si128' [-Wunused-function]
static inline __m128i zero_si128() { __m128i x; asm ( "pxor %0, %0 \n\t" : "=x"(x) ); return x; }
^
1 warning generated.
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/SSE/convolve_gaussian.cc -o debug/cvd_src/SSE/convolve_gaussian.o -MMD -MP -MF debug/cvd_src/SSE/convolve_gaussian.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/SSE/utility_float.cc -o debug/cvd_src/SSE/utility_float.o -MMD -MP -MF debug/cvd_src/SSE/utility_float.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/MMX/utility_byte_differences.cc -o debug/cvd_src/MMX/utility_byte_differences.o -MMD -MP -MF debug/cvd_src/MMX/utility_byte_differences.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/SSE2/faster_corner_9.cxx -o debug/cvd_src/SSE2/faster_corner_9.o -MMD -MP -MF debug/cvd_src/SSE2/faster_corner_9.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/SSE2/faster_corner_10.cxx -o debug/cvd_src/SSE2/faster_corner_10.o -MMD -MP -MF debug/cvd_src/SSE2/faster_corner_10.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/SSE2/faster_corner_12.cxx -o debug/cvd_src/SSE2/faster_corner_12.o -MMD -MP -MF debug/cvd_src/SSE2/faster_corner_12.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/fast/fast_9_detect.cxx -o debug/cvd_src/fast/fast_9_detect.o -MMD -MP -MF debug/cvd_src/fast/fast_9_detect.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/fast/fast_9_score.cxx -o debug/cvd_src/fast/fast_9_score.o -MMD -MP -MF debug/cvd_src/fast/fast_9_score.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/fast/fast_corner_9_nonmax.cxx -o debug/cvd_src/fast/fast_corner_9_nonmax.o -MMD -MP -MF debug/cvd_src/fast/fast_corner_9_nonmax.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/fast/fast_10_detect.cxx -o debug/cvd_src/fast/fast_10_detect.o -MMD -MP -MF debug/cvd_src/fast/fast_10_detect.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/fast/fast_10_score.cxx -o debug/cvd_src/fast/fast_10_score.o -MMD -MP -MF debug/cvd_src/fast/fast_10_score.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/fast/fast_12_detect.cxx -o debug/cvd_src/fast/fast_12_detect.o -MMD -MP -MF debug/cvd_src/fast/fast_12_detect.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/fast/fast_12_score.cxx -o debug/cvd_src/fast/fast_12_score.o -MMD -MP -MF debug/cvd_src/fast/fast_12_score.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/fast/fast_7_detect.cxx -o debug/cvd_src/fast/fast_7_detect.o -MMD -MP -MF debug/cvd_src/fast/fast_7_detect.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/fast/fast_7_score.cxx -o debug/cvd_src/fast/fast_7_score.o -MMD -MP -MF debug/cvd_src/fast/fast_7_score.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/fast/slower_corner_7.cxx -o debug/cvd_src/fast/slower_corner_7.o -MMD -MP -MF debug/cvd_src/fast/slower_corner_7.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/fast/fast_8_detect.cxx -o debug/cvd_src/fast/fast_8_detect.o -MMD -MP -MF debug/cvd_src/fast/fast_8_detect.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/fast/fast_8_score.cxx -o debug/cvd_src/fast/fast_8_score.o -MMD -MP -MF debug/cvd_src/fast/fast_8_score.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/fast/slower_corner_8.cxx -o debug/cvd_src/fast/slower_corner_8.o -MMD -MP -MF debug/cvd_src/fast/slower_corner_8.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/fast/fast_11_detect.cxx -o debug/cvd_src/fast/fast_11_detect.o -MMD -MP -MF debug/cvd_src/fast/fast_11_detect.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/fast/fast_11_score.cxx -o debug/cvd_src/fast/fast_11_score.o -MMD -MP -MF debug/cvd_src/fast/fast_11_score.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/fast/slower_corner_11.cxx -o debug/cvd_src/fast/slower_corner_11.o -MMD -MP -MF debug/cvd_src/fast/slower_corner_11.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/videosource_nodvbuffer.cc -o debug/cvd_src/videosource_nodvbuffer.o -MMD -MP -MF debug/cvd_src/videosource_nodvbuffer.d
In file included from cvd_src/videosource_nodvbuffer.cc:1:
In file included from ./cvd/videosource.h:19:
In file included from ./cvd/readaheadvideobuffer.h:7:
./cvd/internal/concurrency_utilities.h:36:5: warning: control may reach end of non-void function [-Wreturn-type]
}
^
In file included from cvd_src/videosource_nodvbuffer.cc:1:
In file included from ./cvd/videosource.h:19:
./cvd/readaheadvideobuffer.h:12:9: warning: ReadAheadVideoBuffer will not do any read - ahead because threads are not supported in this build [-W#pragma-messages]
#pragma message("ReadAheadVideoBuffer will not do any read - ahead because threads are not supported in this build")
^
2 warnings generated.
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/Linux/videosource_nov4lbuffer.cc -o debug/cvd_src/Linux/videosource_nov4lbuffer.o -MMD -MP -MF debug/cvd_src/Linux/videosource_nov4lbuffer.d
In file included from cvd_src/Linux/videosource_nov4lbuffer.cc:1:
In file included from ./cvd/videosource.h:19:
In file included from ./cvd/readaheadvideobuffer.h:7:
./cvd/internal/concurrency_utilities.h:36:5: warning: control may reach end of non-void function [-Wreturn-type]
}
^
In file included from cvd_src/Linux/videosource_nov4lbuffer.cc:1:
In file included from ./cvd/videosource.h:19:
./cvd/readaheadvideobuffer.h:12:9: warning: ReadAheadVideoBuffer will not do any read - ahead because threads are not supported in this build [-W#pragma-messages]
#pragma message("ReadAheadVideoBuffer will not do any read - ahead because threads are not supported in this build")
^
2 warnings generated.
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/videosource_nouvcbuffer.cc -o debug/cvd_src/videosource_nouvcbuffer.o -MMD -MP -MF debug/cvd_src/videosource_nouvcbuffer.d
In file included from cvd_src/videosource_nouvcbuffer.cc:1:
In file included from ./cvd/videosource.h:19:
In file included from ./cvd/readaheadvideobuffer.h:7:
./cvd/internal/concurrency_utilities.h:36:5: warning: control may reach end of non-void function [-Wreturn-type]
}
^
In file included from cvd_src/videosource_nouvcbuffer.cc:1:
In file included from ./cvd/videosource.h:19:
./cvd/readaheadvideobuffer.h:12:9: warning: ReadAheadVideoBuffer will not do any read - ahead because threads are not supported in this build [-W#pragma-messages]
#pragma message("ReadAheadVideoBuffer will not do any read - ahead because threads are not supported in this build")
^
cvd_src/videosource_nouvcbuffer.cc:6:68: warning: unused parameter 'dev' [-Wunused-parameter]
template <> VideoBuffer* makeUVCBuffer(const std::string& dev, const ImageRef&, double, bool, bool)
^
cvd_src/videosource_nouvcbuffer.cc:10:72: warning: unused parameter 'dev' [-Wunused-parameter]
template <> VideoBuffer<Rgb >* makeUVCBuffer(const std::string& dev, const ImageRef&, double, bool, bool)
^
4 warnings generated.
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/videosource_novideofilebuffer.cc -o debug/cvd_src/videosource_novideofilebuffer.o -MMD -MP -MF debug/cvd_src/videosource_novideofilebuffer.d
In file included from cvd_src/videosource_novideofilebuffer.cc:1:
In file included from ./cvd/videosource.h:19:
In file included from ./cvd/readaheadvideobuffer.h:7:
./cvd/internal/concurrency_utilities.h:36:5: warning: control may reach end of non-void function [-Wreturn-type]
}
^
In file included from cvd_src/videosource_novideofilebuffer.cc:1:
In file included from ./cvd/videosource.h:19:
./cvd/readaheadvideobuffer.h:12:9: warning: ReadAheadVideoBuffer will not do any read - ahead because threads are not supported in this build [-W#pragma-messages]
#pragma message("ReadAheadVideoBuffer will not do any read - ahead because threads are not supported in this build")
^
2 warnings generated.
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/tensor_voting.cc -o debug/cvd_src/tensor_voting.o -MMD -MP -MF debug/cvd_src/tensor_voting.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/brezenham.cc -o debug/cvd_src/brezenham.o -MMD -MP -MF debug/cvd_src/brezenham.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/draw_toon.cc -o debug/cvd_src/draw_toon.o -MMD -MP -MF debug/cvd_src/draw_toon.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/quartic.cpp -o debug/cvd_src/quartic.o -MMD -MP -MF debug/cvd_src/quartic.d
g++ -I. -I. -INONE/include -I/usr/X11R6/include -g -Wall -Wextra -pipe -std=c++14 -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -D_GLIBCXX_DEBUG -fsanitize=address,undefined -DCVD_IMAGE_DEBUG -DTOON_CHECK_BOUNDS -DTOON_INITIALIZE_NAN -c cvd_src/threepointpose.cpp -o debug/cvd_src/threepointpose.o -MMD -MP -MF debug/cvd_src/threepointpose.d
ar crvs libcvd_debug.a debug/cvd_src/diskbuffer2.o debug/cvd_src/deinterlacebuffer.o debug/cvd_src/exceptions.o debug/cvd_src/image_io.o debug/cvd_src/bayer.o debug/cvd_src/morphology.o debug/cvd_src/colourspace_convert.o debug/cvd_src/draw.o debug/cvd_src/noarch/yuv422.o debug/cvd_src/yuv420.o debug/cvd_src/image_io/pnm_grok.o debug/cvd_src/image_io/bmp.o debug/cvd_src/image_io/bmp_read.o debug/cvd_src/image_io/bmp_write.o debug/cvd_src/image_io/cvdimage.o debug/cvd_src/image_io/fits.o debug/cvd_src/image_io/fitswrite.o debug/cvd_src/image_io/save_postscript.o debug/cvd_src/image_io/text_write.o debug/cvd_src/image_io/text.o debug/cvd_src/fast_corner.o debug/cvd_src/convolution.o debug/cvd_src/nonmax_suppression.o debug/cvd_src/timeddiskbuffer.o debug/cvd_src/videosource.o debug/cvd_src/connected_components.o debug/cvd_src/cvd_timer.o debug/cvd_src/globlist.o debug/cvd_src/noarch/convert_rgb_to_y.o debug/cvd_src/SSE2/half_sample.o debug/cvd_src/SSE2/gradient.o debug/cvd_src/SSE2/median_3x3.o debug/cvd_src/SSE2/two_thirds_sample.o debug/cvd_src/SSE2/utility_double_int.o debug/cvd_src/SSE/convolve_gaussian.o debug/cvd_src/SSE/utility_float.o debug/cvd_src/MMX/utility_byte_differences.o debug/cvd_src/SSE2/faster_corner_9.o debug/cvd_src/SSE2/faster_corner_10.o debug/cvd_src/SSE2/faster_corner_12.o debug/cvd_src/fast/fast_9_detect.o debug/cvd_src/fast/fast_9_score.o debug/cvd_src/fast/fast_corner_9_nonmax.o debug/cvd_src/fast/fast_10_detect.o debug/cvd_src/fast/fast_10_score.o debug/cvd_src/fast/fast_12_detect.o debug/cvd_src/fast/fast_12_score.o debug/cvd_src/fast/fast_7_detect.o debug/cvd_src/fast/fast_7_score.o debug/cvd_src/fast/slower_corner_7.o debug/cvd_src/fast/fast_8_detect.o debug/cvd_src/fast/fast_8_score.o debug/cvd_src/fast/slower_corner_8.o debug/cvd_src/fast/fast_11_detect.o debug/cvd_src/fast/fast_11_score.o debug/cvd_src/fast/slower_corner_11.o debug/cvd_src/videosource_nodvbuffer.o debug/cvd_src/Linux/videosource_nov4lbuffer.o debug/cvd_src/videosource_nouvcbuffer.o debug/cvd_src/videosource_novideofilebuffer.o debug/cvd_src/tensor_voting.o debug/cvd_src/brezenham.o debug/cvd_src/draw_toon.o debug/cvd_src/quartic.o debug/cvd_src/threepointpose.o
a - debug/cvd_src/diskbuffer2.o
a - debug/cvd_src/deinterlacebuffer.o
a - debug/cvd_src/exceptions.o
a - debug/cvd_src/image_io.o
a - debug/cvd_src/bayer.o
a - debug/cvd_src/morphology.o
a - debug/cvd_src/colourspace_convert.o
a - debug/cvd_src/draw.o
a - debug/cvd_src/noarch/yuv422.o
a - debug/cvd_src/yuv420.o
a - debug/cvd_src/image_io/pnm_grok.o
a - debug/cvd_src/image_io/bmp.o
a - debug/cvd_src/image_io/bmp_read.o
a - debug/cvd_src/image_io/bmp_write.o
a - debug/cvd_src/image_io/cvdimage.o
a - debug/cvd_src/image_io/fits.o
a - debug/cvd_src/image_io/fitswrite.o
a - debug/cvd_src/image_io/save_postscript.o
a - debug/cvd_src/image_io/text_write.o
a - debug/cvd_src/image_io/text.o
a - debug/cvd_src/fast_corner.o
a - debug/cvd_src/convolution.o
a - debug/cvd_src/nonmax_suppression.o
a - debug/cvd_src/timeddiskbuffer.o
a - debug/cvd_src/videosource.o
a - debug/cvd_src/connected_components.o
a - debug/cvd_src/cvd_timer.o
a - debug/cvd_src/globlist.o
a - debug/cvd_src/noarch/convert_rgb_to_y.o
a - debug/cvd_src/SSE2/half_sample.o
a - debug/cvd_src/SSE2/gradient.o
a - debug/cvd_src/SSE2/median_3x3.o
a - debug/cvd_src/SSE2/two_thirds_sample.o
a - debug/cvd_src/SSE2/utility_double_int.o
a - debug/cvd_src/SSE/convolve_gaussian.o
a - debug/cvd_src/SSE/utility_float.o
a - debug/cvd_src/MMX/utility_byte_differences.o
a - debug/cvd_src/SSE2/faster_corner_9.o
a - debug/cvd_src/SSE2/faster_corner_10.o
a - debug/cvd_src/SSE2/faster_corner_12.o
a - debug/cvd_src/fast/fast_9_detect.o
a - debug/cvd_src/fast/fast_9_score.o
a - debug/cvd_src/fast/fast_corner_9_nonmax.o
a - debug/cvd_src/fast/fast_10_detect.o
a - debug/cvd_src/fast/fast_10_score.o
a - debug/cvd_src/fast/fast_12_detect.o
a - debug/cvd_src/fast/fast_12_score.o
a - debug/cvd_src/fast/fast_7_detect.o
a - debug/cvd_src/fast/fast_7_score.o
a - debug/cvd_src/fast/slower_corner_7.o
a - debug/cvd_src/fast/fast_8_detect.o
a - debug/cvd_src/fast/fast_8_score.o
a - debug/cvd_src/fast/slower_corner_8.o
a - debug/cvd_src/fast/fast_11_detect.o
a - debug/cvd_src/fast/fast_11_score.o
a - debug/cvd_src/fast/slower_corner_11.o
a - debug/cvd_src/videosource_nodvbuffer.o
a - debug/cvd_src/Linux/videosource_nov4lbuffer.o
a - debug/cvd_src/videosource_nouvcbuffer.o
a - debug/cvd_src/videosource_novideofilebuffer.o
a - debug/cvd_src/tensor_voting.o
a - debug/cvd_src/brezenham.o
a - debug/cvd_src/draw_toon.o
a - debug/cvd_src/quartic.o
a - debug/cvd_src/threepointpose.o
ranlib libcvd_debug.a
rm -f libcvd_debug.dylib libcvd_debug-0.dylib libcvd_debug-0.8.dylib
g++ -dynamiclib -o libcvd_debug-0.8.dylib debug/cvd_src/diskbuffer2.o debug/cvd_src/deinterlacebuffer.o debug/cvd_src/exceptions.o debug/cvd_src/image_io.o debug/cvd_src/bayer.o debug/cvd_src/morphology.o debug/cvd_src/colourspace_convert.o debug/cvd_src/draw.o debug/cvd_src/noarch/yuv422.o debug/cvd_src/yuv420.o debug/cvd_src/image_io/pnm_grok.o debug/cvd_src/image_io/bmp.o debug/cvd_src/image_io/bmp_read.o debug/cvd_src/image_io/bmp_write.o debug/cvd_src/image_io/cvdimage.o debug/cvd_src/image_io/fits.o debug/cvd_src/image_io/fitswrite.o debug/cvd_src/image_io/save_postscript.o debug/cvd_src/image_io/text_write.o debug/cvd_src/image_io/text.o debug/cvd_src/fast_corner.o debug/cvd_src/convolution.o debug/cvd_src/nonmax_suppression.o debug/cvd_src/timeddiskbuffer.o debug/cvd_src/videosource.o debug/cvd_src/connected_components.o debug/cvd_src/cvd_timer.o debug/cvd_src/globlist.o debug/cvd_src/noarch/convert_rgb_to_y.o debug/cvd_src/SSE2/half_sample.o debug/cvd_src/SSE2/gradient.o debug/cvd_src/SSE2/median_3x3.o debug/cvd_src/SSE2/two_thirds_sample.o debug/cvd_src/SSE2/utility_double_int.o debug/cvd_src/SSE/convolve_gaussian.o debug/cvd_src/SSE/utility_float.o debug/cvd_src/MMX/utility_byte_differences.o debug/cvd_src/SSE2/faster_corner_9.o debug/cvd_src/SSE2/faster_corner_10.o debug/cvd_src/SSE2/faster_corner_12.o debug/cvd_src/fast/fast_9_detect.o debug/cvd_src/fast/fast_9_score.o debug/cvd_src/fast/fast_corner_9_nonmax.o debug/cvd_src/fast/fast_10_detect.o debug/cvd_src/fast/fast_10_score.o debug/cvd_src/fast/fast_12_detect.o debug/cvd_src/fast/fast_12_score.o debug/cvd_src/fast/fast_7_detect.o debug/cvd_src/fast/fast_7_score.o debug/cvd_src/fast/slower_corner_7.o debug/cvd_src/fast/fast_8_detect.o debug/cvd_src/fast/fast_8_score.o debug/cvd_src/fast/slower_corner_8.o debug/cvd_src/fast/fast_11_detect.o debug/cvd_src/fast/fast_11_score.o debug/cvd_src/fast/slower_corner_11.o debug/cvd_src/videosource_nodvbuffer.o debug/cvd_src/Linux/videosource_nov4lbuffer.o debug/cvd_src/videosource_nouvcbuffer.o debug/cvd_src/videosource_novideofilebuffer.o debug/cvd_src/tensor_voting.o debug/cvd_src/brezenham.o debug/cvd_src/draw_toon.o debug/cvd_src/quartic.o debug/cvd_src/threepointpose.o -L. -lpthread -framework Accelerate
Undefined symbols for architecture x86_64:
"___asan_after_dynamic_init", referenced from:
__GLOBAL__sub_I_diskbuffer2.cc in diskbuffer2.o
__GLOBAL__sub_I_deinterlacebuffer.cc in deinterlacebuffer.o
__GLOBAL__sub_I_image_io.cc in image_io.o
__GLOBAL__sub_I_draw.cc in draw.o
__GLOBAL__sub_I_text.cxx in text.o
__GLOBAL__sub_I_convolution.cc in convolution.o
__GLOBAL__sub_I_timeddiskbuffer.cc in timeddiskbuffer.o
...
"___asan_before_dynamic_init", referenced from:
__GLOBAL__sub_I_diskbuffer2.cc in diskbuffer2.o
__GLOBAL__sub_I_deinterlacebuffer.cc in deinterlacebuffer.o
__GLOBAL__sub_I_image_io.cc in image_io.o
__GLOBAL__sub_I_draw.cc in draw.o
__GLOBAL__sub_I_text.cxx in text.o
__GLOBAL__sub_I_convolution.cc in convolution.o
__GLOBAL__sub_I_timeddiskbuffer.cc in timeddiskbuffer.o
...
"___asan_handle_no_return", referenced from:
CVD::Exceptions::DiskBuffer2::BadImageSize::BadImageSize(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in diskbuffer2.o
CVD::Exceptions::DiskBuffer2::BadFile::BadFile(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int) in diskbuffer2.o
CVD::Exceptions::DiskBuffer2::BadImage::BadImage(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in diskbuffer2.o
CVD::Exceptions::DiskBuffer2::BadSeek::BadSeek(double) in diskbuffer2.o
std::__1::basic_ostream<char, std::__1::char_traits >& std::__1::__put_character_sequence<char, std::__1::char_traits >(std::__1::basic_ostream<char, std::__1::char_traits >&, char const*, unsigned long) in diskbuffer2.o
std::__1::enable_if<__is_forward_iterator<char*>::value, void>::type std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >::__init<char*>(char*, char*) in diskbuffer2.o
std::__1::__throw_length_error(char const*) in diskbuffer2.o
...
"___asan_init", referenced from:
_asan.module_ctor in diskbuffer2.o
_asan.module_ctor in deinterlacebuffer.o
_asan.module_ctor in exceptions.o
_asan.module_ctor in image_io.o
_asan.module_ctor in bayer.o
_asan.module_ctor in morphology.o
_asan.module_ctor in colourspace_convert.o
...
"___asan_load1", referenced from:
CVD::fast_corner_detect_plain_7(CVD::BasicImage const&, std::__1::vector<CVD::ImageRef, std::__1::allocatorCVD::ImageRef >&, int) in fast_7_detect.o
CVD::fast_corner_score_7(unsigned char const*, int const*, int) in fast_7_score.o
"___asan_load4", referenced from:
CVD::fast_corner_detect_plain_7(CVD::BasicImage const&, std::__1::vector<CVD::ImageRef, std::__1::allocatorCVD::ImageRef >&, int) in fast_7_detect.o
CVD::fast_corner_score_7(unsigned char const*, int const*, int) in fast_7_score.o
"___asan_load8", referenced from:
CVD::fast_corner_detect_plain_7(CVD::BasicImage const&, std::__1::vector<CVD::ImageRef, std::__1::allocatorCVD::ImageRef >&, int) in fast_7_detect.o
"___asan_memcpy", referenced from:
CVD::Exceptions::DiskBuffer2::BadImageSize::BadImageSize(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in diskbuffer2.o
std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > std::__1::operator+<char, std::__1::char_traits, std::__1::allocator >(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >&&, char const*) in diskbuffer2.o
CVD::Exceptions::DiskBuffer2::BadFile::BadFile(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int) in diskbuffer2.o
CVD::Exceptions::DiskBuffer2::BadImage::BadImage(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in diskbuffer2.o
std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > std::__1::operator+<char, std::__1::char_traits, std::__1::allocator >(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >&&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in diskbuffer2.o
CVD::Exceptions::DiskBuffer2::BadSeek::BadSeek(double) in diskbuffer2.o
std::__1::ostreambuf_iterator<char, std::__1::char_traits > std::__1::__pad_and_output<char, std::__1::char_traits >(std::__1::ostreambuf_iterator<char, std::__1::char_traits >, char const*, char const*, char const*, std::__1::ios_base&, char) in diskbuffer2.o
...
"___asan_memmove", referenced from:
CVD::PNM::pnm_writer::write_shorts(unsigned char const*, unsigned long) in pnm_grok.o
std::__1::__wrap_iter<unsigned char*> std::__1::copy<unsigned char const*, std::__1::__wrap_iter<unsigned char*> >(unsigned char const*, unsigned char const*, std::__1::__wrap_iter<unsigned char*>) in pnm_grok.o
std::__1::enable_if<(is_same<std::__1::remove_const::type, unsigned char>::value) && (is_trivially_copy_assignable::value), unsigned char*>::type std::__1::__copy<unsigned char const, unsigned char>(unsigned char const*, unsigned char const*, unsigned char*) in pnm_grok.o
std::__1::enable_if<(__is_forward_iterator<unsigned char*>::value) && (is_constructible<unsigned char, std::__1::iterator_traits<unsigned char*>::reference>::value), void>::type std::__1::vector<unsigned char, std::__1::allocator >::assign<unsigned char*>(unsigned char*, unsigned char*) in cvdimage.o
unsigned char* std::__1::copy<unsigned char*, unsigned char*>(unsigned char*, unsigned char*, unsigned char*) in cvdimage.o
std::__1::enable_if<(is_same<std::__1::remove_const::type, unsigned char>::value) && (is_trivially_copy_assignable::value), unsigned char*>::type std::__1::__copy<unsigned char, unsigned char>(unsigned char*, unsigned char*, unsigned char*) in cvdimage.o
CVD::FITS::ReadPimpl::get_numeric_field() in fits.o
...
"___asan_memset", referenced from:
CVD::Exceptions::DiskBuffer2::BadSeek::BadSeek(double) in diskbuffer2.o
CVD::Exceptions::All::All() in diskbuffer2.o
std::__1::basic_stringbuf<char, std::__1::char_traits, std::__1::allocator >::seekoff(long long, std::__1::ios_base::seekdir, unsigned int) in diskbuffer2.o
std::__1::ostreambuf_iterator<char, std::__1::char_traits > std::__1::__pad_and_output<char, std::__1::char_traits >(std::__1::ostreambuf_iterator<char, std::__1::char_traits >, char const*, char const*, char const*, std::__1::ios_base&, char) in diskbuffer2.o
std::__1::basic_stringbuf<char, std::__1::char_traits, std::__1::allocator >::str() const in diskbuffer2.o
CVD::Exceptions::All::All() in deinterlacebuffer.o
CVD::Exceptions::All::All() in exceptions.o
...
"___asan_option_detect_stack_use_after_return", referenced from:
CVD::Exceptions::DiskBuffer2::BadImageSize::BadImageSize(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in diskbuffer2.o
CVD::Exceptions::DiskBuffer2::BadFile::BadFile(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int) in diskbuffer2.o
CVD::Exceptions::DiskBuffer2::BadImage::BadImage(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in diskbuffer2.o
CVD::Exceptions::DiskBuffer2::BadSeek::BadSeek(double) in diskbuffer2.o
std::__1::basic_stringbuf<char, std::__1::char_traits, std::__1::allocator >::seekpos(std::__1::fpos<__mbstate_t>, unsigned int) in diskbuffer2.o
std::__1::basic_stringbuf<char, std::__1::char_traits, std::__1::allocator >::overflow(int) in diskbuffer2.o
char* const& std::__1::max<char*>(char* const&, char* const&) in diskbuffer2.o
...
"___asan_register_image_globals", referenced from:
_asan.module_ctor in diskbuffer2.o
_asan.module_ctor in deinterlacebuffer.o
_asan.module_ctor in exceptions.o
_asan.module_ctor in image_io.o
_asan.module_ctor in bayer.o
_asan.module_ctor in morphology.o
_asan.module_ctor in draw.o
...
"___asan_report_load1", referenced from:
CVD::Exceptions::DiskBuffer2::BadImageSize::BadImageSize(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in diskbuffer2.o
CVD::Exceptions::DiskBuffer2::BadFile::BadFile(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int) in diskbuffer2.o
CVD::Exceptions::DiskBuffer2::BadImage::BadImage(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in diskbuffer2.o
std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > std::__1::operator+<char, std::__1::char_traits, std::__1::allocator >(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >&&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in diskbuffer2.o
CVD::Exceptions::DiskBuffer2::BadSeek::BadSeek(double) in diskbuffer2.o
std::__1::basic_stringbuf<char, std::__1::char_traits, std::__1::allocator >::seekoff(long long, std::__1::ios_base::seekdir, unsigned int) in diskbuffer2.o
std::__1::basic_stringbuf<char, std::__1::char_traits, std::__1::allocator >::underflow() in diskbuffer2.o
...
"___asan_report_load16", referenced from:
unsigned long std::__1::__tree<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, CVD::Parameter >, std::__1::__map_value_compare<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, CVD::Parameter >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > >, true>, std::__1::allocator<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, CVD::Parameter > > >::__count_unique<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > >(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) const in pnm_grok.o
bool std::__1::operator<<char, std::__1::char_traits, std::__1::allocator >(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in pnm_grok.o
std::__1::__tree_const_iterator<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, CVD::Parameter >, std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, CVD::Parameter >, void*>, long> std::__1::__tree<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, CVD::Parameter >, std::__1::__map_value_compare<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, CVD::Parameter >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > >, true>, std::__1::allocator<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, CVD::Parameter > > >::find<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > >(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) const in pnm_grok.o
std::__1::__tree_const_iterator<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, CVD::Parameter >, std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, CVD::Parameter >, void>, long> std::__1::__tree<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, CVD::Parameter >, std::__1::__map_value_compare<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, CVD::Parameter >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > >, true>, std::__1::allocator<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, CVD::Parameter > > >::__lower_bound<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > >(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, CVD::Parameter >, void>, std::__1::__tree_end_node<std::__1::__tree_node_base<void>>) const in pnm_grok.o
CVD::CVDimage::create_tree(std::__1::array<unsigned long, 256ul> const&, std::__1::vector<CVD::CVDimage::Huff*, std::__1::allocatorCVD::CVDimage::Huff* >&) in cvdimage.o
CVD::CVDimage::huff_compress(CVD::Image const&, std::__1::array<unsigned long, 256ul> const&) in cvdimage.o
std::__1::tuple<CVD::CVDimage::Huff*&, std::__1::vector<CVD::CVDimage::Huff, std::__1::allocatorCVD::CVDimage::Huff >&> std::__1::tie<CVD::CVDimage::Huff*, std::__1::vector<CVD::CVDimage::Huff, std::__1::allocatorCVD::CVDimage::Huff > >(CVD::CVDimage::Huff*&, std::__1::vector<CVD::CVDimage::Huff, std::__1::allocatorCVD::CVDimage::Huff >&) in cvdimage.o
...
"___asan_report_load2", referenced from:
CVD::ColourSpace::bayer_sample_bggr<unsigned short, CVD::ColourSpace::read_host_byteorder >::upper_left(unsigned short () [3], unsigned short const, unsigned short const*) in bayer.o
unsigned short CVD::ColourSpace::cie(unsigned short*) in bayer.o
CVD::ColourSpace::bayer_sample_bggr<unsigned short, CVD::ColourSpace::read_host_byteorder >::upper_row(unsigned short () [3], unsigned short const, unsigned short const*) in bayer.o
CVD::ColourSpace::bayer_sample_bggr<unsigned short, CVD::ColourSpace::read_host_byteorder >::upper_right(unsigned short () [3], unsigned short const, unsigned short const*) in bayer.o
CVD::ColourSpace::bayer_sample_bggr<unsigned short, CVD::ColourSpace::read_host_byteorder >::odd_left(unsigned short () [3], unsigned short const, unsigned short const*, unsigned short const*) in bayer.o
CVD::ColourSpace::bayer_sample_bggr<unsigned short, CVD::ColourSpace::read_host_byteorder >::odd_row(unsigned short () [3], unsigned short const, unsigned short const*, unsigned short const*) in bayer.o
CVD::ColourSpace::bayer_sample_bggr<unsigned short, CVD::ColourSpace::read_host_byteorder >::odd_right(unsigned short () [3], unsigned short const, unsigned short const*, unsigned short const*) in bayer.o
...
"___asan_report_load4", referenced from:
std::__1::basic_stringbuf<char, std::__1::char_traits, std::__1::allocator >::underflow() in diskbuffer2.o
std::__1::basic_stringbuf<char, std::__1::char_traits, std::__1::allocator >::pbackfail(int) in diskbuffer2.o
std::__1::basic_stringbuf<char, std::__1::char_traits, std::__1::allocator >::overflow(int) in diskbuffer2.o
std::__1::basic_ostream<char, std::__1::char_traits >& std::__1::__put_character_sequence<char, std::__1::char_traits >(std::__1::basic_ostream<char, std::__1::char_traits >&, char const*, unsigned long) in diskbuffer2.o
std::__1::basic_stringbuf<char, std::__1::char_traits, std::__1::allocator >::str(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in diskbuffer2.o
std::__1::basic_stringbuf<char, std::__1::char_traits, std::__1::allocator >::str() const in diskbuffer2.o
CVD::operator<<(std::__1::basic_ostream<char, std::__1::char_traits >&, CVD::ImageRef const&) in image_io.o
...
"___asan_report_load8", referenced from:
CVD::Exceptions::DiskBuffer2::BadImageSize::BadImageSize(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in diskbuffer2.o
CVD::Exceptions::DiskBuffer2::BadFile::BadFile(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int) in diskbuffer2.o
CVD::Exceptions::DiskBuffer2::BadImage::BadImage(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in diskbuffer2.o
std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > std::__1::operator+<char, std::__1::char_traits, std::__1::allocator >(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >&&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in diskbuffer2.o
CVD::Exceptions::DiskBuffer2::BadSeek::BadSeek(double) in diskbuffer2.o
std::__1::basic_ostringstream<char, std::__1::char_traits, std::__1::allocator >::~basic_ostringstream() in diskbuffer2.o
virtual thunk to std::__1::basic_ostringstream<char, std::__1::char_traits, std::__1::allocator >::~basic_ostringstream() in diskbuffer2.o
...
"___asan_report_load_n", referenced from:
CVD::BasicImageCVD::bayer_bggr::size() const in bayer.o
CVD::BasicImage::size() const in bayer.o
CVD::BasicImage<CVD::Rgb >::size() const in bayer.o
CVD::BasicImageCVD::bayer_gbrg::size() const in bayer.o
CVD::BasicImageCVD::bayer_grbg::size() const in bayer.o
CVD::BasicImageCVD::bayer_rggb::size() const in bayer.o
CVD::BasicImageCVD::bayer_bggr16::size() const in bayer.o
...
"___asan_report_store1", referenced from:
CVD::Exceptions::DiskBuffer2::BadImageSize::BadImageSize(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in diskbuffer2.o
CVD::Exceptions::DiskBuffer2::BadFile::BadFile(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int) in diskbuffer2.o
CVD::Exceptions::DiskBuffer2::BadImage::BadImage(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in diskbuffer2.o
CVD::Exceptions::DiskBuffer2::BadSeek::BadSeek(double) in diskbuffer2.o
std::__1::basic_stringbuf<char, std::__1::char_traits, std::__1::allocator >::pbackfail(int) in diskbuffer2.o
std::__1::basic_stringbuf<char, std::__1::char_traits, std::__1::allocator >::overflow(int) in diskbuffer2.o
std::__1::char_traits::assign(char&, char const&) in diskbuffer2.o
...
"___asan_report_store16", referenced from:
void CVD::nonmax_suppression_t<int, std::__1::pair<CVD::ImageRef, int>, CVD::collect_score, CVD::Greater>(std::__1::vector<CVD::ImageRef, std::__1::allocatorCVD::ImageRef > const&, std::__1::vector<int, std::__1::allocator > const&, std::__1::vector<std::__1::pair<CVD::ImageRef, int>, std::__1::allocator<std::__1::pair<CVD::ImageRef, int> > >&) in nonmax_suppression.o
CVD::collect_score::collect(CVD::ImageRef const&, int) in nonmax_suppression.o
CVD::gradient(unsigned char const*, short () [2], int, int) in gradient.o
_mm_stream_si128(long long vector[2], long long vector[2]) in gradient.o
CVD::(anonymous namespace)::reduce_48(unsigned char const*, unsigned char const*, unsigned char const*, unsigned char*, unsigned char*) in two_thirds_sample.o
CVD::(anonymous namespace)::weight_top(long long vector[2]&, long long vector[2]&, long long vector[2]&) in two_thirds_sample.o
CVD::(anonymous namespace)::weight_mid(long long vector[2]&, long long vector[2]&, long long vector[2]&) in two_thirds_sample.o
...
"___asan_report_store2", referenced from:
void CVD::ColourSpace::bayer_to_grey<unsigned short, CVD::ColourSpace::bayer_sample_bggr<unsigned short, CVD::ColourSpace::read_host_byteorder > >(unsigned short const*, int, unsigned short*, int, unsigned int, unsigned int) in bayer.o
CVD::ColourSpace::bayer_sample_bggr<unsigned short, CVD::ColourSpace::read_host_byteorder >::upper_left(unsigned short () [3], unsigned short const, unsigned short const*) in bayer.o
CVD::ColourSpace::bayer_sample_bggr<unsigned short, CVD::ColourSpace::read_host_byteorder >::upper_row(unsigned short () [3], unsigned short const, unsigned short const*) in bayer.o
CVD::ColourSpace::bayer_sample_bggr<unsigned short, CVD::ColourSpace::read_host_byteorder >::upper_right(unsigned short () [3], unsigned short const, unsigned short const*) in bayer.o
CVD::ColourSpace::bayer_sample_bggr<unsigned short, CVD::ColourSpace::read_host_byteorder >::odd_left(unsigned short () [3], unsigned short const, unsigned short const*, unsigned short const*) in bayer.o
CVD::ColourSpace::bayer_sample_bggr<unsigned short, CVD::ColourSpace::read_host_byteorder >::odd_row(unsigned short () [3], unsigned short const, unsigned short const*, unsigned short const*) in bayer.o
CVD::ColourSpace::bayer_sample_bggr<unsigned short, CVD::ColourSpace::read_host_byteorder >::odd_right(unsigned short () [3], unsigned short const, unsigned short const*, unsigned short const*) in bayer.o
...
"___asan_report_store4", referenced from:
CVD::Exceptions::DiskBuffer2::BadSeek::BadSeek(double) in diskbuffer2.o
std::__1::basic_ostream<char, std::__1::char_traits >& std::__1::__put_character_sequence<char, std::__1::char_traits >(std::__1::basic_ostream<char, std::__1::char_traits >&, char const*, unsigned long) in diskbuffer2.o
CVD::Exceptions::Image_IO::ImageSizeMismatch::ImageSizeMismatch(CVD::ImageRef const&, CVD::ImageRef const&) in image_io.o
std::__1::basic_ostream<char, std::__1::char_traits >& std::__1::__put_character_sequence<char, std::__1::char_traits >(std::__1::basic_ostream<char, std::__1::char_traits >&, char const*, unsigned long) in image_io.o
void CVD::morphology<CVD::Morphology::Median, unsigned char>(CVD::BasicImage const&, std::__1::vector<CVD::ImageRef, std::__1::allocatorCVD::ImageRef > const&, CVD::Morphology::Median const&, CVD::BasicImage&) in morphology.o
CVD::ImageRef::ImageRef(int, int) in morphology.o
CVD::ImageRef::operator=(CVD::ImageRef const&) in morphology.o
...
"___asan_report_store8", referenced from:
CVD::Exceptions::DiskBuffer2::BadImageSize::BadImageSize(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in diskbuffer2.o
std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > std::__1::operator+<char, std::__1::char_traits, std::__1::allocator >(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >&&, char const*) in diskbuffer2.o
CVD::Exceptions::DiskBuffer2::BadFile::BadFile(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int) in diskbuffer2.o
CVD::Exceptions::DiskBuffer2::BadImage::BadImage(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in diskbuffer2.o
std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > std::__1::operator+<char, std::__1::char_traits, std::__1::allocator >(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >&&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in diskbuffer2.o
CVD::Exceptions::DiskBuffer2::BadSeek::BadSeek(double) in diskbuffer2.o
CVD::Exceptions::All::All() in diskbuffer2.o
...
"___asan_report_store_n", referenced from:
void CVD::ColourSpace::convert_bayer_to_grey<CVD::bayer_bggr, unsigned char, CVD::ColourSpace::bayer_sample_bggr, CVD::ColourSpace::read_host_byteorder>(CVD::BasicImageCVD::bayer_bggr const&, CVD::BasicImage&) in bayer.o
void CVD::ColourSpace::convert_bayer_to_rgb<CVD::bayer_bggr, unsigned char, CVD::ColourSpace::bayer_sample_bggr, CVD::ColourSpace::read_host_byteorder>(CVD::BasicImageCVD::bayer_bggr const&, CVD::BasicImage<CVD::Rgb >&) in bayer.o
void CVD::ColourSpace::convert_bayer_to_grey<CVD::bayer_gbrg, unsigned char, CVD::ColourSpace::bayer_sample_gbrg, CVD::ColourSpace::read_host_byteorder>(CVD::BasicImageCVD::bayer_gbrg const&, CVD::BasicImage&) in bayer.o
void CVD::ColourSpace::convert_bayer_to_rgb<CVD::bayer_gbrg, unsigned char, CVD::ColourSpace::bayer_sample_gbrg, CVD::ColourSpace::read_host_byteorder>(CVD::BasicImageCVD::bayer_gbrg const&, CVD::BasicImage<CVD::Rgb >&) in bayer.o
void CVD::ColourSpace::convert_bayer_to_grey<CVD::bayer_grbg, unsigned char, CVD::ColourSpace::bayer_sample_grbg, CVD::ColourSpace::read_host_byteorder>(CVD::BasicImageCVD::bayer_grbg const&, CVD::BasicImage&) in bayer.o
void CVD::ColourSpace::convert_bayer_to_rgb<CVD::bayer_grbg, unsigned char, CVD::ColourSpace::bayer_sample_grbg, CVD::ColourSpace::read_host_byteorder>(CVD::BasicImageCVD::bayer_grbg const&, CVD::BasicImage<CVD::Rgb >&) in bayer.o
void CVD::ColourSpace::convert_bayer_to_grey<CVD::bayer_rggb, unsigned char, CVD::ColourSpace::bayer_sample_rggb, CVD::ColourSpace::read_host_byteorder>(CVD::BasicImageCVD::bayer_rggb const&, CVD::BasicImage&) in bayer.o
...
"___asan_set_shadow_00", referenced from:
CVD::Exceptions::DiskBuffer2::BadSeek::BadSeek(double) in diskbuffer2.o
CVD::Exceptions::Image_IO::ImageSizeMismatch::ImageSizeMismatch(CVD::ImageRef const&, CVD::ImageRef const&) in image_io.o
CVD::morphology(CVD::BasicImage const&, std::__1::vector<CVD::ImageRef, std::__1::allocatorCVD::ImageRef > const&, CVD::Morphology::Median const&, CVD::BasicImage&) in morphology.o
void CVD::morphology<CVD::Morphology::Median, unsigned char>(CVD::BasicImage const&, std::__1::vector<CVD::ImageRef, std::__1::allocatorCVD::ImageRef > const&, CVD::Morphology::Median const&, CVD::BasicImage&) in morphology.o
CVD::PNM::name_error(CVD::PNM::errors) in pnm_grok.o
CVD::PNM::pnm_in::read_header() in pnm_grok.o
CVD::BMP::read_header(std::__1::basic_istream<char, std::__1::char_traits >&) in bmp.o
...
"___asan_set_shadow_f5", referenced from:
CVD::Exceptions::DiskBuffer2::BadSeek::BadSeek(double) in diskbuffer2.o
CVD::Exceptions::Image_IO::ImageSizeMismatch::ImageSizeMismatch(CVD::ImageRef const&, CVD::ImageRef const&) in image_io.o
CVD::Exceptions::Image_IO::OpenError::OpenError(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int) in image_io.o
CVD::Exceptions::Image_IO::ReadTypeMismatch::ReadTypeMismatch(bool) in image_io.o
std::__1::back_insert_iterator<std::__1::vector<CVD::ImageRef, std::__1::allocatorCVD::ImageRef > > std::__1::set_difference<std::__1::__wrap_iterCVD::ImageRef*, std::__1::__wrap_iterCVD::ImageRef*, std::__1::back_insert_iterator<std::__1::vector<CVD::ImageRef, std::__1::allocatorCVD::ImageRef > > >(std::__1::__wrap_iterCVD::ImageRef*, std::__1::__wrap_iterCVD::ImageRef*, std::__1::__wrap_iterCVD::ImageRef*, std::__1::__wrap_iterCVD::ImageRef*, std::__1::back_insert_iterator<std::__1::vector<CVD::ImageRef, std::__1::allocatorCVD::ImageRef > >) in morphology.o
std::__1::back_insert_iterator<std::__1::vector<CVD::ImageRef, std::__1::allocatorCVD::ImageRef > > std::__1::set_difference<std::__1::__wrap_iterCVD::ImageRef*, std::__1::__wrap_iterCVD::ImageRef*, std::__1::back_insert_iterator<std::__1::vector<CVD::ImageRef, std::__1::allocatorCVD::ImageRef > >, std::__1::__less<CVD::ImageRef, CVD::ImageRef> >(std::__1::__wrap_iterCVD::ImageRef*, std::__1::__wrap_iterCVD::ImageRef*, std::__1::__wrap_iterCVD::ImageRef*, std::__1::__wrap_iterCVD::ImageRef*, std::__1::back_insert_iterator<std::__1::vector<CVD::ImageRef, std::__1::allocatorCVD::ImageRef > >, std::__1::__less<CVD::ImageRef, CVD::ImageRef>) in morphology.o
std::__1::back_insert_iterator<std::__1::vector<CVD::ImageRef, std::__1::allocatorCVD::ImageRef > > std::__1::copy<std::__1::__wrap_iterCVD::ImageRef*, std::__1::back_insert_iterator<std::__1::vector<CVD::ImageRef, std::__1::allocatorCVD::ImageRef > > >(std::__1::__wrap_iterCVD::ImageRef*, std::__1::__wrap_iterCVD::ImageRef*, std::__1::back_insert_iterator<std::__1::vector<CVD::ImageRef, std::__1::allocatorCVD::ImageRef > >) in morphology.o
...
"___asan_set_shadow_f8", referenced from:
void CVD::morphology<CVD::Morphology::Median, unsigned char>(CVD::BasicImage const&, std::__1::vector<CVD::ImageRef, std::__1::allocatorCVD::ImageRef > const&, CVD::Morphology::Median const&, CVD::BasicImage&) in morphology.o
CVD::CVDimage::huff_compress(CVD::Image const&, std::__1::array<unsigned long, 256ul> const&) in cvdimage.o
CVD::CVDimage::ReadPimpl::ReadPimpl(std::__1::basic_istream<char, std::__1::char_traits >&) in cvdimage.o
CVD::CVDimage::WritePimpl::~WritePimpl() in cvdimage.o
"___asan_stack_free_5", referenced from:
CVD::morphology(CVD::BasicImage const&, std::__1::vector<CVD::ImageRef, std::__1::allocatorCVD::ImageRef > const&, CVD::Morphology::Median const&, CVD::BasicImage&) in morphology.o
std::__1::back_insert_iterator<std::__1::vector<CVD::ImageRef, std::__1::allocatorCVD::ImageRef > > std::__1::__set_difference<std::__1::__less<CVD::ImageRef, CVD::ImageRef>&, std::__1::__wrap_iterCVD::ImageRef*, std::__1::__wrap_iterCVD::ImageRef*, std::__1::back_insert_iterator<std::__1::vector<CVD::ImageRef, std::__1::allocatorCVD::ImageRef > > >(std::__1::__wrap_iterCVD::ImageRef*, std::__1::__wrap_iterCVD::ImageRef*, std::__1::__wrap_iterCVD::ImageRef*, std::__1::__wrap_iterCVD::ImageRef*, std::__1::back_insert_iterator<std::__1::vector<CVD::ImageRef, std::__1::allocatorCVD::ImageRef > >, std::__1::__less<CVD::ImageRef, CVD::ImageRef>&) in morphology.o
CVD::PNM::pnm_in::read_header() in pnm_grok.o
CVD::FITS::WritePimpl::write(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in fitswrite.o
CVD::FITS::WritePimpl::axes(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int, int) in fitswrite.o
CVD::TEXT::ReadPimpl::ReadPimpl(std::__1::basic_istream<char, std::__1::char_traits >&) in text.o
CVD::parse(std::__1::basic_istream<char, std::__1::char_traits >&, CVD::VideoSource&) in videosource.o
...
"___asan_stack_free_6", referenced from:
CVD::CVDimage::create_tree(std::__1::array<unsigned long, 256ul> const&, std::__1::vector<CVD::CVDimage::Huff*, std::__1::allocatorCVD::CVDimage::Huff* >&) in cvdimage.o
CVD::CVDimage::ReadPimpl::ReadPimpl(std::__1::basic_istream<char, std::__1::char_traits >&) in cvdimage.o
CVD::CVDimage::WritePimpl::~WritePimpl() in cvdimage.o
CVD::FITS::ReadPimpl::ReadPimpl(std::__1::basic_istream<char, std::__1::char_traits >&) in fits.o
CVD::connected_components(std::__1::vector<CVD::ImageRef, std::__1::allocatorCVD::ImageRef > const&, std::__1::vector<std::__1::vector<CVD::ImageRef, std::__1::allocatorCVD::ImageRef >, std::__1::allocator<std::__1::vector<CVD::ImageRef, std::__1::allocatorCVD::ImageRef > > >&) in connected_components.o
void CVD::faster_corner_detect_9(CVD::BasicImage
i have no idea about the algorithm of convert_image method which is used to convert image from RGB to Gray when I study PTAM project. is it the same as the commom formular Y = 0.299R + 0.587G + 0.114*B ? if not, what is the formular?
Hi all,
LibCVD compiled fine a few days ago - all of a sudden I'm getting some errors relating to v4lbuffer.
./cvd/Linux/v4l1buffer.h:75:42: error: ‘VIDEO_PALETTE_GREY’ was not declared in this scope
./cvd/Linux/v4l1buffer.h:80:42: error: ‘VIDEO_PALETTE_RAW’ was not declared in this scope
./cvd/Linux/v4l1buffer.h:85:42: error: ‘VIDEO_PALETTE_YUV422’ was not declared in this scope
./cvd/Linux/v4l1buffer.h:90:42: error: ‘VIDEO_PALETTE_YUV420P’ was not declared in this scope
./cvd/Linux/v4l1buffer.h:96:42: error: ‘VIDEO_PALETTE_RGB24’ was not declared in this scope
cvd_src/Linux/v4l1buffer.cc: In function ‘unsigned int CVD::V4L1::getPaletteDepth(unsigned int)’:
cvd_src/Linux/v4l1buffer.cc:64:10: error: ‘VIDEO_PALETTE_YUV422’ was not declared in this scope
cvd_src/Linux/v4l1buffer.cc:65:10: error: ‘VIDEO_PALETTE_RGB24’ was not declared in this scope
cvd_src/Linux/v4l1buffer.cc:66:10: error: ‘VIDEO_PALETTE_YUV420P’ was not declared in this scope
cvd_src/Linux/v4l1buffer.cc:67:10: error: ‘VIDEO_PALETTE_RAW’ was not declared in this scope
cvd_src/Linux/v4l1buffer.cc:68:10: error: ‘VIDEO_PALETTE_GREY’ was not declared in this scope
cvd_src/Linux/v4l1buffer.cc: In constructor ‘CVD::V4L1::RawV4L1::RawV4L1(const string&, unsigned int, const CVD::ImageRef&)’:
cvd_src/Linux/v4l1buffer.cc:81:29: error: aggregate ‘CVD::V4L1::RawV4L1::RawV4L1(const string&, unsigned int, const CVD::ImageRef&)::video_capability caps’ has incomplete type and cannot be defined
cvd_src/Linux/v4l1buffer.cc:82:25: error: ‘VIDIOCGCAP’ was not declared in this scope
cvd_src/Linux/v4l1buffer.cc:89:23: error: aggregate ‘CVD::V4L1::RawV4L1::RawV4L1(const string&, unsigned int, const CVD::ImageRef&)::video_window window’ has incomplete type and cannot be defined
cvd_src/Linux/v4l1buffer.cc:90:24: error: ‘VIDIOCGWIN’ was not declared in this scope
cvd_src/Linux/v4l1buffer.cc:95:24: error: ‘VIDIOCSWIN’ was not declared in this scope
cvd_src/Linux/v4l1buffer.cc:99:23: error: aggregate ‘CVD::V4L1::RawV4L1::RawV4L1(const string&, unsigned int, const CVD::ImageRef&)::video_mbuf mbuf’ has incomplete type and cannot be defined
cvd_src/Linux/v4l1buffer.cc:100:25: error: ‘VIDIOCGMBUF’ was not declared in this scope
cvd_src/Linux/v4l1buffer.cc: In member function ‘void CVD::V4L1::RawV4L1::retrieveSettings()’:
cvd_src/Linux/v4l1buffer.cc:139:25: error: aggregate ‘CVD::V4L1::RawV4L1::retrieveSettings()::video_window win’ has incomplete type and cannot be defined
cvd_src/Linux/v4l1buffer.cc:140:24: error: ‘VIDIOCGWIN’ was not declared in this scope
cvd_src/Linux/v4l1buffer.cc:144:26: error: aggregate ‘CVD::V4L1::RawV4L1::retrieveSettings()::video_picture pic’ has incomplete type and cannot be defined
cvd_src/Linux/v4l1buffer.cc:145:24: error: ‘VIDIOCGPICT’ was not declared in this scope
cvd_src/Linux/v4l1buffer.cc: In member function ‘void CVD::V4L1::RawV4L1::commitSettings()’:
cvd_src/Linux/v4l1buffer.cc:158:25: error: aggregate ‘CVD::V4L1::RawV4L1::commitSettings()::video_window win’ has incomplete type and cannot be defined
cvd_src/Linux/v4l1buffer.cc:159:24: error: ‘VIDIOCGWIN’ was not declared in this scope
cvd_src/Linux/v4l1buffer.cc:164:24: error: ‘VIDIOCSWIN’ was not declared in this scope
cvd_src/Linux/v4l1buffer.cc:167:26: error: aggregate ‘CVD::V4L1::RawV4L1::commitSettings()::video_picture pic’ has incomplete type and cannot be defined
cvd_src/Linux/v4l1buffer.cc:168:24: error: ‘VIDIOCGPICT’ was not declared in this scope
cvd_src/Linux/v4l1buffer.cc:179:24: error: ‘VIDIOCSPICT’ was not declared in this scope
cvd_src/Linux/v4l1buffer.cc:181:19: error: ‘VIDEO_PALETTE_GREY’ was not declared in this scope
cvd_src/Linux/v4l1buffer.cc:183:16: error: ‘VIDEO_PALETTE_YUV420P’ was not declared in this scope
cvd_src/Linux/v4l1buffer.cc: In member function ‘void CVD::V4L1::RawV4L1::set_auto_exp(bool)’:
cvd_src/Linux/v4l1buffer.cc:211:26: error: ‘VIDIOCCAPTURE’ was not declared in this scope
cvd_src/Linux/v4l1buffer.cc: In member function ‘void CVD::V4L1::RawV4L1::captureFrame(unsigned int)’:
cvd_src/Linux/v4l1buffer.cc:230:23: error: aggregate ‘CVD::V4L1::RawV4L1::captureFrame(unsigned int)::video_mmap mm’ has incomplete type and cannot be defined
cvd_src/Linux/v4l1buffer.cc:235:25: error: ‘VIDIOCMCAPTURE’ was not declared in this scope
cvd_src/Linux/v4l1buffer.cc: In member function ‘unsigned char* CVD::V4L1::RawV4L1::get_frame()’:
cvd_src/Linux/v4l1buffer.cc:249:31: error: ‘VIDIOCSYNC’ was not declared in this scope
make[1]: *** [cvd_src/Linux/v4l1buffer.o] Error 1
make[1]: INTERNAL: Exiting with 5 jobserver tokens available; should be 4!
make[1]: Leaving directory `/home/linaro/ros/ethzasl_ptam/ptam/thirdparty/libcvd/build'
make: *** [libcvd_built] Error 2
This is the latest checkout from Git.
I can confirm that I have libv4l-0 installed in apt. OpenCV seems to work fine.
Christian
All the references to config.h file were removed and hence while configuring it,i didnt face any issue,
but the while running make cmd, it gave me this error:
cvd/config.h: No such file or directory
compilation terminated.
Kindly reply with solution or reference of config.h file asap,i am not able to resolve it.
ref: I needed the dependencies of TooN, libcvd for ethzasl_ptam but the compilation of libcvd is not completed.
[ 53%] Building CXX object CMakeFiles/CVD.dir/cvd_src/Linux/dvbuffer3_dc1394v2.cc.o [ 54%] Building CXX object CMakeFiles/CVD.dir/cvd_src/gltext.cpp.o [ 55%] Building CXX object CMakeFiles/CVD.dir/cvd_src/glwindow.cc.o /home/lib/libcvd/cvd_src/glwindow.cc: In constructor 'CVD::Exceptions::GLWindow::CreationError::CreationError(std::__cxx11::string)': /home/lib/libcvd/cvd_src/glwindow.cc:12:5: error: invalid use of member function 'virtual const char* std::runtime_error::what() const' (did you forget the '()' ?) what="GLWindow creation error: " + w; ^~~~ /home/lib/libcvd/cvd_src/glwindow.cc: In constructor 'CVD::Exceptions::GLWindow::RuntimeError::RuntimeError(std::__cxx11::string)': /home/lib/libcvd/cvd_src/glwindow.cc:17:5: error: invalid use of member function 'virtual const char* std::runtime_error::what() const' (did you forget the '()' ?) what="GLWindow error: " + w; ^~~~ CMakeFiles/CVD.dir/build.make:816: recipe for target 'CMakeFiles/CVD.dir/cvd_src/glwindow.cc.o' failed make[2]: *** [CMakeFiles/CVD.dir/cvd_src/glwindow.cc.o] Error 1 CMakeFiles/Makefile2:161: recipe for target 'CMakeFiles/CVD.dir/all' failed make[1]: *** [CMakeFiles/CVD.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2
I can build successfully with commit 28e8a8
hello sir, could you help me with the File "thread.h"?
thank you.
my email address [email protected].
Here is what step I was following:
First, run:
./configure_osx_32bit --without-ffmpeg --x-libraries=/usr/X11/lib --x-includes=/usr/X11/include
Second:
make
And I got these errors:
clang: warning: argument unused during compilation: '-pthread'
ld: library not found for -lstdc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [libcvd.dylib] Error 1
How should I fix it?
Dear Edward,
I would like to report two issues with the latest commit, although it worked previously, however, it was due to the usage of old files, when recompiling PTAMM
two errors in two files are arising,
First one is in utility.h
, which I reported earlier, the usage of convert_image(...)
this line was added to fix the totallength(..)
, however, it requires to add #include<cvd/image_conver.h>
.
The second issue is when compiling PTAMM, the following error is thrown:
undefined reference to
CVD::Thread::isRunning() const'`
I tried to use the old thread.cpp file, but many errors of "redefinition" was shown, I reconfigured libcvd and make, make install, but still showing the error.
Thanks!
when I executemakea problem appear with:
[ 0%] Building CXX object CMakeFiles/CVD.dir/cvd_src/bayer.cxx.o
In file included from /home/lzy/scene_lib/libcvd/cvd/image_ref.h:185:0,
from /home/lzy/scene_lib/libcvd/cvd/image.h:17,
from /home/lzy/scene_lib/libcvd/cvd/image_convert_fwd.h:4,
from /home/lzy/scene_lib/libcvd/cvd/colourspace_convert.h:3,
from /home/lzy/scene_lib/libcvd/cvd_src/bayer.cxx:3:
/home/lzy/scene_lib/libcvd/cvd/internal/image_ref_implementation.hh: In member function ‘constexpr int& CVD::ImageRef::operator’:
/home/lzy/scene_lib/libcvd/cvd/internal/image_ref_implementation.hh:194:1: error: expression ‘’ is not a constant-expression
}
^
/home/lzy/scene_lib/libcvd/cvd/internal/image_ref_implementation.hh: In member function ‘constexpr int CVD::ImageRef::operator const’:
/home/lzy/scene_lib/libcvd/cvd/internal/image_ref_implementation.hh:204:1: error: expression ‘’ is not a constant-expression
}
^
CMakeFiles/CVD.dir/build.make:62: recipe for target 'CMakeFiles/CVD.dir/cvd_src/bayer.cxx.o' failed
make[2]: *** [CMakeFiles/CVD.dir/cvd_src/bayer.cxx.o] Error 1
CMakeFiles/Makefile2:83: recipe for target 'CMakeFiles/CVD.dir/all' failed
make[1]: *** [CMakeFiles/CVD.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
(py35) lzy@gpuserver-04:/scene_lib/libcvd/build$ cd$ cd scene_lib/libcvd/
(py35) lzy@gpuserver-04:
hope to get your response,thank you very much
I am trying to build libCVD in order to use with ROS node tum_ardrone.
I am working on a 64 bit Ubuntu machine if this matters.
My Problem is that I am getting the following errors:
make[3]: Entering directory `/opt/ros/groovy/stacks/tum_ardrone/thirdparty/libcvd/build' /usr/bin/g++-4.6 -o progs/cvd_display_image progs/cvd_display_image.o -L. -lcvd -ltiff -ljpeg -lpng -lpng -llapack -lGLU -lGL -lrt -L -lX11 -lXext -pthread
./libcvd.so: undefined reference to `XMoveWindow'
./libcvd.so: undefined reference to `XCreateGlyphCursor'
./libcvd.so: undefined reference to `XStoreName'
./libcvd.so: undefined reference to `XLookupString'
./libcvd.so: undefined reference to `XFreeFont'
./libcvd.so: undefined reference to `XSetClassHint'
./libcvd.so: undefined reference to `XCreateWindow'
./libcvd.so: undefined reference to `XCreateColormap'
./libcvd.so: undefined reference to `XOpenDisplay'
./libcvd.so: undefined reference to `XDestroyWindow'
./libcvd.so: undefined reference to `XCloseDisplay'
./libcvd.so: undefined reference to `XUnmapWindow'
./libcvd.so: undefined reference to `XNextEvent'
./libcvd.so: undefined reference to `XSetWMProtocols'
./libcvd.so: undefined reference to `XResizeWindow'
./libcvd.so: undefined reference to `XMapWindow'
./libcvd.so: undefined reference to `XSelectInput'
./libcvd.so: undefined reference to `XFlush'
./libcvd.so: undefined reference to `XWarpPointer'
./libcvd.so: undefined reference to `XLoadQueryFont'
./libcvd.so: undefined reference to `XDefineCursor'
./libcvd.so: undefined reference to `XInternAtom'
./libcvd.so: undefined reference to `XQueryPointer'
./libcvd.so: undefined reference to `XUndefineCursor'
./libcvd.so: undefined reference to `XGetWindowAttributes'
./libcvd.so: undefined reference to XPending' collect2: ld returned 1 exit status make[3]: *** [progs/cvd_display_image] Error 1 make[3]: Leaving directory/opt/ros/groovy/stacks/tum_ardrone/thirdparty/libcvd/build' make[2]: * [libcvd_built] Error 2
There is a stackoverflow question with nearly similar errors (undefined reference error while compiling libcvd).
I tried like it is suggested there to find out why there is no path given with the second -L option. So I ended up in the projects configure.in file, where I believe the error happens. But I have no experience with this build system, so help would be great.
The configure.in file is available under https://dl.dropboxusercontent.com/u/16804463/configure.in
Thanks in advance.
Hello,
I am trying to install fivepoint from Lui and Drummond (https://bitbucket.org/whvlui/fivepoint).
The prerequisite is libcvd ( ,TaG & GVars3)
I am using microsoft visual studio 2015.
Should i use libcvd.sln or libcvd-TooN.sln ?
It looks like current PTAM-GPL is problematic with
/cvd/internal/scalar_convert.h
error: with 'constexpr T& CVD::Pixel::Internal::Internal::trivial_array<T, N>::operator const'
In file included from /usr/local/include/cvd/internal/convert_pixel_types.h:7:0,
from /usr/local/include/cvd/internal/pixel_operations.h:7,
from /usr/local/include/cvd/vision.h:11,
from ....../PTAM/src/CalibCornerPatch.cc:6:
/usr/local/include/cvd/internal/scalar_convert.h:96:24: error: 'constexpr const T& CVD::Pixel::Internal::Internal::trivial_array<T, N>::operator const' cannot be overloaded
constexpr const T& operator[](size_t i) const
^
/usr/local/include/cvd/internal/scalar_convert.h:91:18: error: with 'constexpr T& CVD::Pixel::Internal::Internal::trivial_array<T, N>::operator const'
constexpr T& operator[](size_t i)
^
/usr/local/include/cvd/internal/scalar_convert.h: In instantiation of 'constexpr T& CVD::Pixel::Internal::Internal::trivial_array<T, N>::operator const [with T = float; int N = 512; size_t = long unsigned int]':
/usr/local/include/cvd/internal/scalar_convert.h:107:11: required from 'constexpr CVD::Pixel::Internal::Internal::trivial_array<S, 512> CVD::Pixel::Internal::Internal::buildLookupTable() [with S = float]'
/usr/local/include/cvd/internal/scalar_convert.h:112:88: required from here
/usr/local/include/cvd/internal/scalar_convert.h:93:18: error: binding 'const float' to reference of type 'float&' discards qualifiers
return elems[i];
^
/usr/local/include/cvd/internal/scalar_convert.h:94:5: error: body of constexpr function 'constexpr T& CVD::Pixel::Internal::Internal::trivial_array<T, N>::operator const [with T = float; int N = 512; size_t = long unsigned int]' not a return-statement
}
^
/usr/local/include/cvd/internal/scalar_convert.h: In instantiation of 'constexpr CVD::Pixel::Internal::Internal::trivial_array<S, 512> CVD::Pixel::Internal::Internal::buildLookupTable() [with S = float]':
/usr/local/include/cvd/internal/scalar_convert.h:112:88: required from here
/usr/local/include/cvd/internal/scalar_convert.h:110:4: error: body of constexpr function 'constexpr CVD::Pixel::Internal::Internal::trivial_array<S, 512> CVD::Pixel::Internal::Internal::buildLookupTable() [with S = float]' not a return-statement
}
^
/usr/local/include/cvd/internal/scalar_convert.h:112:88: error: 'constexpr CVD::Pixel::Internal::Internal::trivial_array<S, 512> CVD::Pixel::Internal::Internal::buildLookupTable() [with S = float]' called in a constant expression
constexpr static trivial_array<float, 512> float_for_byte = buildLookupTable();
^
/usr/local/include/cvd/internal/scalar_convert.h:103:36: note: 'constexpr CVD::Pixel::Internal::Internal::trivial_array<S, 512> CVD::Pixel::Internal::Internal::buildLookupTable() [with S = float]' is not usable as a constexpr function because:
constexpr trivial_array<S, 512> buildLookupTable()
^
/usr/local/include/cvd/internal/scalar_convert.h: In instantiation of 'constexpr T& CVD::Pixel::Internal::Internal::trivial_array<T, N>::operator const [with T = double; int N = 512; size_t = long unsigned int]':
/usr/local/include/cvd/internal/scalar_convert.h:107:11: required from 'constexpr CVD::Pixel::Internal::Internal::trivial_array<S, 512> CVD::Pixel::Internal::Internal::buildLookupTable() [with S = double]'
/usr/local/include/cvd/internal/scalar_convert.h:113:91: required from here
/usr/local/include/cvd/internal/scalar_convert.h:93:18: error: binding 'const double' to reference of type 'double&' discards qualifiers
return elems[i];
^
/usr/local/include/cvd/internal/scalar_convert.h:94:5: error: body of constexpr function 'constexpr T& CVD::Pixel::Internal::Internal::trivial_array<T, N>::operator const [with T = double; int N = 512; size_t = long unsigned int]' not a return-statement
}
^
/usr/local/include/cvd/internal/scalar_convert.h: In instantiation of 'constexpr CVD::Pixel::Internal::Internal::trivial_array<S, 512> CVD::Pixel::Internal::Internal::buildLookupTable() [with S = double]':
/usr/local/include/cvd/internal/scalar_convert.h:113:91: required from here
/usr/local/include/cvd/internal/scalar_convert.h:110:4: error: body of constexpr function 'constexpr CVD::Pixel::Internal::Internal::trivial_array<S, 512> CVD::Pixel::Internal::Internal::buildLookupTable() [with S = double]' not a return-statement
}
^
/usr/local/include/cvd/internal/scalar_convert.h:113:91: error: 'constexpr CVD::Pixel::Internal::Internal::trivial_array<S, 512> CVD::Pixel::Internal::Internal::buildLookupTable() [with S = double]' called in a constant expression
constexpr static trivial_array<double, 512> double_for_byte = buildLookupTable();
^
/usr/local/include/cvd/internal/scalar_convert.h:103:36: note: 'constexpr CVD::Pixel::Internal::Internal::trivial_array<S, 512> CVD::Pixel::Internal::Internal::buildLookupTable() [with S = double]' is not usable as a constexpr function because:
constexpr trivial_array<S, 512> buildLookupTable()
^
In file included from /usr/local/include/cvd/vision.h:12:0,
from ....../PTAM/src/CalibCornerPatch.cc:6:
/usr/local/include/cvd/utility.h: In instantiation of 'void CVD::copy(const CVD::BasicImage&, CVD::BasicImage&, CVD::ImageRef, CVD::ImageRef, CVD::ImageRef) [with S = float; T = float]':
....../PTAM/src/CalibCornerPatch.cc:49:79: required from here
/usr/local/include/cvd/utility.h:40:17: error: 'convert_image' was not declared in this scope
convert_image(in, out);
^
PTAM/CMakeFiles/PTAM.dir/build.make:134: recipe for target 'PTAM/CMakeFiles/PTAM.dir/src/CalibCornerPatch.cc.o' failed
make[2]: *** [PTAM/CMakeFiles/PTAM.dir/src/CalibCornerPatch.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Any suggestions? (I put an issue Oxford-PTAM/PTAM-GPL#12 as well )
Cheers
Pei
Hello, I'm trying to build camera_trajectory_generator of SceneNetRGBD in which the libcvd is demanded. I built cvd with gcc-7.2.0 under ubuntu 14.04 with success, and when I ran make test
I got all the tests passed. But when I tried to build my project, I was starting to get errors like following:
`Scanning dependencies of target room_camera_intersection
[ 50%] Building CXX object
CMakeFiles/room_camera_intersection.dir/trajectoryGenerator/TrajectoryGenerator.cpp.o
[100%] Building CXX object CMakeFiles/room_camera_intersection.dir/camera_trajectory_generator.cpp.o
In file included from /usr/local/include/cvd/internal/convert_pixel_types.h:7:0,
from /usr/local/include/cvd/image_convert.h:4,
from /usr/local/include/cvd/image_io.h:6,
from /mntExt/DW/codes/scenenetrgb-d/camera_trajectory_generator/camera_trajectory_generator.cpp:35:
/usr/local/include/cvd/internal/scalar_convert.h:96:24: error: ‘constexpr const T& CVD::Pixel::Internal::Internal::trivial_array<T, N>::operator const’ cannot be overloaded
constexpr const T& operator[](size_t i) const
^~~~~~~~
/usr/local/include/cvd/internal/scalar_convert.h:91:18: error: with ‘constexpr T& CVD::Pixel::Internal::Internal::trivial_array<T, N>::operator const’
constexpr T& operator[](size_t i)
^~~~~~~~
/usr/local/include/cvd/internal/scalar_convert.h: In instantiation of ‘constexpr CVD::Pixel::Internal::Internal::trivial_array<S, 512> CVD::Pixel::Internal::Internal::buildLookupTable() [with S = float]’:
/usr/local/include/cvd/internal/scalar_convert.h:112:88: required from here
/usr/local/include/cvd/internal/scalar_convert.h:110:4: error: body of constexpr function ‘constexpr CVD::Pixel::Internal::Internal::trivial_array<S, 512> CVD::Pixel::Internal::Internal::buildLookupTable() [with S = float]’ not a return-statement
}
^
/usr/local/include/cvd/internal/scalar_convert.h:112:88: error: ‘constexpr CVD::Pixel::Internal::Internal::trivial_array<S, 512> CVD::Pixel::Internal::Internal::buildLookupTable() [with S = float]’ called in a constant expression
constexpr static trivial_array<float, 512> float_for_byte = buildLookupTable();
^
/usr/local/include/cvd/internal/scalar_convert.h:103:36: note: ‘constexpr CVD::Pixel::Internal::Internal::trivial_array<S, 512> CVD::Pixel::Internal::Internal::buildLookupTable() [with S = float]’ is not usable as a constexpr function because:
constexpr trivial_array<S, 512> buildLookupTable()
^~~~~~~~~~~~~~~~
/usr/local/include/cvd/internal/scalar_convert.h: In instantiation of ‘constexpr CVD::Pixel::Internal::Internal::trivial_array<S, 512> CVD::Pixel::Internal::Internal::buildLookupTable() [with S = double]’:
/usr/local/include/cvd/internal/scalar_convert.h:113:91: required from here
/usr/local/include/cvd/internal/scalar_convert.h:110:4: error: body of constexpr function ‘constexpr CVD::Pixel::Internal::Internal::trivial_array<S, 512> CVD::Pixel::Internal::Internal::buildLookupTable() [with S = double]’ not a return-statement
}
^
/usr/local/include/cvd/internal/scalar_convert.h:113:91: error: ‘constexpr CVD::Pixel::Internal::Internal::trivial_array<S, 512> CVD::Pixel::Internal::Internal::buildLookupTable() [with S = double]’ called in a constant expression
constexpr static trivial_array<double, 512> double_for_byte = buildLookupTable();
^
/usr/local/include/cvd/internal/scalar_convert.h:103:36: note: ‘constexpr CVD::Pixel::Internal::Internal::trivial_array<S, 512> CVD::Pixel::Internal::Internal::buildLookupTable() [with S = double]’ is not usable as a constexpr function because:
constexpr trivial_array<S, 512> buildLookupTable()
^~~~~~~~~~~~~~~~
In file included from /usr/local/include/cvd/image_ref.h:185:0,
from /usr/local/include/cvd/image.h:17,
from /usr/local/include/cvd/image_convert.h:6,
from /usr/local/include/cvd/image_io.h:6,
from /mntExt/DW/codes/scenenetrgb-d/camera_trajectory_generator/camera_trajectory_generator.cpp:35:
/usr/local/include/cvd/internal/image_ref_implementation.hh: In member function ‘constexpr CVD::ImageRef& CVD::ImageRef::operator=(const CVD::ImageRef&) const’:
/usr/local/include/cvd/internal/image_ref_implementation.hh:56:8: error: assignment of member ‘CVD::ImageRef::x’ in read-only object
x=ref.x;
^
/usr/local/include/cvd/internal/image_ref_implementation.hh:57:8: error: assignment of member ‘CVD::ImageRef::y’ in read-only object
y=ref.y;
^
/usr/local/include/cvd/internal/image_ref_implementation.hh:58:9: error: binding reference of type ‘CVD::ImageRef&’ to ‘const CVD::ImageRef’ discards qualifiers
return this;
^~~~~
/usr/local/include/cvd/internal/image_ref_implementation.hh:59:1: error: body of constexpr function ‘constexpr CVD::ImageRef& CVD::ImageRef::operator=(const CVD::ImageRef&) const’ not a return-statement
}
^
/usr/local/include/cvd/internal/image_ref_implementation.hh: In member function ‘constexpr CVD::ImageRef CVD::ImageRef::operator-() const’:
/usr/local/include/cvd/internal/image_ref_implementation.hh:75:1: error: body of constexpr function ‘constexpr CVD::ImageRef CVD::ImageRef::operator-() const’ not a return-statement
}
^
/usr/local/include/cvd/internal/image_ref_implementation.hh: In member function ‘constexpr CVD::ImageRef& CVD::ImageRef::operator=(double) const’:
/usr/local/include/cvd/internal/image_ref_implementation.hh:79:18: error: assignment of member ‘CVD::ImageRef::x’ in read-only object
x=(int)(xscale);
^
/usr/local/include/cvd/internal/image_ref_implementation.hh:80:18: error: assignment of member ‘CVD::ImageRef::y’ in read-only object
y=(int)(yscale);
^
/usr/local/include/cvd/internal/image_ref_implementation.hh:81:10: error: binding reference of type ‘CVD::ImageRef&’ to ‘const CVD::ImageRef’ discards qualifiers
return this;
^~~~~
/usr/local/include/cvd/internal/image_ref_implementation.hh:82:1: error: body of constexpr function ‘constexpr CVD::ImageRef& CVD::ImageRef::operator=(double) const’ not a return-statement
}
^
/usr/local/include/cvd/internal/image_ref_implementation.hh: In member function ‘constexpr CVD::ImageRef& CVD::ImageRef::operator/=(double) const’:
/usr/local/include/cvd/internal/image_ref_implementation.hh:86:17: error: assignment of member ‘CVD::ImageRef::x’ in read-only object
x=(int)(x/scale);
^
/usr/local/include/cvd/internal/image_ref_implementation.hh:87:17: error: assignment of member ‘CVD::ImageRef::y’ in read-only object
y=(int)(y/scale);
^
/usr/local/include/cvd/internal/image_ref_implementation.hh:88:9: error: binding reference of type ‘CVD::ImageRef&’ to ‘const CVD::ImageRef’ discards qualifiers
return *this;
^~~~~
/usr/local/include/cvd/internal/image_ref_implementation.hh:89:1: error: body of constexpr function ‘constexpr CVD::ImageRef& CVD::ImageRef::operator/=(double) const’ not a return-statement
}`
Is this a problem of compiler version? Or there's something else I was missing? Thanks.
I was building libcvd today and got an error that I had not run into previously. It seems to be related to 39f5f01. Reverting back to f182a3b fixed the issue.
Here's the relevant portion of the make output:
./cvd/image.h:399:4: error: no matching function for call to 'CVD::SubImage<CVD::Rgb >::fill(int)'
./cvd/image.h:399:4: note: candidate is:
./cvd/image.h:404:15: note: void CVD::SubImage::fill(T) [with T = CVD::Rgb]
./cvd/image.h:404:15: note: no known conversion for argument 1 from 'int' to 'CVD::Rgb'
I am using ubuntu 12.04 and gcc version 4.6.3.
I've been having all sorts of issues trying to build on sierra.
Software I have:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: x86_64-apple-darwin16.3.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
I have also attempted with the version of gcc on homebrew, which is gcc 6.3.0.
Anyways, when I just ./configure && make, I get a bunch of errors, some cherry picked:
./cvd/image.h:234:19: error: cannot template a using declaration
template<class C> using SubImage [[deprecated]]= BasicImage<C>;
~~~~~~~~~~~~~~~~~~^
./cvd/image.h:264:34: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions]
ImageData(const ImageData&) = default;
./cvd/internal/scalar_convert.h:91:5: error: unknown type name 'constexpr'
constexpr T& operator[](size_t i)
and much more.
However, if do: ./configure CXXFLAGS="-std=c++14"
, to force c++14 support, I am able to get past that. However, I get a new error:
make: *** No rule to make target `jpeglib.h', needed by `cvd_src/image_io/jpeg.o'. Stop.
Which makes sense, except I DO have jpeglib installed (using homebrew). Based on what I know, and based on what I'm seeing in the generated Makefile, it should properly link against the library.
I am a bit foreign to C++ development; it's been 5 or 6 years since I've dipped my toes into it, so maybe there's something obvious that i'm missing?
Thanks!
I tried compiling the c++11 branch but it seems to not compile. What is the current stable release for non C++14 compilers?
Hello.
I want to compile project on MacOS 10.11 with arch i386 and have several problem with linking.
I'm using ./configure_osx
#!/bin/bash
ARCH="-arch i386 -m32"
export LIBS="$LIBS -framework OpenGL"
export CXXFLAGS="$ARCH -std=c++14 -stdlib=libc++ -D_OSX"
export LDFLAGS="$ARCH -stdlib=libc++"
export CC="clang"
export CXX="clang++"
export LD="clang++"
./configure $1 $2 $3 $4 $5 $6 $7 $8 $9
./configure_osx --without-ffmpeg --without-v4l1buffer --without-dc1394v1 --without-dc1394v2
checking for gcc... clang
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 clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for gawk... gawk
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking how to run the C++ preprocessor... clang++ -E
checking build system type... i386-apple-darwin15.6.0
checking host system type... i386-apple-darwin15.6.0
checking if compiler flag -Wall works... yes
checking if compiler flag -Wextra works... yes
checking if compiler flag -pipe works... yes
checking For C++1y support... yes
checking for main in -lpthread... yes
checking if compiler flag -ggdb works... yes
checking if -D_GLIBCXX_DEBUG can works...... yes
checking if compiler flag -fPIC works... yes
checking if compiler flag -O3 works... yes
Checking processor specific features
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 whether byte ordering is bigendian... no
checking for MMX support... yes
checking for MMXEXT support... yes
checking for SSE support... yes
checking for SSE2 support... yes
checking for SSE3 support... yes
checking size of void*... 4
checking for inline asm statement... yes
checking assembler supports .type pseudo-op... no
Checking for operating system specific features
checking for /opt/local... no
checking for /sw... no
configure: Adding /usr/X11R6/include to the build path.
checking Carbon and QuickTime framework... no
Checking for optional libraries
checking for X11 using dubious methods...... yes
checking for shared_ptr... yes
checking for TooN... yes
checking for dgesvd_ in -lacml... no
checking if Accelerate framework is needed for LAPACK...
checking for dgesvd_... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_init_io in -lpng... no
checking for png_set_expand_gray_1_2_4_to_8 in -lpng... no
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_destroy_decompress in -ljpeg... no
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for TIFFReadRGBAImage in -ltiff... no
checking if perhaps libtiff requires zlib...
checking for tiffio.h... (cached) yes
checking for deflate in -lz... yes
checking for TIFFReadRGBAImage in -ltiff... no
checking for doxygen... no
Checking for platform compatibility
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking for glob... yes
checking for GLOB_BRACE and GLOB_TILDE in glob.h... yes
checking whether feenableexcept is declared... no
checking for posix_memalign... yes
Checking for extra build options
Options:
inline_asm shared_ptr toon lapack glob memalignMissing options for darwin15.6.0:
assembler dc1394v2 ffmpeg jpeg png posix_rt qtbuffer tiff videodisplayDodgy things:
oldpng missing_c99_feenableexceptSIMD support:
mmx mmxext sse sse2 sse3Missing SIMD support for i386-apple-darwin15.6.0:
-arch i386 -m32 -std=c++14 -stdlib=libc++ -D_OSX -Wall -Wextra -pipe -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3
-lpthread -framework OpenGL -framework Accelerate
-n Generating config...
configuration unchanged
configure: creating ./config.status
config.status: creating Makefile
otool -L /usr/local/lib/libcvd.a
Archive : /usr/local/lib/libcvd.a
/usr/local/lib/libcvd.a(diskbuffer2.o):
/usr/local/lib/libcvd.a(deinterlacebuffer.o):
/usr/local/lib/libcvd.a(exceptions.o):
/usr/local/lib/libcvd.a(image_io.o):
/usr/local/lib/libcvd.a(bayer.o):
/usr/local/lib/libcvd.a(morphology.o):
/usr/local/lib/libcvd.a(colourspace_convert.o):
/usr/local/lib/libcvd.a(draw.o):
/usr/local/lib/libcvd.a(yuv422.o):
/usr/local/lib/libcvd.a(yuv420.o):
/usr/local/lib/libcvd.a(pnm_grok.o):
/usr/local/lib/libcvd.a(bmp.o):
/usr/local/lib/libcvd.a(bmp_read.o):
/usr/local/lib/libcvd.a(bmp_write.o):
/usr/local/lib/libcvd.a(cvdimage.o):
/usr/local/lib/libcvd.a(fits.o):
/usr/local/lib/libcvd.a(fitswrite.o):
/usr/local/lib/libcvd.a(save_postscript.o):
/usr/local/lib/libcvd.a(text_write.o):
/usr/local/lib/libcvd.a(text.o):
/usr/local/lib/libcvd.a(fast_corner.o):
/usr/local/lib/libcvd.a(convolution.o):
/usr/local/lib/libcvd.a(nonmax_suppression.o):
/usr/local/lib/libcvd.a(timeddiskbuffer.o):
/usr/local/lib/libcvd.a(videosource.o):
/usr/local/lib/libcvd.a(connected_components.o):
/usr/local/lib/libcvd.a(cvd_timer.o):
/usr/local/lib/libcvd.a(thread.o):
/usr/local/lib/libcvd.a(half_sample.o):
/usr/local/lib/libcvd.a(convert_rgb_to_y.o):
/usr/local/lib/libcvd.a(convolve_gaussian.o):
/usr/local/lib/libcvd.a(gradient.o):
/usr/local/lib/libcvd.a(median_3x3.o):
/usr/local/lib/libcvd.a(utility_float.o):
/usr/local/lib/libcvd.a(utility_byte_differences.o):
/usr/local/lib/libcvd.a(utility_double_int.o):
/usr/local/lib/libcvd.a(two_thirds_sample.o):
/usr/local/lib/libcvd.a(fast_7_detect.o):
/usr/local/lib/libcvd.a(fast_7_score.o):
/usr/local/lib/libcvd.a(slower_corner_7.o):
/usr/local/lib/libcvd.a(fast_8_detect.o):
/usr/local/lib/libcvd.a(fast_8_score.o):
/usr/local/lib/libcvd.a(slower_corner_8.o):
/usr/local/lib/libcvd.a(fast_9_detect.o):
/usr/local/lib/libcvd.a(fast_9_score.o):
/usr/local/lib/libcvd.a(fast_corner_9_nonmax.o):
/usr/local/lib/libcvd.a(fast_10_detect.o):
/usr/local/lib/libcvd.a(fast_10_score.o):
/usr/local/lib/libcvd.a(fast_11_detect.o):
/usr/local/lib/libcvd.a(fast_11_score.o):
/usr/local/lib/libcvd.a(slower_corner_11.o):
/usr/local/lib/libcvd.a(fast_12_detect.o):
/usr/local/lib/libcvd.a(fast_12_score.o):
/usr/local/lib/libcvd.a(faster_corner_9.o):
/usr/local/lib/libcvd.a(faster_corner_10.o):
/usr/local/lib/libcvd.a(faster_corner_12.o):
/usr/local/lib/libcvd.a(videosource_nodvbuffer.o):
/usr/local/lib/libcvd.a(videosource_nov4lbuffer.o):
/usr/local/lib/libcvd.a(videosource_noqtbuffer.o):
/usr/local/lib/libcvd.a(posix_memalign.o):
/usr/local/lib/libcvd.a(videosource_novideofilebuffer.o):
/usr/local/lib/libcvd.a(globlist.o):
/usr/local/lib/libcvd.a(tensor_voting.o):
/usr/local/lib/libcvd.a(brezenham.o):
/usr/local/lib/libcvd.a(draw_toon.o):
/usr/local/lib/libcvd.a(quartic.o):
/usr/local/lib/libcvd.a(threepointpose.o):
Not found glwindow.o
I'm compiling PTAM with keys:
cmake .. -DCMAKE_OSX_ARCHITECTURES="i386"
make -j4
Linking problem:
Undefined symbols for architecture i386:
"CVD::glDrawText(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, CVD::TEXT_STYLE, double, double)", referenced from:
GLWindow2::PrintString(CVD::ImageRef, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >) in GLWindow2.cpp.o
"CVD::GLWindow::swap_buffers()", referenced from:
CameraCalibrator::Run() in CameraCalibrator.cpp.o
"CVD::GLWindow::handle_events(CVD::GLWindow::EventHandler&)", referenced from:
GLWindow2::HandlePendingEvents() in GLWindow2.cpp.o
"CVD::GLWindow::init(CVD::ImageRef const&, int, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)", referenced from:
CVD::GLWindow::GLWindow(CVD::ImageRef const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in GLWindow2.cpp.o
"CVD::GLWindow::~GLWindow()", referenced from:
GLWindow2::~GLWindow2() in CameraCalibrator.cpp.o
GLWindow2::GLWindow2(CVD::ImageRef, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >) in GLWindow2.cpp.o
GLWindow2::~GLWindow2() in GLWindow2.cpp.o
"CVD::glSetFont(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)", referenced from:
GLWindow2::GLWindow2(CVD::ImageRef, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >) in GLWindow2.cpp.o
"CVD::GLWindow::size() const", referenced from:
GLWindow2::DrawMenus() in GLWindow2.cpp.o
GLWindow2::SetupWindowOrtho() in GLWindow2.cpp.o
GLWindow2::SetupVideoRasterPosAndZoom() in GLWindow2.cpp.o
GLWindow2::SetupViewport() in GLWindow2.cpp.o
GLWindow2::DrawCaption(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >) in GLWindow2.cpp.o
ld: symbol(s) not found for architecture i386
But libcvd, gvars - builded for i386.
> lipo -info /usr/local/lib/libcvd.a input file /usr/local/lib/libcvd.a is not a fat file Non-fat file: /usr/local/lib/libcvd.a is architecture: i386
> lipo -info /usr/local/lib/libGVars3-0.6.dylib Non-fat file: /usr/local/lib/libGVars3-0.6.dylib is architecture: i386
How can I fix it?
Thx
It seems that MMX intrinsics are not available in visual c++ 64bit compiler.
I found some explanations in https://social.msdn.microsoft.com/Forums/en-US/02887764-ec3e-48c2-ac7f-94700ee763a9/problem-using-mmx-intrinsics-when-compiling-64bit-applications?forum=vcgeneral
Dear all,
I have a working linux ubuntu 14.04 and I am trying to compile libcvd (which I need for a camera calibration with ptam).
I used the config make make install sequence but I keep on getting
.deps:1:*** missing separator. Stop.
I checked that I have all the required programs and it seems I have.
I really don't know what else to check.
Can anybody help me with this?
Thanks,
Gianluca
I verified that I have GCC version >5. by:
sudo apt-get install g++-5
I get the following error:
./cvd/image.h: In member function ‘void CVD::BasicImage<C>::zero()’:
./cvd/image.h:508:18: error: ‘is_trivially_copyable’ is not a member of ‘std’
static_assert(std::is_trivially_copyable<T>::value, "Error: zero() only works on POD types");
I have included logs both from configure
configure.txt
and make:
compile.txt
The latest version of TooN was installed prior to this.
Hello sir I get compilation error when I try to compile libcvd.sln according to the manual. I tried the libcvd-20100511.zip and libcvd - master from github(libcvd-TooN-JPEG-pthread.sln cause I was not sure which one but I end up getting the same error again and again
1> bmp.cxx
1>E:\PTAM\include\TooN/internal/operators.hh(84): error C2059: syntax error : '('
1> E:\PTAM\include\TooN/internal/operators.hh(84) : see reference to class template instantiation 'TooN::Internal::AddType<L,R,F>' being compiled
1>E:\PTAM\include\TooN/internal/operators.hh(84): error C2059: syntax error : ')'
1>E:\PTAM\include\TooN/internal/operators.hh(84): error C2059: syntax error : ')'
1>E:\PTAM\include\TooN/internal/operators.hh(84): error C2146: syntax error : missing ')' before identifier 'type'
1>E:\PTAM\include\TooN/internal/operators.hh(84): error C3646: 'type' : unknown override specifier
1>E:\PTAM\include\TooN/internal/operators.hh(84): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>E:\PTAM\include\TooN/internal/operators.hh(85): error C2059: syntax error : '('
1> E:\PTAM\include\TooN/internal/operators.hh(85) : see reference to class template instantiation 'TooN::Internal::SubtractType<L,R,F>' being compiled
1>E:\PTAM\include\TooN/internal/operators.hh(85): error C2059: syntax error : ')'
1>E:\PTAM\include\TooN/internal/operators.hh(85): error C2059: syntax error : ')'
1>E:\PTAM\include\TooN/internal/operators.hh(85): error C2146: syntax error : missing ')' before identifier 'type'
.........
there are more similar type please tell me how to solve this problem. I tried almost all .sln most showed the same error but one had cmd.exe is not found for libcvd.sln. I have been stuck for few weeks now with no clue on how to solve if it is some version or header file or library error please tell me cause I have a deadline today. I tried to go according to the manual and change of version but I still get the same error( I have included all the file) I always end up with. Kindly help me solve this problem cause its urgent. Please.
The convolveGaussian
function seems to have problems with k
by 2
images.
Here is the backtrace:
free(): invalid next size (fast): 0x0000000001253990 ***
#0 0x00007ffff6d23bb9 in __GI_raise (sig=sig@entry=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff6d26fc8 in __GI_abort () at abort.c:89
#2 0x00007ffff6d60e14 in __libc_message (do_abort=do_abort@entry=1,
fmt=fmt@entry=0x7ffff6e6f668 "*** Error in `%s': %s: 0x%s ***\n")
at ../sysdeps/posix/libc_fatal.c:175
#3 0x00007ffff6d6d0ee in malloc_printerr (ptr=<optimized out>,
str=0x7ffff6e6f808 "free(): invalid next size (fast)", action=1)
at malloc.c:4996
#4 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0)
at malloc.c:3840
#5 0x00007fffed02b111 in deallocate (this=<synthetic pointer>, __p=0xce8990)
at /usr/include/c++/5/ext/new_allocator.h:110
#6 deallocate (__a=<synthetic pointer>, __n=<optimized out>, __p=0xce8990)
at /usr/include/c++/5/bits/alloc_traits.h:386
#7 _M_deallocate (this=<synthetic pointer>, __n=<optimized out>, __p=0xce8990)
at /usr/include/c++/5/bits/stl_vector.h:178
#8 ~_Vector_base (this=<synthetic pointer>, __in_chrg=<optimized out>)
at /usr/include/c++/5/bits/stl_vector.h:160
#9 ~vector (this=<synthetic pointer>, __in_chrg=<optimized out>)
at /usr/include/c++/5/bits/stl_vector.h:425
#10 CVD::convolveGaussian_simd (I=..., out=..., sigma=sigma@entry=1,
sigmas=<optimized out>) at cvd_src/i686/convolve_gaussian.cc:149
#11 0x00007fffed02b524 in CVD::convolveGaussian (I=..., out=...,
sigma=sigma@entry=1, sigmas=sigmas@entry=3)
at cvd_src/i686/convolve_gaussian.cc:398
Here are some of the fields in the offending image:
(const CVD::BasicImage<float> &) @0x7fffffffd880: {<CVD::Internal::ImageData<float, false>> = {my_data = 0x741a860, my_size = {x = 2, y = 591},
my_stride = 2}
Please let me know if you need any more information. Thanks!
I'm having trouble building on OS X 10.11.5 with Xcode 7.3.1. make fails with the error
<atomic> is not implemented
appearing a number of times, as well as this strange one
./cvd/image.h:234:33: error: expected ';' after using declaration
template<class C> using SubImage [[deprecated]]= BasicImage<C>;
^
;
I also get some errors like:
error: unknown type name 'constexpr'
So it feels like I messed up in the configuration somewhere, but I'm not really familiar with autoconf at all, so I don't know what the script is doing. Any ideas what's going on? Here's the output I get from running ./configure
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking how to run the C++ preprocessor... g++ -E
checking build system type... i386-apple-darwin15.5.0
checking host system type... i386-apple-darwin15.5.0
checking if compiler flag -Wall works... yes
checking if compiler flag -Wextra works... yes
checking if compiler flag -pipe works... yes
checking For C++1y support... yes
checking for main in -lpthread... yes
checking if compiler flag -ggdb works... yes
checking if -D_GLIBCXX_DEBUG can works...... yes
checking if compiler flag -fPIC works... yes
checking if compiler flag -O3 works... yes
------------------------------------
Checking processor specific features
------------------------------------
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 whether byte ordering is bigendian... no
checking for MMX support... yes
checking for MMXEXT support... yes
checking for SSE support... yes
checking for SSE2 support... yes
checking for SSE3 support... yes
checking size of void*... 8
checking for inline asm statement... yes
checking assembler supports .type pseudo-op... no
-----------------------------------------------
Checking for operating system specific features
-----------------------------------------------
checking for /opt/local... no
checking for /sw... no
configure: Adding /usr/X11R6/include to the build path.
checking dc1394/dc1394.h usability... no
checking dc1394/dc1394.h presence... no
checking for dc1394/dc1394.h... no
checking for main in -ldc1394... no
checking Carbon and QuickTime framework... no
-------------------------------
Checking for optional libraries
-------------------------------
checking for X11 using dubious methods...... yes
checking for shared_ptr... yes
checking for TooN... no
checking for old TooN... no
checking for dgesvd_ in -lacml... no
checking if Accelerate framework is needed for LAPACK...
checking for dgesvd_... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_init_io in -lpng... no
checking for png_set_expand_gray_1_2_4_to_8 in -lpng... no
checking jpeglib.h usability... no
checking jpeglib.h presence... no
checking for jpeglib.h... no
checking for jpeg_destroy_decompress in -ljpeg... no
checking tiffio.h usability... no
checking tiffio.h presence... no
checking for tiffio.h... no
checking for TIFFReadRGBAImage in -ltiff... no
checking if perhaps libtiff requires zlib...
checking for tiffio.h... (cached) no
checking for deflate in -lz... yes
checking for TIFFReadRGBAImage in -ltiff... no
configure: WARNING: FFMPEG currently requires the use of --enable-gpl
checking for doxygen... no
-----------------------------------
Checking for platform compatibility
-----------------------------------
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking for glob... yes
checking for GLOB_BRACE and GLOB_TILDE in glob.h... yes
checking whether feenableexcept is declared... no
checking for posix_memalign... yes
--------------------------------
Checking for extra build options
--------------------------------
Options:
inline_asm shared_ptr lapack glob memalign
Missing options for darwin15.5.0:
assembler dc1394v2 ffmpeg jpeg png posix_rt qtbuffer tiff toon videodisplay
Dodgy things:
oldpng missing_c99_feenableexcept
SIMD support:
mmx mmxext sse sse2 sse3
Missing SIMD support for i386-apple-darwin15.5.0:
-g -Wall -Wextra -pipe -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3
-lpthread -framework Accelerate
-n Generating config...
configuration unchanged
configure: creating ./config.status
config.status: creating Makefile
Something I noticed is that even though I have TooN installed (in /usr/local/include) the script still shows it as disabled.
Hello
I have a question regarding the conversion from YUV420p, in the video frame there is struct for 420p however, in the conversion it only accounts for 422, why is that?
how can I convert the yuv420p to rgb or bw?
Thanks
I have TooN and pthread in windows. I try to use libcvd, but I don't know what I should do. I downloaded libcvd code. How can I install in windows?
I open cygwin and run ./configure; make; make install;. It generates only .dll.a files not .lib.
I use ubuntu 14.04 and gcc version 4.8.4. I download libcvd and run ./configure & make & make install.
Now I want to run generated executables with ubuntu terminal. I attach Inca IC-3562 device to pc. I open a terminal and run ./progs/calibrate,
response is
opening v4l2:///dev/video0
V4LBuffer: No colourspace on /dev/video0 matching None
How can I run this calibration exe?
The CVD_IMAGE_DEBUG
macro is very useful for checking out-of-bounds memory violations, but it does not work in many cases throughout the CVD library where the img[y][x]
syntax is used.
One idea is when CVD_IMAGE_DEBUG
is defined img[y]
returns a BoundsCheckedBuffer<T>
instead of a T*
. BoundsCheckedBuffer<T>
is a type that behaves like a T*
but returns an error when an attempt is made to access outside the horizontal scan-line. The only situation where this would not work is when a type is specialized on a T*
but I imagine this case is rare.
Hello,
When installing libCVD with CMake on a Linux system, the library is exported as "libCVD.a".
It is currently not found by CVDConfig.cmake, which looks for a library bearing the name "libcvd.*" .
One fix for this is to add
set_target_properties(${PROJECT_NAME} PROPERTIES OUTPUT_NAME "cvd")
to CMakeLists.txt, to force the library name to libcvd.
Best regards
HI all, I am trying to build libcvd and after a few try, I success in debug mod but the release mod always complains like:
1> Performing Custom Build Tools
1> 系统找不到指定的文件。
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(172,5): error MSB6006: "cmd.exe" exited with code 1.
I am upgrading the project from vs2008 to vs2012 on win7 x64.
it's wired that I am able to build things in debug mod. getting libcvdd.lib.
any idea about this?
On Ubuntu 12.04 64-bit AMD
Configure
developer@developer-HP-xw8600-Workstation:~/libcvd-master$ ./configure --without-ffmpeg
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... 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 gawk... gawk
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking how to run the C++ preprocessor... g++ -E
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking if compiler flag -Wall works... yes
checking if compiler flag -Wextra works... yes
checking if compiler flag -pipe works... yes
checking if compiler flag -ggdb works... yes
checking if -D_GLIBCXX_DEBUG can works...... yes
checking if compiler flag -fPIC works... yes
checking if compiler flag -O3 works... 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 whether byte ordering is bigendian... no
checking for MMX support... yes
checking for MMXEXT support... yes
checking for SSE support... yes
checking for SSE2 support... yes
checking for SSE3 support... yes
checking size of void*... 8
checking for inline asm statement... yes
checking assembler supports .type pseudo-op... yes
checking dc1394/dc1394.h usability... yes
checking dc1394/dc1394.h presence... yes
checking for dc1394/dc1394.h... yes
checking for main in -ldc1394... yes
checking for v4l2... yes
checking linux/videodev.h usability... no
checking linux/videodev.h presence... no
checking for linux/videodev.h... no
checking for clock_getres in -lrt... yes
checking for working pthreads... yes
checking for sched_yield... yes
checking for X... libraries , headers
checking for glDrawPixels in -lGL... yes
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking for gluGetString in -lGLU... yes
checking for shared_ptr... no
checking for tr1::shared_ptr... yes
checking for TooN... yes
checking for dgesvd_ in -lacml... no
checking if Accelerate framework is needed for LAPACK...
checking for dgesvd_... no
checking for dgesvd_ in -llapack... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_init_io in -lpng... yes
checking for png_set_expand_gray_1_2_4_to_8 in -lpng... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking JPEG read buffer size... 1 (safe reading)
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for TIFFReadRGBAImage in -ltiff... yes
checking for TIFFReadRGBAImageOriented in -ltiff... yes
checking for doxygen... docs
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking for glob... yes
checking for GLOB_BRACE and GLOB_TILDE in glob.h... yes
checking whether feenableexcept is declared... yes
checking for posix_memalign... yes
Options:
inline_asm assembler dc1394v2 v4l2buffer posix_rt pthread videodisplay toon lapack png jpeg tiff glob memalign
Missing options for linux-gnu:
dc1394v1 ffmpeg shared_ptr v4l1buffer
Dodgy things:
tr1_shared_ptr
SIMD support:
mmx mmxext sse sse2 sse3
Missing SIMD support for x86_64-unknown-linux-gnu:
-D_REENTRANT -Wall -Wextra -pipe -ggdb -fPIC -mmmx -msse -msse -msse2 -msse3 -pthread
-ltiff -ljpeg -lpng -lpng -llapack -lGLU -lGL -lrt -ldc1394 -ldl -pthread -lX11 -lXext
Generating config... diff: cvd/config.h: No such file or directory
New configuration
configure: creating ./config.status
config.status: creating Makefile
Make (Complie errors)
cvd_src/image_io/jpeg.cxx: In static member function ‘static boolean CVD::JPEG::jpeg_istream_src::s_fill_input_buffer(j_decompress_ptr)’:
cvd_src/image_io/jpeg.cxx:160:11: error: cannot convert ‘bool’ to ‘boolean’ in return
return true;
^
cvd_src/image_io/jpeg.cxx:189:10: error: cannot convert ‘bool’ to ‘boolean’ in return
return true;
^
cvd_src/image_io/jpeg.cxx: In constructor ‘CVD::JPEG::ReadPimpl::ReadPimpl(std::istream&)’:
cvd_src/image_io/jpeg.cxx:253:31: error: cannot convert ‘bool’ to ‘boolean’ for argument ‘2’ to ‘int jpeg_read_header(j_decompress_ptr, boolean)’
jpeg_read_header(&cinfo, true);
^
cvd_src/image_io/jpeg.cxx: In static member function ‘static boolean CVD::JPEG::jpeg_ostream_dest::s_empty_output_buffer(j_compress_ptr)’:
cvd_src/image_io/jpeg.cxx:339:10: error: invalid conversion from ‘int’ to ‘boolean’ [-fpermissive]
return 1;
^
cvd_src/image_io/jpeg.cxx: In static member function ‘static boolean CVD::JPEG::jpeg_istream_src::s_fill_input_buffer(j_decompress_ptr)’:
cvd_src/image_io/jpeg.cxx:190:2: warning: control reaches end of non-void function [-Wreturn-type]
}
^
In file included from ./cvd/internal/convert_pixel_types.h:27:0,
from ./cvd/internal/io/jpeg.h:31,
from cvd_src/image_io/jpeg.cxx:26:
./cvd/internal/scalar_convert.h: At global scope:
./cvd/internal/scalar_convert.h:112:21: warning: ‘CVD::Pixel::Internal::init_float_for_byte’ defined but not used [-Wunused-variable]
const static bool init_float_for_byte = buildLookupTable(float_for_byte);
^
./cvd/internal/scalar_convert.h:113:21: warning: ‘CVD::Pixel::Internal::init_double_for_byte’ defined but not used [-Wunused-variable]
const static bool init_double_for_byte = buildLookupTable(double_for_byte);
^
make: *** [cvd_src/image_io/jpeg.o] Error 1
Any help would be greatly appreciated.
What is the Algorithm of CVD::transform() method https://github.com/edrosten/libcvd/blob/master/cvd/vision.h#L396-L476 ?
Is there any theory or papers about it ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.