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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=L6N4520UMsCsxi4V 9MFksXv3iHUd2vq03OVqztbxoIkYpGkUM2PqQu4ngACrtBjKxy97gXu9TgSqqMVV 7Su3TzzGxlUnh5GNnWporPaWOyaxWSXxpF3wavztJBkiwQ4wF0BUz5xZATodQfdb eaUtmWpOiIdyDtzgc7qH4jp1Qss= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=3ViGuLS5nDzol21FcUvNAS LfHQE=; b=jLMAU/vrZvbnLMj5U0aqnxxv7TXj5DDN1fBeIwCsau0bTMdNQokNUE DUX9cKT5n/P1wgukiBEAwmD6JrxQ0GA255yWAMxqLRsxbj4Ng1Gz5EHvlKIJENkB 1ePayILswmEHjcMZ2SFyws/BemSgix6B4hg093cUQEe6g/9u4D5ys= 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_20,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=H*r:4.86_1, raduly, Csaba, Raduly X-HELO: ecbiz204.inmotionhosting.com Subject: Re: problem building with cmake under cygwin (need clang) To: cygwin AT cygwin DOT com References: <5796B2A7 DOT 8060002 AT molconn DOT com> From: LMH Message-ID: <57977D6D.7050203@molconn.com> Date: Tue, 26 Jul 2016 11:10:37 -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 In-Reply-To: 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 Csaba Raduly wrote: > On Tue, Jul 26, 2016 at 2:45 AM, 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, > > That usually won't work. Instead of copying CMakeLists.txt to the src > directory, you should specify the directory where CMakeLists.txt is > located when invoking CMake. > > Steps for building in a separate build directory: > > mkdir _build > cd _build > cmake .. > > Csaba > I looked for the syntax for this when I first started. I assumed the the author put the CMakeLists.txt file in the right place. I almost never have my make file in the src directory when using gnu make, so this looked the same to me. I didn't find any doc about how to have the CMakeLists.txt and the src in different directories. The structure of the downloaded archive looked like, /tomilov-quickhull-7faf277d6cc2 /include/quickhull.hpp /src/quickhull.cpp /src/randombox.cpp /src/simple_use.cpp /test/...test files .gitignore CMakeLists.txt README.md I did, cd ./tomilov-quickhull-7faf277d6cc2 cmake ./src this is when I got the error message about no CMakeLists.txt file in /src. What is the syntax for running cmake in /tomilov-quickhull-7faf277d6cc2 with the CMakeLists.txt file at /tomilov-quickhull-7faf277d6cc2/CMakeLists.txt and the src files in /tomilov-quickhull-7faf277d6cc2/src ? Is this something you do with the --build flag? It looks like you can use that to specify where the project will be built but I don't see anything there about the location of the src files. Thanks, 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