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:to:from:subject:message-id:date:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=c5u 85QVMhBbwpnqN4gEx55Yfy7+PRpdoGUerKMsReS/iMsG4QOun28PgyRP+ke7Ggqr xYlvCMk44MwraiT8N7LvHLwn27GB//6cYQW/HuMcAkHm+TWbindkshnmhGlIgy/x HVRXJGO6tJ3eHCjiCSH9L+W3/Vgjlbvpz3J3wrIA= 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:to:from:subject:message-id:date:mime-version :content-type:content-transfer-encoding; s=default; bh=lLKm4EDPP 8MLoIgDJuDuahHyelA=; b=B2rc58+MCZZdPdjTsmX3Pfv+e8VFKxFRIyvM/SgX7 tgA+mpYPWGrJnYwQC7be8LSB3ojanR04byg5ilOtIML7c61q/ApRnoBjxxJ1YdDa 7r1EtEzrhKs0mZSCdLOWXxrhoJZEQWF+EPrMfWHuA5pKVR/XKaaSD5quRpeNh+u5 I4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.0 required=5.0 tests=BAYES_40,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=H*r:4.86_1, hull, HX-OutGoing-Spam-Status:score, smd X-HELO: ecbiz204.inmotionhosting.com To: cygwin AT cygwin DOT com From: LMH Subject: problem building with cmake under cygwin (need clang) Message-ID: <5796B2A7.8060002@molconn.com> Date: Mon, 25 Jul 2016 20:45:27 -0400 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-1.0 X-Get-Message-Sender-Via: ecbiz204.inmotionhosting.com: authenticated_id: lmh_users-groups AT molconn DOT com X-IsSubscribed: yes 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 -- 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