LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-05-2015, 12:12 AM   #16
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,838

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308

glad to help you.
if you really want to say thanks just press YES. Also if your problem is now solved please mark the thread as solved.
And some comments:
-Wall is used to force the compiler to give more warnings about possible problems, but will not influence the result. You need to take care about those warnings.
use:
Code:
#include <stdio.h>
#include "libusb-1.0/libusb.h"
the first one is a system include, the second is not, so that's why you need to use <> and "".
The order of the options sometimes important, so in general move -L<path> -l<lib> at the end of the command.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] linking to XInput2.h fails serafean Programming 5 10-05-2010 04:21 PM
[SOLVED] ubuntu 9.10 - #include <libusb/libusb.h> stonehinge03 Linux - Newbie 5 04-20-2010 09:02 AM
usb.h in Eclipse -Fedora 10 /usr/lib/libusb-0.1.so.4.4.4 & dlltool not linking ddeeks Programming 4 05-12-2009 09:19 AM
[SOLVED] Python-2.5 Build Fails; Illegal Instruction Linking Modules weibullguy Linux - Software 1 10-30-2007 01:46 PM
Problem in using both load time linking and runtime linking durgaprasad_j Linux - General 0 08-01-2006 03:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration