public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* problem building with cmake under cygwin (need clang)
@ 2016-07-26  0:45 LMH
  2016-07-26  6:07 ` Tony Kelman
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: LMH @ 2016-07-26  0:45 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2016-07-30  3:45 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-26  0:45 problem building with cmake under cygwin (need clang) LMH
2016-07-26  6:07 ` Tony Kelman
2016-07-26 15:24   ` LMH
2016-07-26  6:16 ` Marco Atzeri
2016-07-26  7:47   ` Csaba Raduly
2016-07-26  8:45     ` Marco Atzeri
2016-07-26  7:57 ` Csaba Raduly
2016-07-26 15:11   ` LMH
2016-07-26 16:07     ` Marco Atzeri
2016-07-26 16:53       ` LMH
2016-07-26 17:12         ` Marco Atzeri
2016-07-27  8:30         ` Csaba Ráduly
2016-07-27 16:26           ` LMH
2016-07-27  7:52       ` Csaba Raduly
2016-07-27 10:06         ` Marco Atzeri
2016-07-29 21:19           ` LMH
2016-07-29 21:27             ` Yaakov Selkowitz
2016-07-30  9:22             ` Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).