Fatal Error during Graphic Initialisation.

Windows NT4 SP5, VC++ 6

I copied all dll files from Cas3.0/Windows_NT/dll to WINNT/system32. (Am I right?) Then I compiled and liked both debug and release versions of Samples 04 & 07. But they all crash with message "Fatal Error during Graphic Initialisation." The context points to: myViewer = new V3d_Viewer(theGraphicDevice,(short *) "Visu3D"); in CSampleAISSelectDoc::CSampleAISSelectDoc(). I can't figure out why. Any hints are great appreciated. Thanks in advance.

Haffray Arnaud's picture


you have a simple problem before, using samples or other Open CASCADE application you must set all environment variables as explain in Faqs :

1.10 Required environment variables

Stay tuned.