delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/12/09/14:40:02

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:mime-version:date:message-id:subject:from:to
:content-type; q=dns; s=default; b=CjMIjVDL1O5j0lai7ys/UqbPeZTff
39H84zsvWx7a98EYXlyjbyfTGC/7aQxWY74DGPaicwEMqnPSn9QRPGzZz+ojwOBg
cdqdz8btZuoiVLJcs2af+mSHsuovyiPwb2NhjFtC3Agjvj7nfCiunbeBkMEQRIew
Ubn4m68LZU9tww=
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:mime-version:date:message-id:subject:from:to
:content-type; s=default; bh=pTJInjt+PwlO14fwVhwY3V6drVo=; b=aff
SIkgZ/gSqvWyj7euL3XaZDsLJoKYGqkebewe/O5IBrMhbNjM9CTA45iMAYuDmGim
kRhjKlAEwOd3QffoEzhkGe4d7pWmpCiyDYn8/rUao10ut0PDrVSfbpIoTUQcO/uO
JX1z7ne4rhs5X6RBY3BWtfuy+LuL4fdSfcatGbxc=
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=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wm0-f42.google.com
MIME-Version: 1.0
X-Received: by 10.28.228.214 with SMTP id b205mr14268729wmh.46.1449689982961; Wed, 09 Dec 2015 11:39:42 -0800 (PST)
Date: Wed, 9 Dec 2015 20:39:42 +0100
Message-ID: <CA+Ei1OcnP5GHCz3=cHKd9AK71O25F0BgvjGanVJ5VQNpzUEfPQ@mail.gmail.com>
Subject: direct.h
From: Martin Landa <landa DOT martin AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

Hi,

I am trying to build GRASS GIS Windows package as I already described
[1]. Beside mingr32-w64 toolchain I am trying to compile GRASS also
using cygwin toolchain. On cygwin toolchain I have problem with
missing direct.h header which is required by one of GRASS's
dependencies:

/cygdrive/c/OSGeo4W64/include/cpl_port.h:169:22: fatal error:
direct.h: No such file or directory
 #  include <direct.h>
                      ^
compilation terminated.
configure: failed program was:
#line 6111 "configure"
#include "confdefs.h"
#include <gdal.h>
int main() {
GDALOpen("foo", GA_ReadOnly);
; return 0; }

Is it possible to solve this issue without switching to mingw32-w64
toolchain (problems described [1])?

I am also not sure what will be difference between binaries compiled
using cygwin and mingw32-w64 toolchain except of dependencies (like
cygwin1.dll). MinGW32-w64 should produce native windows application,
but what does it mean exactly?

Thanks, Martin

[1] https://cygwin.com/ml/cygwin/2015-12/msg00118.html

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

--
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