<div class="gmail_quote">On Wed, Oct 7, 2009 at 6:38 PM, Dixon, Shane <span dir="ltr"><<a href="mailto:Shane.Dixon@atmel.com">Shane.Dixon@atmel.com</a>></span> wrote:<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">One note is that I’m using the MSVC compiler not gnu
so I had to run this in the GnuTLS folder:</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">C:\Program Files\GnuTLS-2.9.7\bin>lib
/def:libgnutls-26.def /nologo</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Per the instructions in GnuTLS. It generates a MSVC
compatible .lib in the /bin folder. Is that going to hose things having it in
the bin folder?</span></font></p></div></div></blockquote><div><br>Yes, it needs to be put in the lib/ folder for CMAKE_PREFIX_PATH to help find it. You could send a note/patch to the GnuTLS people to fix their documentation to have the user move the import library (.lib file) to "../lib" when done, or just run the lib tool from the lib directory.<br>
<br>The GnuTLS installer does put all of the MinGW libraries in lib/ where they belong so no problems there...<br><br>Also, in case you don't know, you can always show "advanced variables" in the cache editor and set the location of GNUTLS_LIBRARY manually, should CMake fail to auto-detect it.<br>
<br></div></div>-- <br>Philip Lowman<br>