c - Package gtk-engines-2 was not found in the pkg-config search path -


I am trying to compile the implementation of Rob Hayes of SIFT algorithm. I successfully installed OpenCiv2 2.1 and tested the installation with sample C programs provided. There was no error.

This code I was trying to compile was written using OpenCV 2.0. I successfully compiled and ran the exact code some time ago with OCV2.0. But now the compilation fails and it prints and prints it. I am using the file provided with the code.

  make -C ./src siftfeat [1]: Accessing the directory `/ home / niroshan / sift / src 'ar rc ../ Lib / libfeat.a imgfeatures.o utils. O sift.o kdtree.o minpq.o xform.o refine.o ranlib ../lib/libfeat.a GCC-i ../ Include 'pkg-config -cflags opencv Gtk-engines-2` siftfeat.c - O ../bin/siftfeat -L./ lib-lfeat `pkg-config -libs opencv gtk-engines-2` package gtk-engines-2 was not found The Pkg-config search path might be 'gtk-engines-2.pc 'Should be added to the PKGCNGGIGIP environment variable, no package' gtk-engines-2 'was found, the package gtk-engines-2 pkg-config was not found in the search path, you may not find' gtk-engines-2.pc ' Rdeshika siftfeat.c in Pikeji_confaijiaipiaac should add the environment variable No package 'gtk-engines-2' file not found: 18: sift.h: 23: Fatal error: Cxcore.h: It has no end compilation file or directory. Making [1]: *** [siftfeat] making error 1 [:]: Creating directory `/ home / niroshan / sift / src ': * [siftfeat] error 2   

There is another problem in which Sekscore H is included. Can anyone tell me what is wrong here? Thank you in advance

My Ubuntu 10.10 box had the same problem.

I found what file was needed by build ("gdk / gdk.h") and saw that the gtk + -2.0 package (/usr/lib/pkgconfig/gtk+-2.0.pc) Usr / include / Gtk-2.0, which is relative to the required file.

I have edited the src / makefile and "pkg-config ... opencv gtk-engines-2" to "CPLGS and LIBS pkg-Pkg-config ... opencv gtk + -2.0" and this is my Designed for

Comments