Author Topic: Code Blocks & libusb*  (Read 3988 times)

Codefreak

  • Guest
Code Blocks & libusb*
« on: October 24, 2017, 11:34:20 am »
Dear friends
Hope everything is going well.
I'm beginner in coding. I'v been recently working on a project that transmits data trough USB.
I should use libusb (libusb.info). I don't know which downloaded files of "libusb-1.0.21.tar" should be added to the project and how should I include them to my main code.
It would be greatly appreciated if you could help me.
« Last Edit: October 24, 2017, 01:59:43 pm by Codefreak »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: Code Blocks & libusb*
« Reply #1 on: October 24, 2017, 03:29:46 pm »
http://forums.codeblocks.org/index.php/topic,9996.0.html

Edit: I suggest you find a website that supports your Compiler.
And, read the CB Wiki page and try to post a CB Question.

http://wiki.codeblocks.org/index.php/User_documentation

Edit2: http://wiki.codeblocks.org/index.php/Creating_a_new_project#Adding_a_pre-existing_file

Tim S.
« Last Edit: October 24, 2017, 04:24:14 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline sodev

  • Regular
  • ***
  • Posts: 497
Re: Code Blocks & libusb*
« Reply #2 on: October 24, 2017, 04:52:13 pm »
None. You either use a precompiled library or build it with the build system the library uses which is not CodeBlocks. And then you add the build library as a library to your CodeBlocks project.