Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2020-04

Lazarus's fpc 3.0.4 missing libusb package

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Dimitrios Chr. Ioannidis

Hi,

  I noticed that the fpc's package libusb doesn't exist in the official Lazarus install.

  Is it by design ?

regards,

Dimitrios Chr. Ioannidis

Reply by email

Sven Barth
to Dimitrios Chr. Ioannidis
Dimitrios Chr. Ioannidis wrote 6 lines
Hi,   I noticed that the fpc's package libusb doesn't exist in the official Lazarus install.   Is it by design ?

Yes, because libusb was only added during the lifetime of 3.1.1 after the release of 3.0.4. You should be able to use it with 3.0.4 if you change the LIBUSB_CALL macro at the top from "winapi" to "stdcall" for Windows.

Regards,
Sven

Reply by email