[cgma-dev] Fwd: [PATCH] API and linking changes for OpenCascade-6.5.0

Jiangtao Hu jiangtao_ma at yahoo.com
Wed Apr 13 12:29:28 CDT 2011


Hi, Jed

Words are that we are going to support both 6.3 and 6.5. So I've just checked in the code to make them compatible in CGM. OCC6.3 does have a TKCAF lib which when configured with it for OCC6.3, doesn't make conflicting to other includes. So configure can stay as you figured for 6.5.

Jane

--- On Wed, 4/13/11, Jed Brown <jed at 59A2.org> wrote:

From: Jed Brown <jed at 59A2.org>
Subject: Re: [cgma-dev] Fwd: [PATCH] API and linking changes for OpenCascade-6.5.0
To: "Jason Kraftcheck" <kraftche at cae.wisc.edu>
Cc: cgma-dev at mcs.anl.gov, "Jiangtao Hu" <jiangtao_ma at yahoo.com>
Date: Wednesday, April 13, 2011, 11:46 AM

On Wed, Apr 13, 2011 at 17:42, Jason Kraftcheck <kraftche at cae.wisc.edu> wrote:

Actually, we don't even need the configure logic.  Just use #ifdefs based on

the values defined on OCC's Standard_Version.hxx.
Linking is different:
diff --git a/configure.ac b/configure.ac
index 8994977..1e8a6a4 100644--- a/configure.ac+++ b/configure.ac@@ -354,7 +354,7 @@ HAVE_OCC_DEF= if test "x$occ_DIR" != "xno"; then
   OCC_CORE_LIBS="-lTKMesh -lTKTopAlgo -lTKGeomAlgo -lTKBRep -lTKGeomBase -lTKG3d -lTKG2d -lTKMath -lTKernel"   OCC_GEOM_LIBS="-lTKHLR -lTKOffset -lTKShHealing -lTKFillet -lTKFeat -lTKBool -lTKBO -lTKPrim"
-  OCC_LCAF_LIBS="-lTKBinL -lTKLCAF -lTKCDF"+  OCC_LCAF_LIBS="-lTKBinL -lTKLCAF -lTKCDF -lTKCAF"   OCC_LIBS="$OCC_LCAF_LIBS $OCC_GEOM_LIBS $OCC_CORE_LIBS"
   CUBIT_OCC_LIB="-lcubit_OCC"   OCC_STEP_LIBS="-lTKSTEP -lTKSTEP209 -lTKSTEPAttr -lTKSTEPBase -lTKXSBase"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/cgma-dev/attachments/20110413/1d14385e/attachment.htm>


More information about the cgma-dev mailing list