[vtkusers] how to use the class vtkOpenGLStateCache?

刘卓 polinzhuo at 163.com
Tue Nov 28 10:11:11 EST 2006


Hello everyone!

         how to use the class vtkOpenGLStateCache? When I add the sentence
into my routine, there is link error:

 
vtkOpenGLStateCache::CurrentGLCache->glClearDepth(vtkOpenGLStateCache::Curre
ntGLCache->ClearDepth_bucket);

 

--------------------Configuration: Delauney1 - Win32
Debug--------------------

Linking...

Delauney1.obj : error LNK2001: unresolved external symbol "public: static
class vtkOpenGLStateCache * vtkOpenGLStateCache::CurrentGLCache"
(?CurrentGLCache at vtkOpenGLStateCache@@2PAV1 at A)

Debug/Delauney1.exe : fatal error LNK1120: 1 unresolved externals

Error executing link.exe.

 

Delauney1.exe - 2 error(s), 0 warning(s)

 

 

How to resolve the error? 

thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20061128/5cfb2252/attachment.htm>


More information about the vtkusers mailing list