delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/07/26/03:48:20

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:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=Jv+GKGI
JyGPN+xZZ94gb8OHFXuPlTJBODBatzfuiL4iF3Yk7KQi88H2uOgob45R/6ZWNyQI
jCvdAlePxjDeRXIDmkGpH24H1eKExHlg/a46ob9a5pOg5Q10vP5U35PlyDPQD+uX
eclI5mi1WC6k4r+p0NW4QG17CJ4Np177k/Gc=
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:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=B7x+MyfMQ/R7F
KXS2noyF77a8HM=; b=rCx2mvxj6+E7yyGW6Id/vw7OXmoxJHQ4S8PZA8JVs1C8Z
Y0ZQAFWtWcRGzVhhQSvhPn+3nUBdVqvKlyU09Ss33W8JDK3YlpwSb7cqzsYGwq8b
ElENYyzxq0ojP3liwN8ps6eV2/o8WwDHTp1739u3l34RUQiq6FClomhT68/HLc=
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.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=gccs, gcc's, tao, Tao
X-HELO: mail-wm0-f41.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Tby0zN63n47365YFKu2clPUKckUSHFPCtw7Wx2gvk3M=; b=cs4FcuszfnJBMp/iwD3rF4OAT4d9kuM+BCY2vzec40XagyV/91YWCgAg8UW/OwdO0+ SoBbMarXGCVcdzU8irGRb6k8ETwJ2raZPVR7ePG4PlQw3yuQW4qNq739jEP+x/4mxjHK L481aIcIQ688vXRnIBRIfQtycFbObcTKy1yKEVcHUBNhQVSiIOUlWDoFIfaszP6l6f70 E3NdPpTLB3OjetlhhrJFJqjHPbe8L5RkTuHj787CAJ60A92YQ5PpKlqmsXw5J+dPwS23 FzEIWfpgbGLoIOJ+kcHV32hIG3g4bF7Defo4qeULuCUMoTdi/U1GDZnKRACTWHxf9Auu M+jA==
X-Gm-Message-State: AEkoouvHyWMZFetQATSHkH0LnH0oArq3dC4D9sseErbAn/EKvgs5kcW/CTa2DAvf/r9nS0gaI5jONY/IMlPeOA==
X-Received: by 10.194.221.134 with SMTP id qe6mr19335037wjc.165.1469519264663; Tue, 26 Jul 2016 00:47:44 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <00cd1dc9-e9bc-1ae0-4cbd-eb0a72c79e93@gmail.com>
References: <5796B2A7 DOT 8060002 AT molconn DOT com> <00cd1dc9-e9bc-1ae0-4cbd-eb0a72c79e93 AT gmail DOT com>
From: Csaba Raduly <rcsaba AT gmail DOT com>
Date: Tue, 26 Jul 2016 09:47:44 +0200
Message-ID: <CAEhDDbD_g+tD3PzW_qcUDA+Y-YB=HV07eWuCPy_ha0n4tE96GQ@mail.gmail.com>
Subject: Re: problem building with cmake under cygwin (need clang)
To: cygwin list <cygwin AT cygwin DOT com>

On Tue, Jul 26, 2016 at 8:16 AM, Marco Atzeri  wrote:
>
> On 26/07/2016 02:45, LMH wrote:
>>
>> Hello,
>>
>> I am trying to compute the convex hull of a high dimensional space (46D
>> x 2000 rows). The qhull app available in cygwin/math is based on
>> relatively old code and runs out of memory.
>>
>> I found another version the is supposed to be able to do higher
>> dimensions.
>>
>> https://bitbucket.org/tomilov/quickhull/src
>>
>> This version is set up to build with cmake, so I installed cmake in
>> cygwin and ran it as,
>>
>> cmake ./src
>>
>> Note, I had to copy CMakeLists.txt into the src directory to get this to
>> work. If I don't do that, I get the error,
>>
>> CMake Error: The source directory
>>
>> "/cygdrive/g/shared_data/SMD/ATomilov_quickhull/tomilov-quickhull-7faf277d6cc2_cmake/src"
>> does not appear to contain CMakeLists.txt.
>>
>> When I have copied the CMakeLists.txt file into ./src, cmake runs but I
>> get the error,
>>
>> CMake Error at CMakeLists.txt:11 (message):
>>   only clang supported currently
>>
>> this comes from the conditional,
>>
>> if(NOT "${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
>>     message(FATAL_ERROR "only clang supported currently")
>> endif()
>>
>> in CMakeLists.txt.
>>
>> I have installed clang from cygwin, but I still get the same error. I
>> added the following line to CMakeLists.txt,
>>
>> message(STATUS "${CMAKE_CXX_COMPILER_ID}")
>>
>> and I get "GNU" as the value for CMAKE_CXX_COMPILER_ID, at least that is
>> the value if I got the syntax correct for the message statement.
>>
>> It looks like I need to point CMAKE_CXX_COMPILER_ID to clang, but I am
>> not sure how to do that. I don't know if the problem is with the
>> CMakeLists.txt file, the way I am calling cmake, or with my local cygwin
>> configuration.
>>
>> Suggestions would be appreciated.
>>
>> LMH
>>
>>
>
>
> the build system of quickhull has some serious problem.
>
> set
>
> CMAKE_CXX_COMPILER               /usr/bin/clang-3.8.exe
> CMAKE_C_COMPILER                 /usr/bin/clang-3.8.exe
>
> after you will hit
>
>  CMake Error at CMakeLists.txt:22 (message):
>    Compiler does not support C++1z standard
>
> if you look on CMakeLists.txt you will find is expecting a flag
> as "-std=gnu++1z"  that looks a bit strange for a not gnu compiler

Clang implements many of GCC's extensions. -std=gnu++1something means
"C++ 1something with GNU extensions". Clang understands that just
fine.

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

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