X-Recipient: archive-cygwin@delorie.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:message-id:date:from:mime-version:to:cc
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=XEugGcnS/cuGgmE/
	T+Wpfor1JIcVRnBLrsfZKPLxMzlW9AfqwHhO3qOwicW78EcsNOgpJHEK31E7QfVD
	7M0TDjA+lF9TeHI39zm+5jUq8lnDbO6xLWd4oQfNwAYCBAsRJze5bWNhu8PKyeiN
	G6/h2+lSdr8kwDvGrGndoHO9tz8=
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:message-id:date:from:mime-version:to:cc
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=oOu3uxM2EIuO7G0lkkj1dc
	6ORmU=; b=pRJ2aMVYzDa5ZkY4cGfkuWxbym1gUGAXeG5rL+wzVTsKtRiPYGoK3D
	eZKBLpZtmyO8VFFqIdSpWWOvR3dXXocUofeOniRlYZHCEQm66ZDF5NeZo5C6PZxH
	MaYwD2QLJ0F2s3BotksCuxQhEFKzpYCvgjUqnKuO8ufg+Hqi5O87Y=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
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
X-Received: by 10.224.66.201 with SMTP id o9mr49886543qai.36.1375296135959;        Wed, 31 Jul 2013 11:42:15 -0700 (PDT)
Message-ID: <51F95A89.20907@users.sourceforge.net>
Date: Wed, 31 Jul 2013 13:42:17 -0500
From: "Yaakov (Cygwin/X)" <yselkowitz@users.sourceforge.net>
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: <CAO22HXcS0w2Ke5_1WG+mvmgBamMumRUEu2-FeZ59n+xJ_q9aeA@mail.gmail.com>
In-Reply-To: <CAO22HXcS0w2Ke5_1WG+mvmgBamMumRUEu2-FeZ59n+xJ_q9aeA@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit

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

