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

AIS_Trihedron Problem

Henry Durrant's picture
Forums: 

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