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

Jed Brown jed at 59A2.org
Wed Apr 13 10:46:15 CDT 2011


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/51ffae1f/attachment.htm>


More information about the cgma-dev mailing list