[cgma-dev] Opencascade directory missing from link line
Iulian Grindeanu
iulian at mcs.anl.gov
Sun Dec 1 12:05:00 CST 2013
Thanks Jed,
Jane, please review this patch. Did you compile cgm trunk against OpenCascade ?
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.
Thanks,
Iulian
----- Original Message -----
| Iulian Grindeanu <iulian at mcs.anl.gov> writes:
| > We recommend using the LD_LIBRARY_PATH;
| LD_LIBRARY_PATH is irrelevant at build time. It is an alternative to
| setting RPATH in the build (-Wl,-rpath,/path/to/opencascade/lib with
| a
| gcc-style toolchain), but not an alternative to a library path
| (-L/path/to/opencascade/lib). LIBRARY_PATH is formally an alternative
| to -L, but it is almost never used. Depending on environment
| variables
| to locate libraries is fragile as hell, and totally non-standard for
| autotools builds.
| > (I know many hate it, especially because of interaction with
| > autotools). Do you recommend a better solution?
| Pass -L/path/to/opencascade/lib.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/cgma-dev/attachments/20131201/cb1c81d8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_1201
Type: text/x-patch
Size: 1306 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/cgma-dev/attachments/20131201/cb1c81d8/attachment.bin>
More information about the cgma-dev
mailing list