delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/05/28/16:13:50

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; q=dns; s=default; b=HSj
Y7JqippCF6SzcAWF/IhNPwzgnISUkboExQR3z+hEZmuB+U5mdEdNzXnS32AvCVY8
Ue+boxI5we/GcivJCFSCNvq2xkR+Taf9a8cr+zNWtnlw5zJ9usR163veEqpkqH2Y
3W4Si7JE/lXTweM/8smqABvzx8laJ62/D4IErXLA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; s=default; bh=/jmyhxVAx
gFT3JmqFsk41+bemf0=; b=pcmSV3JnHPYG5ueE5kt23gXsbCa0FhmYt+xaiwgxA
zNFN1HvfEVRp25lKtGoRPALto3StZq79MbP7V2vR6CrvZ5TNLrFkmqww/5oELihB
PlKwf8LLKSJpaMKy2GmQdz4ji9vLJcs0U++Kii/i+o1UXnNGm6izaXuhOy+fWpL7
ak=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-pa0-f45.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=Ea6u0rXlkkr4MQv9wBPea6qpXuCd3mYjOhQBYHVt2Eo=; b=K3P2R4tmtQwQ1laHV7dVG2qv4NXekP28J5Qq1xFsqm4x/HOpMpIhGQ41waNj28czDJ ofmCAvUN6o4K7uJnnjzD5eyOqmqr7CDu2O3tTP98NhpjXp/RCrkFERqqyE0WtHkOuIg5 VYrU8g5PLDUXQvzNKjzZe6YTmEJlGULXJpbQjST4THvApsJ2j/SZSTpoI2U1IE55EGeB kfO/WizEBREzUxddv1U9zXiY5IE4jnvcXyspmHAlsy/4HULMSg5cr0d8zPwg34PZTQyP qPg5cduthBKfVuDuPqcD4QciCIJxb6InSkVly7XeRsPLuvq357IOMgBR14bpN4d91ILC nyHw==
X-Gm-Message-State: ALoCoQnKA98B0wwJ/1/bcKNdMueLGZZ9IQARU5+uEbzRyaqxAD7E5BBx707NiZMYKJESKYyMqrIp
X-Received: by 10.68.239.70 with SMTP id vq6mr8591519pbc.157.1432844011364; Thu, 28 May 2015 13:13:31 -0700 (PDT)
Message-ID: <556776EE.2030906@omegacs.net>
Date: Thu, 28 May 2015 13:13:34 -0700
From: Erik Walthinsen <omega AT omegacs DOT net>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re-building stock libusb package?
X-IsSubscribed: yes

I'm working on a product that needs libusb to work in a cygwin process, 
but there's a problem.  The released version (1.0.19) doesn't support 
two very fundamental features: pollfds and hotplug.  I see strong 
indications that the current git version *does* have these features, so 
I was really hoping to try using it to see if I can avoid the extremely 
nasty (and still not working) tricks I'm having to devise.

The problem is, libusb doesn't build due to w32api headers referencing 
other headers that don't exist:

   CC       os/libusb_1_0_la-windows_usb.lo
In file included from /usr/include/w32api/setupapi.h:27:0,
                  from os/windows_usb.c:28:
/usr/include/w32api/oledlg.h:28:19: fatal error: tchar.h: No such file 
or directory

Even pulling the libusb source package with the cygwin installer doesn't 
result in any different behavior.  I've tried various headers packages 
(w32api, cygwin32-wapi, mingw-w32api) to no avail.

So, my question is: how does one simply rebuild the existing 1.0.19 
package?  I'm pretty sure I can take it from there as far as getting a 
git version to compile...

Thanks!

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

- Raw text -


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