Create AIS_Trihedron and AIS_Axis problem

my project work well on my computer(I have installed Open CasCade 6.2 on my computer), when I copy the project to another PC without Open CasCade,
the program crashed wherever I create AIS_Trihedron or AIS_Axis(with new operator).did anyone have this problem ever?

Bearloga's picture

Pay attention to the following variables in environment:
set CSF_UnitsLexicon=%CASROOT%\src\UnitsAPI\Lexi_Expr.dat
set CSF_UnitsDefinition=%CASROOT%\src\UnitsAPI\Units.dat
You should set them to point to the copies of the corresponding resource files from OCC source code.

soaroc's picture

it works now.thanks.