<div dir="ltr">Does your example still works if you replace this line:<div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">target_link_libraries(app ${CMAKE_CURRENT_LIST_DIR}/../</span><span style="font-family:arial,sans-serif;font-size:13px">lib/liblib.dylib)</span><br>
</div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">by this one:</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">target_link_libraries(app l</span><span style="font-family:arial,sans-serif;font-size:13px">ib)</span><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">?</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Thank you.</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">-Laurent</span></div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Wed, Sep 4, 2013 at 1:18 PM, Clinton Stimpson <span dir="ltr">&lt;<a href="mailto:clinton@elemtech.com" target="_blank">clinton@elemtech.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Wednesday, September 04, 2013 12:48:41 PM Laurent Chauvin wrote:<br>
&gt; Yes I&#39;m using 2.8.12-rc2 for the library and the example.<br>
&gt;<br>
&gt; But my example is not in the same directory as my library.<br>
<br>
</div>Neither was my example.<br>
<div class="im"><br>
&gt;<br>
&gt; I can see in your example you specify the full path in<br>
&gt; target_link_libraries of your library, which I could probably do.<br>
&gt;<br>
&gt; The problem is, if later on my library I want to put the .dyld not in<br>
&gt; MyLib/lib but MyLib/testLib, then I will have (or users) to modify all<br>
&gt; their CMakeLists to modify path of the library.<br>
&gt; That&#39;s why I would like not to have to hardcode the library path into my<br>
&gt; example.<br>
<br>
</div>Of course the users shouldn&#39;t hard code it.  My example was simply<br>
demonstrating the solution to the problem of locating the shared library at<br>
runtime, which works in 2.8.12-rc2, without setting DYLD_LIBRARY_PATH.<br>
<br>
Really, this problem/solution for finding the .dylib at runtime has nothing to<br>
do with whether your target_link_libraries() has a full path or not.  Or<br>
whether you are using LINK_DIRECTORIES or not.<br>
I just tested with full path vs. LINK_DIRECTORIES, and it makes no difference<br>
to whether the library can be found at runtime.<br>
<br>
As an aside, I&#39;m encouraging you to not use LINK_DIRECTORIES.<br>
<br>
Clint<br>
<div class="im"><br>
&gt;<br>
&gt; I&#39;m using find_package to find my library, and include the use file, which<br>
&gt; define the include_directories and link_directories.<br>
&gt;<br>
&gt; I also checked the INSTALL(EXPORT ..), here<br>
&gt; <a href="http://www.cmake.org/Wiki/CMake/Tutorials/How_to_create_a_ProjectConfig.cmak" target="_blank">http://www.cmake.org/Wiki/CMake/Tutorials/How_to_create_a_ProjectConfig.cmak</a><br>
</div>&gt; e_file but I don&#39;t understand what it&#39;s doing and how it works.<br>
<div class="HOEnZb"><div class="h5">&gt;<br>
&gt; Thank you.<br>
&gt; -Laurent<br>
&gt;<br>
&gt; On Wed, Sep 4, 2013 at 12:26 PM, Clinton Stimpson<br>
&lt;<a href="mailto:clinton@elemtech.com">clinton@elemtech.com</a>&gt;wrote:<br>
&gt; &gt; On Wednesday, September 04, 2013 12:02:55 PM Laurent Chauvin wrote:<br>
&gt; &gt; &gt; Thank you for you help Clint.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I actually relinked, but as you said I still had the LINK_DIRECTORIES.<br>
&gt; &gt; &gt; However, if I remove it, I have a linking error telling me it cannot<br>
&gt; &gt; &gt; find<br>
&gt; &gt; &gt; the library.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Should I keep the library in Target_Link_Libraries, or with new flags,<br>
&gt; &gt; &gt; dependency will automatically find the library ?<br>
&gt; &gt;<br>
&gt; &gt; You can leave your LINK_DIRECTORIES as its not the cause of your runtime<br>
&gt; &gt; failure to find the library.<br>
&gt; &gt;<br>
&gt; &gt; For compiling MyExample, did you also use CMake 2.8.12 RC?<br>
&gt; &gt;<br>
&gt; &gt; Here&#39;s a minimal example that works for me.<br>
&gt; &gt;<br>
&gt; &gt; -- lib/CMakeLists.txt<br>
&gt; &gt; set(CMAKE_MACOSX_RPATH 1)<br>
&gt; &gt; add_library(lib SHARED lib.cpp)<br>
&gt; &gt;<br>
&gt; &gt; -- app/CMakeLists.txt<br>
&gt; &gt; add_executable(app app.cpp)<br>
&gt; &gt; target_link_libraries(app ${CMAKE_CURRENT_LIST_DIR}/../lib/liblib.dylib)<br>
&gt; &gt;<br>
&gt; &gt; In lib/<br>
&gt; &gt; I run &quot;cmake . &amp;&amp; make&quot;<br>
&gt; &gt;<br>
&gt; &gt; In app/<br>
&gt; &gt; I run &quot;cmake . &amp;&amp; make &amp;&amp; ./app&quot;<br>
&gt; &gt;<br>
&gt; &gt; With 2.8.12, it works.<br>
&gt; &gt;<br>
&gt; &gt; With an older version, I get<br>
&gt; &gt; dyld: Library not loaded: @rpath/liblib.dylib<br>
&gt; &gt;<br>
&gt; &gt;   Referenced from: ..../app<br>
&gt; &gt;   Reason: image not found<br>
&gt; &gt;<br>
&gt; &gt; Trace/BPT trap<br>
&gt; &gt;<br>
&gt; &gt; Clint<br>
&gt; &gt;<br>
&gt; &gt; &gt; Thank you.<br>
&gt; &gt; &gt; -Laurent<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; On Wed, Sep 4, 2013 at 11:59 AM, Clinton Stimpson<br>
&gt; &gt;<br>
&gt; &gt; &lt;<a href="mailto:clinton@elemtech.com">clinton@elemtech.com</a>&gt;wrote:<br>
&gt; &gt; &gt; &gt; On Wednesday, September 04, 2013 11:53:45 AM Laurent Chauvin wrote:<br>
&gt; &gt; &gt; &gt; &gt; Hello,<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; I just tried to set the MACOSX_RPATH 1 in the top CMakeLists of<br>
&gt; &gt;<br>
&gt; &gt; MyLib,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; and<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; when I now do otool -L libMyLib.dyld, I can indeed see<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; @rpath/libMyLib.dyld.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; However, my executable &quot;MyExample&quot; is still not able to find the<br>
&gt; &gt;<br>
&gt; &gt; library<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; at<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; runtime. When I do otool -L MyExample, I still have libMyLib.dyld,<br>
&gt; &gt;<br>
&gt; &gt; not<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; @rpath/libMyLib.dyld.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Did you relink MyExamle against the new libMyLib.dylib?  CMake doesn&#39;t<br>
&gt; &gt; &gt; &gt; modify<br>
&gt; &gt; &gt; &gt; the install names of libraries being linked against, so if otool -L<br>
&gt; &gt; &gt; &gt; MyExample<br>
&gt; &gt; &gt; &gt; still gives &quot;libMyLib.dylib&quot;, I&#39;m assuming you didn&#39;t relink it.<br>
&gt; &gt;<br>
&gt; &gt;  Using a<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; cmake generated export file would take care of setting up dependencies<br>
&gt; &gt;<br>
&gt; &gt; so<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; the<br>
&gt; &gt; &gt; &gt; relink would happen simply by doing a make.  If you use<br>
&gt; &gt;<br>
&gt; &gt; LINK_DIRECTORIES,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; you<br>
&gt; &gt; &gt; &gt; miss the relink dependency.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Clint<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; And I have same error (Library not loaded, image not found) when<br>
&gt; &gt;<br>
&gt; &gt; trying<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; to<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; start the example.<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; Should I add something more (or remove something) from my CMakeLists<br>
&gt; &gt; &gt; &gt; &gt; example ?<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; I&#39;m sorry I&#39;m not really familiar with these mechanisms.<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; Thank you very much.<br>
&gt; &gt; &gt; &gt; &gt; -Laurent<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; On Wed, Sep 4, 2013 at 11:30 AM, Laurent Chauvin<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &lt;<a href="mailto:lchauvin@bwh.harvard.edu">lchauvin@bwh.harvard.edu</a>&gt;wrote:<br>
&gt; &gt; &gt; &gt; &gt; &gt; Thank you very much for your answer.<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; I will try to use the MACOSX_RPATH.<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; However, I have some questions. As the flag suggests, it&#39;s only<br>
&gt; &gt; &gt; &gt; &gt; &gt; for<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; mac.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; Is there anything similar for Linux (and eventually Windows<br>
&gt; &gt;<br>
&gt; &gt; systems) ?<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; Also, the problem to set the full path of the library is, if I<br>
&gt; &gt;<br>
&gt; &gt; compile<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; on<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; Windows the extension of library will be dll, on Mac it will be<br>
&gt; &gt;<br>
&gt; &gt; dyld,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; and<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; .a on linux.<br>
&gt; &gt; &gt; &gt; &gt; &gt; I could make a condition to set the extension at the end of the<br>
&gt; &gt;<br>
&gt; &gt; name<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; of<br>
&gt; &gt; &gt; &gt; &gt; &gt; the library like libMyLib.(dll, dyld, a) but, I feel like it&#39;s not<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; really<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; a<br>
&gt; &gt; &gt; &gt; &gt; &gt; clean way to do it.<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; Is there a better way to do it ?<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; Thank you very much.<br>
&gt; &gt; &gt; &gt; &gt; &gt; -Laurent<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; On Wed, Sep 4, 2013 at 10:57 AM, Clinton Stimpson<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &lt;<a href="mailto:clinton@elemtech.com">clinton@elemtech.com</a>&gt;wrote:<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; On Tuesday, September 03, 2013 09:47:45 PM Laurent Chauvin wrote:<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; Hello everyone,<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; I&#39;m working on a library, and I would like the users be able to<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; create<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; their<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; own program and liking to my library (by specifying path in<br>
&gt; &gt;<br>
&gt; &gt; cmake).<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; I created the library and an example to test it.<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; Everything compiles.<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; However, when I try to run my example I have this error:<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; MyExample:<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt;       libMyLib.1.dylib (compatibility version 1.0.0, current<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt;       version<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; 1.0.0)<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt;       /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0,<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; current<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; version<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; 56.0.0) /usr/lib/libSystem.B.dylib (compatibility version<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; 1.0.0,<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; current<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; version 169.3.0)<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; The problem is my example is not in the same directory as my<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; library<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; (not<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; even in a subdirectory). And it seems it&#39;s linking to my<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; library<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; with a<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; relative path.<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; If I add the path of my library in DYLD_LIBRARY_PATH it works,<br>
&gt; &gt;<br>
&gt; &gt; but<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; I<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; would<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; like the users to be able to compile and link straight forward.<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; To link the library to my example I use find_package(MyLib<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; REQUIRED)<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; and<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; include(${MyLib_USE_FILE}) which basically do a<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; LINK_DIRECTORIES<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; with<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; the<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; absolute path of the library.<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; Then I do add_executable and target_link_libraries(MyExample<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; ${MyLib_LIBRARIES})<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; Compilation is working fine. There is these options:<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; -L/Absolute/Path/To/MyLib -lMyLib<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; But at runtime, library cannot be found.<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; Would it be possible to put the full path of my library when<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; linking in<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; the<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; &gt; CMakeLists ?<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; You should use the full path to the library instead of<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; LINK_DIRECTORIES.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; Its easiest if you use install(EXPORT ...) to have CMake generate<br>
&gt; &gt;<br>
&gt; &gt; an<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; export<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; file for you that can be included by your FindMyLib.cmake file.<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; That export file will use the full path, and include any other<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; necessary<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; information about the library.<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; But to solve the problem of finding the library at runtime<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; (specifying a<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; full<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; path won&#39;t solve it), CMake 2.8.12 has a new feature to address<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; exactly<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; that<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; problem.  For details: <a href="http://www.kitware.com/blog/home/post/510" target="_blank">http://www.kitware.com/blog/home/post/510</a><br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; If you can use CMake 2.8.12, then you need to put<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt;  set(MACOSX_RPATH 1)<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; in the CMakeLists.txt of MyLib.<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; If the user is using 2.8.12, then any executable they compile<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; with<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; your<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; library will be able to find the library, no matter where it is.<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; By the way, 2.8.12 is in a release candidate stage right now, and<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; right<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; now<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; would be a good time for you to test the new feature that is<br>
&gt; &gt;<br>
&gt; &gt; meant to<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; solve<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; your problem.<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; Clint<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; --<br>
&gt; &gt; &gt; &gt; &gt; &gt; Laurent Chauvin, MS<br>
&gt; &gt; &gt; &gt; &gt; &gt; Surgical Navigation and Robotics Laboratory, Radiology Department<br>
&gt; &gt; &gt; &gt; &gt; &gt; Brigham And Women&#39;s Hospital, Harvard Medical School<br>
&gt; &gt; &gt; &gt; &gt; &gt; <a href="http://wiki.ncigt.org/index.php/User:Lchauvin" target="_blank">http://wiki.ncigt.org/index.php/User:Lchauvin</a><br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; --<br>
--<br>
</div></div><div class="HOEnZb"><div class="h5">Clinton Stimpson<br>
Elemental Technologies, Inc<br>
Computational Simulation Software, LLC<br>
<a href="http://www.csimsoft.com" target="_blank">www.csimsoft.com</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Laurent Chauvin, MS</div><div>Surgical Navigation and Robotics Laboratory, Radiology Department</div><div>Brigham And Women&#39;s Hospital, Harvard Medical School<br>
</div><div><a href="http://wiki.ncigt.org/index.php/User:Lchauvin" target="_blank">http://wiki.ncigt.org/index.php/User:Lchauvin</a></div></div>
</div>