[Kde-imaging] reflexion about kipi-plugins port to Windows...
Markus Leuthold
kusi at forum.titlis.org
Wed Oct 22 17:26:31 CEST 2008
Gilles Caulier wrote:
>
> I can do it for you. See below after to have commented X11 depency
> with imageviewer:
thank you!
>
> [ 50%] Built target kipiplugins
> [ 50%] Building CXX object
> kipi-plugins/imageviewer/CMakeFiles/kipiplugin_imageviewer.dir/viewerwidget.obj
> In file included from
> C:\KDE4\src\devel\graphics\kipi-plugins\imageviewer\viewerwidget.h:28,
> from
> C:\KDE4\src\devel\graphics\kipi-plugins\imageviewer\viewerwidget.moc:10,
> from
> C:\KDE4\src\devel\graphics\kipi-plugins\imageviewer\viewerwidget.cpp:27:
> C:/KDE4/include/QtOpenGL/qgl.h:111: warning: inline function `const
> char* qGLVersion()' declared as dllimport: attribute
> ignored
> C:\KDE4\src\devel\graphics\kipi-plugins\imageviewer\viewerwidget.cpp:
> In member function `virtual void KIPIviewer::Viewe
> rWidget::initializeGL()':
> C:\KDE4\src\devel\graphics\kipi-plugins\imageviewer\viewerwidget.cpp:168:
> error: `GL_TEXTURE_RECTANGLE_ARB' was not decl
> ared in this scope
> C:\KDE4\src\devel\graphics\kipi-plugins\imageviewer\viewerwidget.cpp:
> In member function `void KIPIviewer::ViewerWidget:
> :drawImage(KIPIviewer::Texture*)':
> C:\KDE4\src\devel\graphics\kipi-plugins\imageviewer\viewerwidget.cpp:276:
> error: `GL_TEXTURE_RECTANGLE_NV' was not decla
> red in this scope
> C:\KDE4\src\devel\graphics\kipi-plugins\imageviewer\viewerwidget.cpp:
> In member function `void KIPIviewer::ViewerWidget:
> :downloadTex(KIPIviewer::Texture*)':
> C:\KDE4\src\devel\graphics\kipi-plugins\imageviewer\viewerwidget.cpp:453:
> error: `GL_TEXTURE_RECTANGLE_NV' was not decla
> red in this scope
> make[2]: ***
> [kipi-plugins/imageviewer/CMakeFiles/kipiplugin_imageviewer.dir/viewerwidget.obj]
> Error 1
> make[1]: ***
> [kipi-plugins/imageviewer/CMakeFiles/kipiplugin_imageviewer.dir/all]
> Error 2
> make: *** [all] Error 2
>
> Note : GLU and OPenGL are properly detected here (SlideShow plugin
> which depand of this compile fine).
>
> Gilles
looks like the value GL_TEXTURE_RECTANGLE_ARB is defined elsewhere on a
windows system. A quick glance on my computer at work at
C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\Include\gl
doesn't seem to contain any OGL extensions. Oh well, M$.... I need to
investigate further at home
Kusi
More information about the Kde-imaging
mailing list