Forum archiveIssue archiveOther usage issues

Archived discussion

AIS_Trihedron bug ??

Other usage issuesWed, 03/13/2002 - 16:182 replies

Browse this forum
QuestionAuthor

I used AIS_Trihedron with OC3.1/Linux. I try to rebuild my apps under OC4.0/NT4/VC++6 without MFC (using FLTK) and each time there is :

Handle(AIS_Trihedron) aTrihedron;
Handle(Geom_Axis2Placement) anAxis=new Geom_Axis2Placement(gp::XOY());
aTrihedron=new AIS_Trihedron(anAxis);

it crash at the last line ...

So I have tried the MFC samples and the those which use the same (SampleAISBasic, SampleHLR) crash to ?? Moreover SampleHLR says that there is a unit pb before lauching an crashing when using the "HLR dialog" icon.

Does I have missed anything ?? Any explanation ???

Thanks for help.

Discussion

2 archived replies

Posts are displayed in their archived order.

01Author

forget that ... all is OK

02Commenter-1

it seems the environment variable :

CSF_UnitsLexicon
and
CSF_UnitsDefinition

are not or not correctly defined .
They should be defined as :

CSF_UnitsLexicon "OpenCASCADEPath"/src/UnitsAPI/Lexi_Expr.dat
CSF_UnitsDefinition "OpenCASCADEPath"/src/UnitsAPI/Units.dat