Linux Compile Problems: /inc/ instead of /include/ + INSTALL_DIR variable is empty

Using the latest OpenCascade-6.9.1, on Linux 64-bit Slackware 14.1

  • Compiling using build_configure script, include files are placed in /usr/inc/ , which does NOT exist on Linux systems (as far as I can tell), and nothing can find it or even look there. This should be /usr/include/ so that other programs may find the include files.
  • Compiling by making a build directory and running cmake .. leads to an error:

CMake Error at CMakeLists.txt:212 (message):
  INSTALL_DIR variable is empty.  It's required to define installation
  directory

Mustafa Parlaktuna's picture

You can use ccmake to set INSTALL_DIR variable.