Using OCCBROWSE on NT/2000/XP
Updated for Open CASCADE 5.1 and OCCBROWSE 0.4 on Oct 18 2003

1. Install Cygwin

First you need to install Cygwin. The easiest way to do this is use the automatic internet installer

In addition to the minimal default install, occbrowse requires the Apache, Perl, and textutils. Also, tar, and gzip will be required for unpacking stuff. packages. Make sure they are selected. Go ahead and pick more stuff wget, gcc, binutils, make, XFree86, anything and everything you want to maximize the usefulness of Cygwin for you.

2. Install/Update Open CASCADE and add Autoconf build scripts

Open CASCADE needs to be installed including all the source and header files. As an OCCBROWSE user, you won't be needing the class browser :D . It takes forever to install anyway, so please feel free to skip that.

OCCBROWSE works in part by parsing the Makefile.am files used to build the Open CASCADE toolkits.

In the windows distribution of Open CASCADE, these files are not provided.

The autoconf build tools are packaged in the file OCC_Make.tar.gz which is found in the /unix/etc directory of the UNIX distribution of Open CASCADE.

The autoconf build scripts have a relative directory path of "ros/adm/make". For installing these scripts, we need to be at the same directory level as the "ros" directory in your installation.

As an example, say Open CASCADE is installed in F:\OCC51 ( this directory contains the "ros" directory) while the packages OCC_Make.tar.gz and occbrowse-0.4.tar.gz are in C:\TEMP.

Using the newly installed Cygwin shell:

  • cd /cygdrive/f/OCC51
  • tar xvfz /cygdrive/c/TEMP/OCC_Make.tar.gz
  • 3. Install OCCBROWSE

  • tar xvfz /cygdrive/c/TEMP/occbrowse-0.4.tar.gz
  • cd occbrowse-0.4
  • cp occbrowse.pl /var/www/cgi-bin
  • chmod +x /var/www/cgi-bin/occbrowse.pl

    4. Start Apache

  • /usr/sbin/apachectl start

    5. Test it out

    In a web browser, try this address:

  • http://localhost/cgi-bin/occbrowse.pl

    Have a great day !

    Back to OCCBROWSE