For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Fatal Error during Graphic Initialisation.

Anonymous's picture

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.