FlyCapture2.h: No such file or directory - c++

I am trying to read images from a ptgrey camera on Ubuntu with OpenCV. I have installed the SDK and the SDK samples work.
I am unable to run the samples from ptgrey regarding the image conversion. I have the cpp files but I get the above error when I run the make file.
What should I add to my CMakeLists.txt to detect the FlyCapture2.h file?

Related

Cannot get gfwl source package to work in vscode

I wanted to learn OpenGl because I was just getting into c++ and I thought it would be cool to learn but now I'm stuck and I don't know what to do.
So basically I am not using the microsoft version of VScode, I am using your basic VScode application.
I install MinGw and added it to the path.
and i created a folder, in that file i created a main.cpp file and downloaded the source folder (source package) of gfwl from the main page
and I tried different ways of including it into my cpp file
i tried
the path of gfwl from the system
<GFWL/gfwl3.h>
the files directory to gfwl3.h
and none of them seem to work, I either get a "directory or file path invalid" or errors on it failing to import its functions like gfwlinit
how could i make this work?
Make sure to add it to the path and use a MakeFile to compile and to connect everything!

using CImg in cpp

i'm trying to open image file for an university project using the CImg library.
when trying to load a png file, i get a message that the format file is not supported.
after some reading, i tried to install ImageMagick++ and add it as a dependency to my Visual Studio project following this post: http://www.imagemagick.org/discourse-server/viewtopic.php?t=30295
but it still doesn't work.
how do i add magick++ to my project? (even without the CImg library) is fine.

ImageMagick ++ Read Error ErrorMissingDelegate

I have downloaded and installed ImageMagick++ from http://www.imagemagick.org/Magick++/.
I am using Windows7 32 bit and Visual Studio 2008. I want to use the ImageMagick in an existing project. I made the required/suggested changes to my project properties like adding dependencies etc. I added three libraries in the additional dependencies (CORE_RL_Magick++_.lib,CORE_RL_MagickCore_.lib and CORE_RL_MagickWand_.lib
I added
<Magick++.h> header file and
using namespace Magick
Then
Magick:: Image image (No error)
image.read("5.png") throws an error "ErrorMissingDelegate at memorry location ....".
I tried other image formats also, but same error.
Please help.

Encrypting and compressing using p7zip

I am trying to replace the usage of 7zip in my QT Xcode project. Currently the files are archived using a password and my project on Windows uses 7z when accessing automatically opens the file.
I have found p7zip to be the port of 7zip for linux/mac
The objectives are:
Open existing 7zip archived files with password
Save stream with password as a single file.
I built with the following commands
$cd path/to/p7zip
$cp makefile.macosx_64bits makefile.machine
$make 7z
It built without any errors but I am not able to find *.a or *.dylib files. Instead I find the following in the bin folder
7z
7z.so
Codecs
Codecs has Rar.so
That is a linux lib file isn't it?
I am very new to the Mac dev, so any help or suggestion would be helpful. I am not able to find an example program too.

How to detect keypoints, compute descriptors and match those descriptors in OpenCV 3.0.0, Visual Studio 2013, in C++?

I have seen the documentation of OpenCV. In there, SurfFeatureDetector, SurfDescriptorExtractor and BruteForceMatcher are being used.
But when I try in my code, it is showing -
Error : identifier "SurfFeatureDetector" is unidentified.
Same case for other two.
After going through some threads and forums, I tried to include some header files like - #include <opencv2 nonfree="" features2d.hpp=""> and some others but those files don't exist. So shows another error saying -
Error : Cannot open source file "opencv2/nonfree/features2d.hpp"
Is there any alternative way to do these in OpenCV 3.0.0?
I had similar problem and it got fixed when I built Opencv locally on my system instead of using pre-built libraries. You can refer to this thread for building Opencv on your system Where is the lib folder (or its replacement) in the current OpenCV?
In opencv3.0, SURF/SIFT/BruteForceMatcher have been moved to a seperate opencv_contrib repository, you may download it and make changes to cmake path for Visual Studio to recognize these functions. Although it did appear after building it locally on my system without doing any additional modification.
After you built it locally you can find it in the following path
Build_folder/install/include/opencv2/features2d.hpp