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

fatal error during unit initialisation

Anonymous's picture
Forums: 

Hi!

I've got a message when run 02_samples topology : 02_3_SampleTopologyBuilding in sample program (windows NT version) on beginnig... "fatal error during unit initialisation"

when click some icon. the program ends with an error message: "runtime error" ...... "abnormal program termination"

what's that problem!

Thomas Haller's picture

Hi,

You have to set some environment variables. The documentation delivered with the archives is not complete. Have a look in the FAQ page.

Here is an example for Windows:

set CSF_MDTVFontDirectory=e:\cascade3.0\src\FontMFT\

set CSF_MDTVTexturesDirectory=e:\cascade3.0\src\Textures\

set CSF_UnitsDefinition=e:\cascade3.0\src\UnitsAPI\Units.dat

set CSF_UnitsLexicon=e:\cascade3.0\src\UnitsAPI\Lexi_Expr.dat

The FAQ page contains a bug. You have to write Lexi_Expr.dat instead of LexiExpr.dat!

Best regards

Thomas