ubuntu compilation error with 2.4.5 [closed]

asked 2014-09-04 03:49:08 -0500

curtis newton gravatar image

updated 2014-09-04 05:56:22 -0500


I try to add comments to the following thread , but the site is not working or so anyone could look at the issue related in this thread ? :



I tried compiling without the gui wich caused the error, but I got some other error

here is my config line a result

-- Detected version of GNU GCC: 48 (408)
-- Found OpenEXR: /usr/lib/arm-linux-gnueabihf/libIlmImf.so
-- checking for module 'gstreamer-base-0.10'
--   package 'gstreamer-base-0.10' not found
-- Looking for linux/videodev.h
-- Looking for linux/videodev.h - not found
-- Looking for linux/videodev2.h
-- Looking for linux/videodev2.h - found
-- Looking for sys/videoio.h
-- Looking for sys/videoio.h - not found
-- Looking for libavformat/avformat.h
-- Looking for libavformat/avformat.h - found
-- Looking for ffmpeg/avformat.h
-- Looking for ffmpeg/avformat.h - not found
-- Module opencv_python disabled because opencv_highgui dependency can't be resolved!
-- Module opencv_videostab disabled because opencv_highgui dependency can't be resolved!
-- General configuration for OpenCV 2.4.9 =====================================
--   Version control:               2.4.9
--   Platform:
--     Host:                        Linux 3.4.75 armv7l
--     CMake:             
--     CMake generator:             Unix Makefiles
--     CMake build tool:            /usr/bin/make
--     Configuration:               RELEASE
--   C/C++:
--     Built as dynamic libs?:      YES
--     C++ Compiler:                /usr/bin/c++  (ver 4.8.2)
--     C++ flags (Release):         -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -O3 -DNDEBUG  -DNDEBUG
--     C++ flags (Debug):           -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -g  -O0 -DDEBUG -D_DEBUG
--     C Compiler:                  /usr/bin/cc
--     C flags (Release):           -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -O3 -DNDEBUG  -DNDEBUG
--     C flags (Debug):             -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -g  -O0 -DDEBUG -D_DEBUG
--     Linker flags (Release):      
--     Linker flags (Debug):        
--     Precompiled headers:         YES
--   OpenCV modules:
--     To be built:                 core flann imgproc features2d calib3d ml video legacy objdetect photo gpu ocl nonfree contrib stitching superres ts
--     Disabled:                    highgui world
--     Disabled by dependency:      python(deps: highgui) videostab(deps: highgui)
--     Unavailable:                 androidcamera dynamicuda java viz
--   GUI: 
--     QT 5.x:                      YES (ver 5.2.1)
--     QT OpenGL support:           YES (Qt5::OpenGL 5.2.1)
--     OpenGL support:              YES (/usr/lib/arm-linux-gnueabihf/libGLU.so /usr/lib/arm-linux-gnueabihf/libGL.so /usr/lib/arm-linux-gnueabihf/libSM.so /usr/lib/arm-linux-gnueabihf/libICE.so /usr/lib/arm-linux-gnueabihf/libX11.so /usr/lib/arm-linux-gnueabihf/libXext.so)
--     VTK support:                 NO
--   Media I/O: 
--     ZLib:                        /usr/lib/arm-linux-gnueabihf/libz.so (ver 1.2.8)
--     JPEG:                        /usr/lib/arm-linux-gnueabihf/libjpeg.so (ver )
--     PNG:                         /usr/lib/arm-linux-gnueabihf/libpng ...
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sturkmen
close date 2020-10-11 15:00:54.578442


Actually I deleted the answer because that is not the way of pushing up your message. Closed the other one, this one is way better prepared and has better information in it. To bump a topic just edit it and add a bump notice on the bottom.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-09-04 06:30:42 -0500 )edit

>-- Could NOT find JNI
Maybe you need to install Java JNI?

Victor1234 gravatar imageVictor1234 ( 2014-09-04 06:54:21 -0500 )edit

Nope that message just says that java is not installed and thus java bindings will not be generated. But this is not the goal right?

StevenPuttemans gravatar imageStevenPuttemans ( 2014-09-04 06:59:49 -0500 )edit

Unless thus are not need to android build?

Victor1234 gravatar imageVictor1234 ( 2014-09-04 08:19:18 -0500 )edit

@Victor1234 the topic starter clearly states he is building for Ubuntu, not for android development.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-09-04 08:48:54 -0500 )edit

@StevenPuttemans thx for letting me hanging there, hopefully I created another post besides I need highgui cos of imread and imwrite, so I am screwed

curtis newton gravatar imagecurtis newton ( 2014-09-04 10:00:43 -0500 )edit

Dude, read the rules, stick to a single topic and add all remarks by using the edit button. All your posts are about not being able to fix an ubuntu build... So keep your stuff together and there isn't a single problem...

StevenPuttemans gravatar imageStevenPuttemans ( 2014-09-04 10:07:37 -0500 )edit