Re: [cgma-dev] Fwd: [PATCH] API and linking changes for OpenCascade-6.5.0
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 <[email protected]> wrote: From: Jed Brown <[email protected]> Subject: Re: [cgma-dev] Fwd: [PATCH] API and linking changes for OpenCascade-6.5.0 To: "Jason Kraftcheck" <[email protected]> Cc: [email protected], "Jiangtao Hu" <[email protected]> Date: Wednesday, April 13, 2011, 11:46 AM On Wed, Apr 13, 2011 at 17:42, Jason Kraftcheck <[email protected]> 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"
participants (1)
-
Jiangtao Hu