<div class="gmail_quote">On Thu, Feb 5, 2009 at 4:16 AM, ankit jain <span dir="ltr">&lt;<a href="mailto:ankitguddu@gmail.com">ankitguddu@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hi,</div>
<div>Actually iam linking an excutable to the libraries which is not in the curretn project meanas they are in other folder outside it.</div>
<div>&nbsp;</div>
<div>i am linking it using target link libraries by giving the entire path of the libraries but still it shows error .</div>
<div>&nbsp;</div>
<div>if I am missing something&nbsp;please tell me what else ned to be done.</div></blockquote><div><br>Ankin,<br><br>This way of doing things isn&#39;t optimal, but should work.&nbsp; Examine your call to target_link_libraries() in the CMakeLists.txt file, the relevant output when you run &quot;make VERBOSE=1&quot;, and a directory listing where the file is located.<br>
<br>Your problem is most likely an incorrect path to the library, inadequate linking (i.e. you need to link additional libraries to the target), or file permissions.<br></div></div><br>-- <br>Philip Lowman<br>