<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Le 30/07/2019 à 19:52, James Richters a
      écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:27ba01d546ff$95d162f0$c17428d0$@productionautomation.net">libusb.pas(1350)
      Warning: Library c.dll not found, Linking may fail ! ■ </blockquote>
    <p>As stated in <a class="moz-txt-link-freetext"
        href="https://github.com/hansiglaser/pas-libusb/issues/4"
        moz-do-not-send="true">https://github.com/hansiglaser/pas-libusb/issues/4</a></p>
    <p>it's very likely you'll have to change<br>
    </p>
    <pre class="moz-quote-pre" wrap=""><code>{$LINKLIB c}

into
</code><code><code>
  {$linklib msvcrt}
(and you'll need to have a msvcrt.dll in your path, there are different versions of msvcrt, like msvcrt20.dll, I don't know exactly which one you will need)

Under linux, when the compiler finds </code></code><code><code><code>{$LINKLIB c}</code>, it will look for something like "libc.so" (the runtime dll) and "libc.a" (file with infos for compilation and link).

</code></code></pre>
    <div class="moz-cite-prefix">Le 30/07/2019 à 19:52, James Richters a
      écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:27ba01d546ff$95d162f0$c17428d0$@productionautomation.net">libusb.pas(1350)
      Warning: Library usb-1.0 not found, Linking may fail !</blockquote>
    <p> Did you install the windows version of libusb ?</p>
    <p>It seems to be at <a class="moz-txt-link-freetext"
        href="https://libusb.info/" moz-do-not-send="true">https://libusb.info/</a></p>
    <p>I think you'll have to change  <br>
    </p>
    <pre><code>{$LINKLIB usb-1.0}
into something like
</code><code>{$LINKLIB libusb-1.0}
and </code><code>libusb-1.0</code>.dll and <code>libusb-1.0</code>.lib should be accessible on your path.

Some unix libraries are available <code></code><code></code>through distributions such MinGW (<a class="moz-txt-link-freetext" href="http://www.mingw.org/" moz-do-not-send="true">http://www.mingw.org/</a>)
It seems libusb is available under windows (libusb-1.0.22.7z) with four different compilations:
-MinGW 32 bits (I imagine it uses the libc from mingw, the glibc I suppose)
-MinGW 64 bits
-MS32 I think it's compiled with Microsoft Visual Studio/ Microsoft Visual C++ and use the MSVCRT dll
-MS64 the same in 64 bits architecture.</pre>
    <br>
  </body>
</html>