Draw doesn't work


I downloaded a copy of opencascade4.0dev1(WindowsNT Binary Debug) and installed it, I have followed all step in tutorial and the TTOPOLOGY seems works,it recognize commands but the WindowNT Draw Window is all blank and dont' display anything.Still,I got this error while trying to run the java samples.Somebody seems to have encountered this problem before,But I didn't find resolution in forum and FAQ,Could anyone tell me what to do?

Thanks very much

error dump: 0x074AF9CC : Aspect_GraphicDeviceDefinitionError: the procedure doesn't exist

jcas.CasCadeException: 0x074AF9CC : Aspect_GraphicDeviceDefinitionError: ??????? ?????î•

at SampleGeometryJni.SampleGeometryPackage.CreateViewer3d(Native Method)

at SampleGeometryPanel.createViewPanel(SampleGeometryPanel.java:183)

at SamplePanel.jbInit(SamplePanel.java:58)

at SamplePanel.(SamplePanel.java:34)

at SamplePanel.(SamplePanel.java:26)

at SampleGeometryPanel.(SampleGeometryPanel.java:130)

at SamplesStarter.(SamplesStarter.java:68)

at SamplesStarter.main(SamplesStarter.java:183) Exception in thread "main" java.lang.NullPointerException

at SampleGeometryPanel.(SampleGeometryPanel.java:143)

at SamplesStarter.(SamplesStarter.java:68)

at SamplesStarter.main(SamplesStarter.java:183)

Philippe Poncot's picture

Please set the CSF_GraphicShr environment variable to :