본문 바로가기
Development Solutions/Library & Framework

[Libusb] how to apply and use libusb library (libusb 라이브러리 적용, 사용 방법)

by Dev Diary Hub 2022. 8. 22.
반응형

[libusb]

how to use libusb library

(libusb 라이브러리 사용 방법)

 

 

 

(추천) Qt QML과 C++로 시작하는 크로스플랫폼 앱 개발 강의 - 입문편

https://inf.run/3XmSH

 

Qt QML과 C++로 시작하는 크로스플랫폼 앱 개발 - 입문편 강의 - 인프런

Qt QML과 C++를 사용하여 크로스플랫폼 애플리케이션 개발에 입문할 수 있습니다. 해당 강의에서는 윈도우 응용 프로그램 타겟으로 개발을 진행합니다., 강의 주제 📖 이 강의를 통해 참가자들은

www.inflearn.com

 

 

 

libusb는 USB 디바이스에 접근할 수 있게 도와주는

윈도우, 맥, 리눅스, 안드로이드 등에서 사용 가능한 멀티플랫폼 라이브러리이다.

 

 

step 1

 

libusb 공식 웹사이트에서 거의 웬만한 것이 설명되어있다.

 

(libusb helps you access USB devices

It is a multi-platform library available in Windows, Mac, Linux, and Android.

Almost everything is explained on the libusb official website.)

 

libusb라이브러리 공식 웹사이트
(libusb library official website)

 

https://libusb.info/

 

libusb

Overview libusb is a C library that provides generic access to USB devices. It is intended to be used by developers to facilitate the production of applications that communicate with USB hardware. It is portable: Using a single cross-platform API, it provi

libusb.info

 

step 2

 

 

프로젝트에 적용하기 위한 dll, lib 등의 바이너리는 아래에서 다운로드 받을 수 있다.

공식주소이므로 걱정하지 않아도 된다. 만약 다운로드가 안된다면 위의 libusb 사이트에서 다운로드할 수 있으니 참고바란다.

(Binaries such as dll and lib for application to projects can be downloaded below.

It's an official address, so you don't have to worry. If you can't download it, you can download it from the libus site above, so please refer to it.)

 

https://github.com/libusb/libusb/releases/download/v1.0.26/libusb-1.0.26-binaries.7z

 

반응형

 

step 3

 

 

그 외에 libusb의 소스코드나 위키, FAQ를 보고자 한다면 아래의 libusb GitHub사이트를 참고하자.

(In addition, if you want to see the source code, wiki, or FAQs of libusb, please refer to the libusb GitHub site below.)

 

libusb 라이브러리 깃헙 주소
(libusb library githip address)

 

https://github.com/libusb/libusb

 

GitHub - libusb/libusb: A cross-platform library to access USB devices

A cross-platform library to access USB devices . Contribute to libusb/libusb development by creating an account on GitHub.

github.com

 

 

step 4

 

 

libusb를 프로젝트에 적용한 뒤에는 아래의 사용 예제 코드를 활용하면 된다.

시간이 없다면 testlibusb.c 부터 보는 것을 추천한다.

웬만한 USB기기로의 접근 코드는 다 있으니 프로젝트에 활용하기 좋다.

(After applying libusb to the project, you can use the example code below.

If you don't have time, I recommend you to watch from testlibusb.c.

There are all access codes to most USB devices, so they are good for use in projects.)

 

libusb 라이브러리 사용 예제 코드
(Example code for using libusb library)

 

 

https://github.com/libusb/libusb/tree/master/examples

 

GitHub - libusb/libusb: A cross-platform library to access USB devices

A cross-platform library to access USB devices . Contribute to libusb/libusb development by creating an account on GitHub.

github.com

 

(추천) Qt QML과 C++로 시작하는 크로스플랫폼 앱 개발 강의 - 입문편

https://inf.run/3XmSH

 

Qt QML과 C++로 시작하는 크로스플랫폼 앱 개발 - 입문편 강의 - 인프런

Qt QML과 C++를 사용하여 크로스플랫폼 애플리케이션 개발에 입문할 수 있습니다. 해당 강의에서는 윈도우 응용 프로그램 타겟으로 개발을 진행합니다., 강의 주제 📖 이 강의를 통해 참가자들은

www.inflearn.com

 

반응형