configure: error: CasCade (headers and libraries) not found

Hello-

I have installed OCC 6.1 in my home directory (under Linux) at /home/fjv/OpenCascade (complete install, ~600 MB)

Running ./configure in the samples/tutorial directory generates the error:

configure: error: CasCade (headers and libraries) not found

The same error is generated when running:

./configure --with-cascade-dir=/home/fjv/OpenCascade

The same error happens when running configure in samples/standard/qt

Any suggestions?

Thanks,

Fred Vetter

Jan Brüninghaus's picture

Have you set the environment variables properly (env.ksh oder env.csh in /home/fjv/OpenCASCADE/ros)?

That's the part of the configure script, that handels --with-cascade-dir:
# Check whether --with-cascade-dir or --without-cascade-dir was given.
if test "${with_cascade_dir+set}" = set; then
withval="$with_cascade_dir"
ac_occ_includes="$withval"/inc
ac_occ_libraries="$withval"/$ac_station/lib
ac_occ_bindir="$withval"/$ac_station/bin
CASROOT="$withval"

fi

I think, if you want to use it, you have to set it to /home/fjv/OpenCASCADE/ros.

vetter's picture

Jan-

Thank you for the helpful reply.

Sourcing env.csh sets the needed environment variables, and the
tutorial builds properly

Thanks again,

Fred Vetter