AIS_Trihedron Problem

When creating an AIS_Trihedron dynamically with the 'new' command. It causes the program to access a specific file in root directory.

../opencascade4.0/src/UnitsAPI/CurrentUnits

It also causes the creation of two files in the same directory:

Lexi_Expr.dat
Units.dat

This is causing fatal errors on computers without opencascade installed.

Is this a general error or would something else be causing it?

Thanks
=========
Henry

Sharjith Naramparambath's picture

Hi,
The solution is that you carry all the files in the root directory along with your application. This cannot be avoided. The Open Cascade FAQ also tells you which all files and dlls to include when making a setup of your application. You either make a setup including all the said files or copy all the files and carry along with your exe file.
Best Luck!!
N. Sharjith