From: Christian W. <cwi...@nh...> - 2006-02-28 08:19:20
|
Dear All, I recently started using mingw to port my qt4 programs from Linux to Windows. My collegues here at the hospital mainly use Windows, and I would be happy if the could use my apps. I was already successful with one of my programs. It uses OpenGL, which is an important requirement for my software. I am currently struggeling with a more elaborate program, which makes use of multi-texturing in OpenGL. Unfortunately, gcc under mingw tells me that the multi-texturing variables & function are undefined. Here is a snapshot of the compiler output. ... glimageview.cpp: In member function `virtual void GLImageView::paintGL()': glimageview.cpp:138: error: `GL_TEXTURE0' undeclared (first use this function) glimageview.cpp:138: error: (Each undeclared identifier is reported only once for each function it appears in.) glimageview.cpp:138: error: `glActiveTexture' undeclared (first use this function) glimageview.cpp:142: error: `glMultiTexCoord2f' undeclared (first use this function) ... Is it somehow possible to enable multi-textureing under mingw? It works fine when compiled in Linux. Is it possible to use libmesa under mingw to get it working? I would greatly appreciate any comments or suggestion. Chris |