<div dir="ltr">Iulian, Jed<div><br></div><div>I double checked my build of occ on CGM trunk, it's working fine. I found that my LD_LIBRARY_PATH has /home/jhu/occ660/build/lib which is the library path. That's why I didn't see this error.</div>
<div><br></div><div>CGM_EXT_LDFLAGS is the correct one to add occ library path as well as other libraries, I will check in the patch soon, it should solve Jed's problem.<br></div><div><br></div><div>Please let us know if it still bother you.</div>
<div><br></div><div>Jane</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Dec 1, 2013 at 12:05 PM, Iulian Grindeanu <span dir="ltr"><<a href="mailto:iulian@mcs.anl.gov" target="_blank">iulian@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:times new roman,new york,times,serif">Thanks Jed,<br><br>Jane, please review this patch. Did you compile cgm trunk against OpenCascade ?<br>
On my laptop (ubuntu 12.04), I need something like this. Maybe I am adding too much, maybe only occ lib path should be added, we have a variable OCC_LIB_FLAG, that usually is defined with -L/path/to/occ/lib, after configuration.<br>
<br>Thanks,<br>Iulian<br><br><br><br><hr><div><div class="h5"><blockquote style="padding-left:5px;font-size:12pt;font-style:normal;margin-left:5px;font-family:Helvetica,Arial,sans-serif;text-decoration:none;font-weight:normal;border-left:2px solid #1010ff">
Iulian Grindeanu <<a href="mailto:iulian@mcs.anl.gov" target="_blank">iulian@mcs.anl.gov</a>> writes:<br>> We recommend using the LD_LIBRARY_PATH;<br><br>LD_LIBRARY_PATH is irrelevant at build time.  It is an alternative to<br>
setting RPATH in the build (-Wl,-rpath,/path/to/opencascade/lib with a<br>gcc-style toolchain), but not an alternative to a library path<br>(-L/path/to/opencascade/lib).  LIBRARY_PATH is formally an alternative<br>to -L, but it is almost never used.  Depending on environment variables<br>
to locate libraries is fragile as hell, and totally non-standard for<br>autotools builds.<br><br>> (I know many hate it, especially because of interaction with<br>> autotools). Do you recommend a better solution? <br>
<br>Pass -L/path/to/opencascade/lib.<br></blockquote><br></div></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Jane Hu<br>
<br>
Asst. Researcher<br>
Dept. of Engineering Physics<br>
UW @ Madison<br>
<br>
"And we know that for those who love God, that is, for those who are 
called according to his purpose, all things are working together for 
good." (Romans 8:28)
</div>