Help me About Example

make Example in VS2005;
make View2D as start project ,run OK;
make View3d as start project .can not run,messageBox:"Fatal error during graphic initialization",
please help me.

Brook's picture

hi,tongxin:
Search TkOpenGl.dll and do as follows:
"If you get the following error message when running an Open CASCADE Technology based application:
Fatal error during graphic initialization
Or if the application crashes without displaying error messages, you must set the environment variable CSF_GRAPHICSHR as follows:
• On Windows, if we suppose that OCCT is installed in D:\OpenCASCADE6.3.0
Set CSF_GraphicShr= D:\OpenCASCADE6.3.1\ros\win32\bin\TkOpenGl.dll
"