From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32146 invoked by alias); 31 Jul 2013 18:42:24 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 32136 invoked by uid 89); 31 Jul 2013 18:42:24 -0000 X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,RDNS_NONE,SPF_PASS autolearn=ham version=3.3.1 Received: from Unknown (HELO mail-qc0-f170.google.com) (209.85.216.170) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 31 Jul 2013 18:42:23 +0000 Received: by mail-qc0-f170.google.com with SMTP id d10so574668qcz.15 for ; Wed, 31 Jul 2013 11:42:16 -0700 (PDT) X-Received: by 10.224.66.201 with SMTP id o9mr49886543qai.36.1375296135959; Wed, 31 Jul 2013 11:42:15 -0700 (PDT) Received: from [192.168.0.101] (S0106000cf16f58b1.wp.shawcable.net. [24.79.212.134]) by mx.google.com with ESMTPSA id a2sm3568953qek.7.2013.07.31.11.42.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 31 Jul 2013 11:42:15 -0700 (PDT) Message-ID: <51F95A89.20907@users.sourceforge.net> Date: Wed, 31 Jul 2013 19:20:00 -0000 From: "Yaakov (Cygwin/X)" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: cygwin@cygwin.com CC: edd@debian.org Subject: Re: Rcpp installation fails on Cygwin: Rcpp::Timer not supported by your OS. References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2013-07/txt/msg00723.txt.bz2 On 2013-07-31 12:37, Enrico Ferrero wrote: > When trying to install your Rcpp R package from CRAN on Cygwin, > compilation aborts with the following error: > Timer.cpp:35:6: error: #error "Rcpp::Timer not supported by your OS." Such an error means that the code needs to be patched to select (or add) a code block specific to that platform. A patch for Cygwin can be found in Ports git: http://cygwin-ports.git.sourceforge.net/git/gitweb.cgi?p=cygwin-ports/R-Rcpp;a=tree Specifically for Cygwin, based on my limited understanding of Rcpp, it would appear that libRcpp.dll (the library, not the Rcpp.dll module) should be moved to $PATH, and a symlink .dll.a put in its place, for the benefit of other modules which would use this library. The cygport(5) found in the aforementioned repo handles that for you. Yaakov -- 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