root/cgm/trunk/README.OCC

Revision 2473, 2.9 KB (checked in by janehu, 12 months ago)

First version for read me for CGM on OCC.

Line 
1=====================================
2Read Me for CGM on OCC
3=====================================
4
5CGM can be built upon the ACIS solid modeling engine or OCC solid
6modeling engine, but also includes geometry capability developed
7beside and on top of them. 
8CGM is supported on Sun Solaris, SGI, HP, Linux and Windows NT
9platforms. CGM also includes support for loading OCC
10models on parallel computers. 
11CGM is being released into the public domain under an LGPL license;
12the OCC-based engine is available from Opencascade open source downloads.
13
14=====================================
15Build OCC-based engine
16=====================================
17
18Go to http://www.opencascade.org/getocc/download/loadocc/ and get
19desired source files.
20
21Untar the files, then under OpenCASCADE6.3.0/ros directory, to
22autoreconf -fi
23./configure (Add --prefix=dir for your install directory)
24make
25make install
26
27=====================================
28Dependencies
29=====================================
30
31CGM can be built using the CMake utility, which is "an extensible,
32open-source system that manages the build process in an operating
33system and compiler independent manner", or (on *NIX) using a
34configure-make system.  Cmake is available under an open source
35license, and can be downloaded in binary or source formats; see
36http://www.cmake.org for details.
37
38=====================================
39Compiling
40=====================================
41
421. Unpack the source code in some directory CGM_DIR, and change
43directory into CGM_DIR.
442a. Run cmake in that directory, using either the non-interactive
45("cmake .") or interactive ("ccmake .") version, OR
462b. Run "./configure" in that directory, optionally specifying where
47ACIS libraries are located and other options (run "./configure -h" for
48a list of options).
493. Make the CGM libraries by typing "make".
504. Install the CGM libraries by typing "make install" (this installs
51the libraries to the location specified by the --prefix option to
52configure, or to /usr/local by default).
535. Test the installation using "make test".
54
55=====================================
56Documentation, Testing, Example Applications
57=====================================
58
59Documentation for CGM is available from the CGM web page,
60http://cubit.sandia.gov/CGM.
61
62Example applications are included with the CGM distribution in the
63"test" subdirectory.  Examples include importing and querying solid
64model-based geometry, and constructing OCC-based geometry.  If you
65are interested in contributing examples to be included with CGM, we
66would welcome submissions; please send them to the email address
67below.
68
69=====================================
70Bugs, Correspondence, Contributing
71=====================================
72
73CGM on OCC code is now in alpha testing stage, we encourage users to
74submit bug reports (and, if desired, fixes) to cgma-dev@mcs.anl.gov .
75
76=====================================
77Updates
78=====================================
79
80This is the first version of the file
Note: See TracBrowser for help on using the browser.