|
From: Karl S. <kar...@gm...> - 2009-05-14 14:02:12
|
That is a feature of WinXP. It will repair system DLL's that it thinks are damaged or changed. You should put the Mesa-compiled OpenGL32.dll in the same directory as your application executable. It will find it there first, before the one in System32. On Thu, May 14, 2009 at 1:45 AM, vinit bansal <ban...@gm...>wrote: > Hi Brian, > Thanks for your reply. > I have one very basic question. > As OpenGL 2.0 needs h/w support, Mesa provides s/w sln for it, right ? > > One funny things is happening with me. > Mesa is giving me OpenGL32.lib/OpenGL32.dll, which contains all def > for 2.0 calls. > When i m making any 2.0 calls, it is refering to > C:/Windows/System32/OpenGL32.dll. > which is for GL 1.1 and does not contain any 2.0 call. So its getting > unresolved symbol. > When i m trying to replace it with my Mesa genreted OpenGL32.dll, its > not able to replace. > I mean, again it is reverting back to the old one. > I dont know why this surprising behaviour is happening. > > Thanks in advance > Regards > > On Wed, May 13, 2009 at 7:08 PM, Brian Paul <br...@vm...> wrote: > > vinit bansal wrote: > >> > >> Hi, > >> > >> I have downloaded MESA v7.4. > >> I need to run a sample program which uses openGL 2.0 calls on Windows. > >> I have noticed that 2.0 calls are under a flag GL_GLEXT_PROTOTYPES in > >> glext.h > >> I have defined this flag and I have tried to use a 2.0 call (in this > >> case glCreateShader(GLenum)). But it gives linker errors: > >> 1>gears.obj : error LNK2019: unresolved external symbol > >> _glCreateShader@0 referenced in function _init > >> 1>.\Debug/gears.exe : fatal error LNK1120: 1 unresolved externals. > >> > >> I am a beginner to openGL. > >> I don't think the gears sample program uses any 2.0 calls. > >> > >> I need help urgently. > > > > On Windows you need to use function pointers obtained with > > wglGetProcAddress() to call the OpenGL 2.0 functions (actually, OpenGL > 1.3 > > and later, I believe). > > > > Probably the best thing to do is use GLEW: http://glew.sourceforge.net/ > > > > -Brian > > > > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Mesa3d-users mailing list > Mes...@li... > https://lists.sourceforge.net/lists/listinfo/mesa3d-users > |