<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'><br>
<blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;"><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div id="DWT341" style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"><div style="font-size: 10pt; font-family: arial, helvetica, sans-serif; "><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><div id="yiv362014949">Hi, Rajeev:<br><br>It's good news that you are able to build OCC in Mac!<br><br>I saw this error before too in building CGM on OCC on Linux. However, it turned out to be a set up problem. Can you look at config.log, and check if it said that you are using the correctly OCC library? You have to set the LD_LIBRARY_PATH to include your new build directory.<br>
<br>Hope it helps.<br><br>Jane<br></div></div></div></blockquote><br></div></div></blockquote><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: arial,helvetica,sans-serif; font-size: 10pt;"><div id="DWT344" style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"><div style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"><div style="font-size: 12pt; font-family: 'times new roman','new york',times,serif;"><div><br><div id="DWT343" class="yiv362014949gmail_quote">On Fri, Feb 24, 2012 at 12:21 PM, Rajeev Jain <span dir="ltr"><<a rel="nofollow" target="_blank" href="mailto:jain@mcs.anl.gov">jain@mcs.anl.gov</a>></span> wrote:<br><blockquote class="yiv362014949gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"><div style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"><span>Thanks, James.</span></div><div style="font-size: 10pt; font-family: arial,helvetica,sans-serif;">
<span>I was able to build OCC. Did you get CGM to work?</span></div><div style="font-size: 10pt; font-family: arial,helvetica,sans-serif;">Configuring CGM I get this:</div><div><font>checking if OpenCascade requires -lpthread... configure: error: Cannot link libTKKernel with Standard_Mutex</font><br>
</div><div style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"> </div><div id="DWT342" style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"><font style="font-family: arial,helvetica,sans-serif;" size="2">Rajeev</font><br>
<br></div></div></div></blockquote><br></div></div></div></div></blockquote><br></div></div></blockquote>Hello,<br>It seems that for occ, you have to set the LD_LIBRARY_PATH to point to occ/lib installation. Otherwise, on cgm configure you get an error like this, reported by Rajeev on a mac too:<br>...<br>checking Standard_Version.hxx presence... yes<br>checking for Standard_Version.hxx... yes<br>checking for create_mailbox in -lTKernel... yes<br>checking if OpenCascade requires -lpthread... configure: error: Cannot link libTKKernel with Standard_Mutex<br><br>This is required also for the new occ builds on mcs workstations. On my laptop, I still get that, though, with occ651. It is working with occ652 that I built later. I will stick to 652, anyway.<br><br>Iulian<br><br><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: arial,helvetica,sans-serif; font-size: 10pt;"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"></div></div></blockquote></div></body></html>