[cgma-dev] r6036 - cgm/trunk
janehu at mcs.anl.gov
janehu at mcs.anl.gov
Wed Apr 3 12:40:39 CDT 2013
Author: janehu
Date: 2013-04-03 12:40:39 -0500 (Wed, 03 Apr 2013)
New Revision: 6036
Modified:
cgm/trunk/README.OCC
Log:
Changed the document for building opencascase6.5.4, since it's pretty painful to get everything straightened.
Modified: cgm/trunk/README.OCC
===================================================================
--- cgm/trunk/README.OCC 2013-04-03 17:20:14 UTC (rev 6035)
+++ cgm/trunk/README.OCC 2013-04-03 17:40:39 UTC (rev 6036)
@@ -18,19 +18,25 @@
Go to http://www.opencascade.org/getocc/download/loadocc/ and get
desired source files.
-Untar the files. Change directory to OpenCASCADE6.3.0.
-Patch OCC by doing:
+Untar the files. Change directory to OpenCASCADE6.5.4.
+Patch OCC under ros directory by doing:
- patch -p0 <cgm_source>/geom/OCC/occ_patches
+ patch -p1 < <cgm_source>/geom/OCC/occ_patches_6.5.4
+ patch -p0 < <cgm_source>/geom/OCC/occ654_configure.ac.patch
This will update the OCC distribution.
-Change directories to ros. Build OCC by doing:
+Build OCC by doing:
autoreconf -fi
- ./configure (Add --prefix=dir for your install directory)
+ ./configure (Add --prefix=dir for your install directory) --with-tcl=dir for tcl/lib --with-tk=dir for tk/lib --with-freetype=dir for ft --with-ftgl=dir for ftgl --enable-shared=yes
make
make install
+Here tcl and tk are in version 8.5.13, freetype is in version 2.4.10 and ftgl isin version 2.1.3.
+Configures for tcl, tk and freetype are simple forms, give only --prefix directory.
+Configure for ftgl needs following:
+./configure --enable-shared=yes --with-ft-prefix=dir for freetype --prefix= --with-gl-inc=dir for OpenGL include files --with-gl-lib=dir for OpenGL lib --with-glut-inc=dir for glut include files --with-glut-libraries=dir for glut lib
+
=====================================
Dependencies
=====================================
More information about the cgma-dev
mailing list