<div dir="ltr">On Thu, May 30, 2013 at 3:15 AM, Kees Bleijenberg <span dir="ltr">&lt;<a href="mailto:k.bleijenberg@lijbrandt.nl" target="_blank">k.bleijenberg@lijbrandt.nl</a>&gt;</span> wrote:<br><div class="gmail_extra">
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">argument. The dll is in the PATH. I don&#39;t understand why it needs the -L argument. I&#39;ll figure this out later. If I use -lglasPng.dll (additional .dll) it doesn&#39;t work either.<br>
</blockquote><div><br></div><div style>Unix has standard places to install and search for libraries; Windows doesn&#39;t, and almost every library that doesn&#39;t come with your build system will need at least one -L option to tell the linker where to find it.</div>
<div style><br></div><div style>As I mentioned in my first message, it looks for multiple file names with -l: first it tries a .dll, then it tries a .lib (static library or import library for older DLLs). It does this mechanically; if you also include the .dll suffix, then it looks for library.dll.dll and library.dll.lib, which is almost certainly wrong.</div>
<div><br></div></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div>
<div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div>
</div></div>