delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/09/21/11:49:00

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:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; q=dns; s=default; b=MBgHKjT/QAfglEs9Z3lYeGMeGqS0
cGNVf6ywD6I4/yoqcuuTCwxDjtd49K/hn0SluOwyVPQdSukJNhHkbg1y/LsA/cN5
TMHnWd1ej1FRAMyvGP1Et4FfqkZqf/Md7OYynkofZizWzfROSR878+VnDvBpaEkZ
WYu5Yo0G1b20r8M=
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:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; s=default; bh=aL5Dhmhy+YHyJk7gK7CESMUqEio=; b=fx
onlQEfEq9BwLEh5/El944wQEJMa1k5t1tHkt2W9TL1/fQ+fIod7mTr/iQpMexDNE
dWGP09aj0FX5U5zB4rrilXEQeuaDP/UJwbuRYpEqErF5buPG6elUN+Avfi5qbDPW
VYGXHpfpeCMI9jeudcp6brS7wio8k7Ud6tnq/V0VA=
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_20,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: etr-usa.com
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\))
Subject: Re: cmake fails to run/build under Cygwin
From: Warren Young <wyml AT etr-usa DOT com>
In-Reply-To: <CAA3P5HMEWibqgdNXc4pazB1wdoBtxcDAbHrHQfHFBi5y925ZMA@mail.gmail.com>
Date: Mon, 21 Sep 2015 09:48:39 -0600
Message-Id: <D481F712-EC55-4A5C-998C-6EE5A5551B4F@etr-usa.com>
References: <CAA3P5HMEWibqgdNXc4pazB1wdoBtxcDAbHrHQfHFBi5y925ZMA AT mail DOT gmail DOT com>
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t8LFmuUZ021453

On Sep 21, 2015, at 5:10 AM, Nick Kennedy <dr DOT nick DOT kennedy AT gmail DOT com> wrote:
> 
> running 'cmake .’

What happens if you use a separate build directory instead?

    mkdir build
    cd build
    cmake ..

Are you trying to build something publicly-available, which we can all test?  I just built yasm via cmake under Cygwin 64 2.1.1 on Windows 10, and it worked just fine.

    http://yasm.tortall.net/

The resulting binary doesn’t run correctly for some kind of linking issue, but I don’t think that’s cmake’s fault.

Careful: yasm has both autotools and cmake based build systems.  I built it using the first set of commands above.
--
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