[Digikam-devel] kipi-plugins does not compile, QGLWidget missing

Simon A. Eugster granjow at gmail.com
Mon Jul 5 20:13:02 BST 2010


Can anyone give me a hint please?
I'm using current SVN.

thanks,
Simon

In file included from 
/data/cworkspace/digikam-trunk/kipi-plugins/imageviewer/texture.cpp:26: 

/data/cworkspace/digikam-trunk/kipi-plugins/imageviewer/texture.h:29:21: 
error: QGLWidget: Datei oder Verzeichnis nicht gefunden
In file included from 
/data/cworkspace/digikam-trunk/kipi-plugins/imageviewer/texture.cpp:26:
/data/cworkspace/digikam-trunk/kipi-plugins/imageviewer/texture.h:57: 
error: ‘GLuint’ has not been declared
/data/cworkspace/digikam-trunk/kipi-plugins/imageviewer/texture.h:58: 
error: ‘GLuint’ has not been declared
/data/cworkspace/digikam-trunk/kipi-plugins/imageviewer/texture.h:59: 
error: ISO C++ forbids declaration of ‘GLvoid’ with no type


$ cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/usr/local ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.6.3 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in 
/usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so
-- Looking for XOpenDisplay in 
/usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so 
- found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Phonon Version: 4.4.2
-- Found Phonon: /usr/lib/libphonon.so
-- Found Phonon Includes: /usr/include/KDE;/usr/include
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.4 include dir: /usr/include
-- Found KDE 4.4 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Check Kexiv2 library in local sub-folder...
-- Check Kexiv2 library using pkg-config...
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found libkexiv2 release >= 0.2.0
-- Found libkexiv2: /usr/local/lib/libkexiv2.so
-- Check Kdcraw library in local sub-folder...
-- Check Kdcraw library using pkg-config...
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found libkdcraw release >= 0.2.0
-- Found libkdcraw: /usr/local/lib/libkdcraw.so
-- Check Kipi library in local sub-folder...
-- Check Kipi library using pkg-config...
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found libkipi release >= 0.2.0
-- Found libkipi: /usr/lib/libkipi.so
-- Found JPEG: /usr/lib/libjpeg.so
-- Found ZLIB: /usr/lib/libz.so
-- Found PNG: /usr/lib/libpng.so
-- Found TIFF: /usr/lib/libtiff.so
-- Found EXPAT: /usr/lib/libexpat.so
--   found libxml-2.0, version 2.7.7
-- Found LibXml2: /usr/lib/libxml2.so
--   found libxslt, version 1.1.26
-- Found LibXslt: /usr/lib/libxslt.so
-- checking for module 'libgpod-1.0'
--   found libgpod-1.0, version 0.7.2
-- Found Gpod: /usr/include/gpod-1.0
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found Gdk: /usr/include/gtk-2.0
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found GLIB2: /usr/lib/libglib-2.0.so
-- checking for module 'gobject-2.0'
--   found gobject-2.0, version 2.24.1
-- Found GObject libraries: 
/usr/lib/libgobject-2.0.so;/usr/lib/libgmodule-2.0.so;/usr/lib/libgthread-2.0.so;/usr/lib/libglib-2.0.so
-- Found GObject includes : /usr/include/glib-2.0/gobject
-- Found KdepimLibs: /usr/lib/cmake/KdepimLibs/KdepimLibsConfig.cmake
--   found qca2, version 2.0.2
-- Found QCA2: /usr/lib/libqca.so
-- Found libksane: /usr/lib/libksane.so
CMake Warning at 
/usr/share/kde4/apps/cmake/modules/MacroOptionalFindPackage.cmake:19 
(find_package):
   Could not find module FindOpenCV.cmake or a configuration file for package
   OpenCV.

   Adjust CMAKE_MODULE_PATH to find FindOpenCV.cmake or set OpenCV_DIR to the
   directory containing a CMake configuration file for OpenCV.  The file will
   have one of the following names:

     OpenCVConfig.cmake
     opencv-config.cmake

Call Stack (most recent call first):
   CMakeLists.txt:125 (MACRO_OPTIONAL_FIND_PACKAGE)


-- Found X11: /usr/lib/libX11.so
-- checking for module 'libkdcraw>=1.1.0'
--   found libkdcraw, version 1.1.0
-- checking for module 'libkexiv2>=1.1.0'
--   found libkexiv2, version 1.1.0
-- CMake version: cmake version 2.8.1

-- CMake version (cleaned): cmake version 2.8.1

-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp
-- 
-- 
----------------------------------------------------------------------------------
--  kipi-plugins 1.4.0 dependencies results   <http://www.kipi-plugins.org>
-- 
--  libjpeg library found.................... YES
--  libtiff library found.................... YES
--  libpng library found..................... YES
--  libkipi library found.................... YES
--  libkexiv2 library found.................. YES
--  libkdcraw library found.................. YES
--  libxml2 library found.................... YES (optional)
--  libxslt library found.................... YES (optional)
--  libexpat library found................... YES (optional)
--  native threads support library found..... YES (optional)
--  libopengl library found.................. YES (optional)
--  libopencv library found.................. NO  (optional)
--  libgpod library found.................... YES (optional)
--  Gdk library found........................ YES (optional)
--  libkdepim library found.................. YES (optional)
--  qca2 library found....................... YES (optional)
--  libkdcraw >= 1.1.0 library found......... YES (optional)
--  libkexiv2 >= 1.1.0 library found......... YES (optional)
--  OpenMP library found..................... YES (optional)
--  libX11 library found..................... YES (optional)
--  libksane library found................... YES (optional)
-- 
--  kipi-plugins will be compiled............ YES
--  Shwup will be compiled................... YES (optional)
--  HtmlExport will be compiled.............. YES (optional)
--  AdvancedSlideshow will be compiled....... YES (optional)
--  ImageViewer will be compiled............. YES (optional)
--  AcquireImages will be compiled........... YES (optional)
--  DNGConverter will be compiled............ YES (optional)
--  RemoveRedEyes will be compiled........... NO  (optional - Look README 
file for more details about dependencies)
--  IpodExport will be compiled.............. YES (optional)
--  Calendar will be compiled................ YES (optional)
-- 
----------------------------------------------------------------------------------



More information about the Digikam-devel mailing list