libQGLViewer-2.7.2 qmake opengl - qmake

I'm trying to compile libQGLViewer-2.7.2
on linux amd64 debian qt5
using qmake, I got
Project ERROR: Could not find feature opengles2.
Any idea what's wrong? how can I debug this?
rhanks

Related

Trouble building the ROS wrapper for the Intel RealSense camera

I am having trouble building the ROS wrapper for the Intel RealSense camera.
This is the error message I am seeing:
IOError: could not find ddynamic_reconfigure among message packages. Does that package have a on message_generation in its package.xml?
I am following the instructions here. I get the above error when I run this command:
catkin_make -DCATKIN_ENABLE_TESTING=False -DCMAKE_BUILD_TYPE=Release
I installed the RealSense SDK2.0 from the Debian Package. I verified the SDK install by running
realsense-viewer
I am working on ROS Kinetic, on Ubuntu 16.04
you need to add message_generation as build_depends in package.xml and in COMPONENTS in CMakeLists.txt.
Quick Look at their Github Showed The Answer

Issue building OpenCV with ccache and CUDA

Trying to build OpenCV 3.3.1 with CUDA support, using ccache:
Ubuntu 16.04 LTS
OpenCV 3.3.1
CUDA 8.0
CCACHE 3.2.4
Make fails for .cu files, giving error:
/usr/bin/ccache: invalid option -- 'E'
Usage:
ccache [options] ...
I've added the /usr/lib/ccache to PATH, which cc and which c++ outputs /usr/lib/ccache/cc and /usr/lib/ccache/c++ respectively. Manually added a symlink for nvcc in /usr/lib/ccache directory, but now OpenCV CMakeLists.txt cannot find CUDA.
But interestingly I can build this sample CUDA code, with this CMake file without any issue.
I've searched the net and read most posts on SO and other forums, but had no success. I've had this issue for previous versions of OpenCV as well, but always disabled ccache as a solution.
Can someone please explain the reason behind this error?
Trying to set
-DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda
seems to solve this problem for me.

Compiling OpenCV-contrib for IOS (especially the SFM-Module)

I've tried to install openCV_contrib for IOS, therefore I execute
python opencv/platforms/ios/build_framework.py "framework_dest"
on my Mac (I need Xcode for compiling openCV for IOS) but all the times, i got the message:
-- Checking SFM deps... FALSE
-- Module opencv_sfm disabled because the following dependencies are not found: Glog/Gflags
I need the SFM module, hence I tried installing Glog and Gflags at several ways: using
brew install glog gflags
and brew outputs, that those packages are successfully installed respective already installed.
Later I tried to compile both from GitHub on my own, but with no success, I'm still not able to compile SFM for IOS.
On Linux I could compile openCV including the SFM module, but I can't compile it for IOS, because Xcode is not available for Linux.
I don't know, what to do! Do some of you know how to install glog/gflags on Mac or do you know how to build the IOS-Framework of OpenCV on Linux or maybe how to build the IOS-Framework on my Mac using the binaries created with cmake .. && make in my Linux (because there SFM is compiled)?
There have to be some solution, because Mac is based on Linux, so if it works on Linux, why doesn't it work on my Mac?!
Thanks!

Difficulties compiling OpenCV on Ubuntu ARM

I'm trying to compile OpenCV to use it on a ODROID-UX3 machine (ARM architecture) with Ubuntu 14.04. Following the guide on the OpenCV website I'm trying to install the cross compilation tools (gnueabihf) with no luck. Apt-get doesn't seem to locate the package gcc-arm-linux-gnueabihf. Is there a compatibility issue?
No, Ubuntu has a package named gcc-arm-linux-gnueabihf
here:
Package: gcc-arm-linux-gnueabihf (4:4.6.2-7) [universe]
The GNU C compiler for armhf architecture
Your problem is something else.

opencv error: no GPU support

I have install Cuda 6.5 and opencv 2.4.9 with visual studio 2010, when I run gpu, I get error
Opencv Error: No GPU support(the library is compiled without PGU support) in the row_nogpu, file C:/builds/2_4_Packslave-win32-vc10-shared/opencv/modules/gpu/src/precomp.hpp line 135
I get this error, is any one can help what do I have to do?
Thanks
I believe, you have to actually build the libraries with CUDA support. I Imagine This Guide will be useful.
This can be caused because of following.
Use the flag WITH_CUDA=ON during cmake
You are trying to load the libraries which are compiled without GPU support, after you install opencv make sure you change the libraries path to that of GPU supported once.

Resources