delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/04/11/15:26:35

X-Spam-Check-By: sourceware.org
X-ME-UUID: 20070411192555694 DOT A97B7700009E AT mwinf6107 DOT orange DOT nl
From: "Maurits Kooiman" <m DOT w DOT kooiman AT hccnet DOT nl>
To: <cygwin AT cygwin DOT com>
Subject: 1.5.24-2: libusb-win32
Date: Wed, 11 Apr 2007 21:25:46 +0200
Message-ID: <000001c77c6f$34c4b830$0d01a8c0@MAURITSHULPJE>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l3BJQIAK024551

Dear Reader,

I used your libusb-win32 (the testlibusb worked).
mine linker couldn’t find the usb functions. 

Do you have any idea where to look?

Regards 
Maurits Kooiman

Result of the make-file:


make -k all 
Building file: ../main.cpp
Invoking: GCC C++ Compiler
g++ -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"main.d" -MT"main.d"
-o"main.o" "../main.cpp"
Finished building: ../main.cpp
 
Building target: NXTinterface.exe
Invoking: GCC C++ Linker
g++  -o"NXTinterface.exe"  ./main.o   
./main.o:main.cpp:(.text+0xe1): undefined reference to `_usb_init'
./main.o:main.cpp:(.text+0xe6): undefined reference to `_usb_find_busses'
./main.o:main.cpp:(.text+0xeb): undefined reference to `_usb_find_devices'
./main.o:main.cpp:(.text+0xf0): undefined reference to `_usb_get_busses'
./main.o:main.cpp:(.text+0xf5): undefined reference to `_usb_get_busses'
collect2: ld returned 1 exit status
make: *** [NXTinterface.exe] Error 1
make: Target `all' not remade because of errors.
Build complete for project NXTinterface





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019