Troubleshooting

Dynamic library loading problem

Open CASCADE Technology uses a dynamic library loading mode. Sometimes, an error message such as the following appears:

 "cannot map libname.so .. under any of the filenames .."

When this happens, check your PATH under Windows, LD_LIBRARY_PATH under UNIX , SHLIB_PATH under HP-UX or LIBPATH under IBM AIX . It should contain the path where the required dynamic library is located.

 

Running Draw under Windows

When running DRAWEXE and using axo in the Command window you may see the following message :

  invalid command name "axo"

Make sure that the OCCT directory name does not contain any blank spaces.

It causes some problems when reading the OCCT description TCL Commands files.

If you have set DRAWHOME and DRAWDEFAULT, replace \ by / in the variable Type topic text here.

 

Error on application start on Windows

If Windows shows an error message with the text “Application failed to initialize properly” upon launching the application, check access rights for all libraries used in the application, in particular, third-party libraries. Make sure that you have all rights  necessary to access these libraries. It is recommended to use option “Inherit access rights from parent”.

 

Problems with 3d viewer

If the 3d viewer fails to display the scene properly, or works very slowly, or exhibits another problem, make sure to have the latest version of the graphics card driver installed. If this is not possible or does not help, try to decrease hardware acceleration level (usually found in Troubleshooting section of the graphics card properties).

 

Fatal error during graphic initialization

If you get the following error message when running an Open CASCADE Technology based application:

Fatal error during graphic initialization

Or if the application crashes without displaying error messages, you must set the environment variable CSF_GRAPHICSHR as follows:

• On Windows, if we suppose that OCCT is installed in D:\OpenCASCADE6.3.0

                 Set CSF_GraphicShr= D:\OpenCASCADE6.3.1\ros\win32\bin\TkOpenGl.dll

• On Linux or Unix, if we suppose that OCCT is installed in .../mydisk/ OpenCASCADE6.3.0               

Setenv CSF_GraphicsShr /mydisk/ OpenCASCADE6.3.0ros/lin/lib/libTKOpenGl.so