<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi, Jed<br><br>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.<br><br>Jane<br><br>--- On <b>Wed, 4/13/11, Jed Brown <i><jed@59A2.org></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Jed Brown <jed@59A2.org><br>Subject: Re: [cgma-dev] Fwd: [PATCH] API and linking changes for OpenCascade-6.5.0<br>To: "Jason Kraftcheck" <kraftche@cae.wisc.edu><br>Cc: cgma-dev@mcs.anl.gov, "Jiangtao Hu" <jiangtao_ma@yahoo.com><br>Date: Wednesday, April 13, 2011, 11:46 AM<br><br><div id="yiv474845679"><div class="yiv474845679gmail_quote">On Wed, Apr
13, 2011 at 17:42, Jason Kraftcheck <span dir="ltr"><<a rel="nofollow" ymailto="mailto:kraftche@cae.wisc.edu" target="_blank" href="/mc/compose?to=kraftche@cae.wisc.edu">kraftche@cae.wisc.edu</a>></span> wrote:<br><blockquote class="yiv474845679gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>Actually, we don't even need the configure logic. Just use #ifdefs based on<br>
the values defined on OCC's Standard_Version.hxx.</div></blockquote></div><br><div>Linking is different:</div><div><br></div><div><div>diff --git a/<a rel="nofollow" target="_blank" href="http://configure.ac">configure.ac</a> b/<a rel="nofollow" target="_blank" href="http://configure.ac">configure.ac</a></div>
<div>index 8994977..1e8a6a4 100644</div><div>--- a/<a rel="nofollow" target="_blank" href="http://configure.ac">configure.ac</a></div><div>+++ b/<a rel="nofollow" target="_blank" href="http://configure.ac">configure.ac</a></div><div>@@ -354,7 +354,7 @@ HAVE_OCC_DEF=</div><div> if test "x$occ_DIR" != "xno"; then</div>
<div> OCC_CORE_LIBS="-lTKMesh -lTKTopAlgo -lTKGeomAlgo -lTKBRep -lTKGeomBase -lTKG3d -lTKG2d -lTKMath -lTKernel"</div><div> OCC_GEOM_LIBS="-lTKHLR -lTKOffset -lTKShHealing -lTKFillet -lTKFeat -lTKBool -lTKBO -lTKPrim"</div>
<div>- OCC_LCAF_LIBS="-lTKBinL -lTKLCAF -lTKCDF"</div><div>+ OCC_LCAF_LIBS="-lTKBinL -lTKLCAF -lTKCDF -lTKCAF"</div><div> OCC_LIBS="$OCC_LCAF_LIBS $OCC_GEOM_LIBS $OCC_CORE_LIBS"</div><div>
CUBIT_OCC_LIB="-lcubit_OCC"</div><div> OCC_STEP_LIBS="-lTKSTEP -lTKSTEP209 -lTKSTEPAttr -lTKSTEPBase -lTKXSBase"</div></div>
</div></blockquote></td></tr></table>