Hi,
Following the instructions on GameDev it seems to work.
Searching into my computer I have found that there is a "gl.h" in this folder "C:\Documents and Settings\All Users\Datos de programa\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\shared\inc\GL" that contains the "GL_BGR" definition. This folder was created when I installed Nvidia CUDA SDK as I want to use OpenGL on OpenCV to improve performance.
Maybe changing the libs it will work but I'm a little confused:
- I can make my application to use this header lib
- In the folder "C:\Documents and Settings\All Users\Datos de programa\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\shared\lib\Win32" there are 3 libs "freeglut.lib" "glew32.lib" and "shrUtils32.lib"
- Qt is already linked to OpenGL libs
So, changing the header in my application will work? Or maybe have to recompile Qt pointing to this new OpenGL libs?
Thanks all,
Bookmarks