Hi
The wgl Commands are not recognized in the linking phase of my building…, why ?
I have been looking at the settings of the pbuffer’s examples that came with opengl sdk, and i have all the libraries they have…, as this is a linking problem i must be missing something here…, what ?
Linking…
pbuffer.obj : error LNK2001: unresolved external symbol “int (stdcall* wglDestroyPbufferARB)(struct HPBUFFERARB )" (?wglDestroyPbufferARB@@3P6GHPAUHPBUFFERARB__@@@ZA)
pbuffer.obj : error LNK2001: unresolved external symbol "int (__stdcall wglReleasePbufferDCARB)(struct HPBUFFERARB__ *,struct HDC__ )" (?wglReleasePbufferDCARB@@3P6GHPAUHPBUFFERARB__@@PAUHDC__@@@ZA)
pbuffer.obj : error LNK2001: unresolved external symbol "int (__stdcall wglQueryPbufferARB)(struct HPBUFFERARB__ *,int,int )" (?wglQueryPbufferARB@@3P6GHPAUHPBUFFERARB__@@HPAH@ZA)
pbuffer.obj : error LNK2001: unresolved external symbol "struct HDC__ * (__stdcall wglGetPbufferDCARB)(struct HPBUFFERARB__ )" (?wglGetPbufferDCARB@@3P6GPAUHDC__@@PAUHPBUFFERARB__@@@ZA)
pbuffer.obj : error LNK2001: unresolved external symbol "struct HPBUFFERARB__ * (__stdcall wglCreatePbufferARB)(struct HDC__ *,int,int,int,int const )" (?wglCreatePbufferARB@@3P6GPAUHPBUFFERARB__@@PAUHDC__@@HHHPBH@ZA)
pbuffer.obj : error LNK2001: unresolved external symbol "int (__stdcall wglChoosePixelFormatARB)(struct HDC__ *,int const *,float const *,unsigned int,int *,unsigned int *)” (?wglChoosePixelFormatARB@@3P6GHPAUHDC__@@PBHPBMIPAHPAI@ZA)
Debug/q3.exe : fatal error LNK1120: 6 unresolved externals
Error executing link.exe.