From simon.urbanek at r-project.org  Fri Nov  9 01:09:14 2012
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Thu, 8 Nov 2012 19:09:14 -0500
Subject: [Rd] unable to load shared object - opencv
In-Reply-To: <1352406854272-4648960.post@n4.nabble.com>
References: <1352405973652-4648958.post@n4.nabble.com>
	<1352406854272-4648960.post@n4.nabble.com>
Message-ID: <9B3071E7-EA83-430D-9505-B4385625BDA3@r-project.org>


On Nov 8, 2012, at 3:34 PM, niandra wrote:

> Sorry but i'm really a beginner.
> 
> If when i use opencv with Xcode i need to set the following path 
> /System/Library/Frameworks
> /usr/local/include
> /usr/local/lib 
> 
> how can i specify this in  R CMD SHLIB?
> 

Those are essentially default so no need to specify any of those. The real thing you need to specify are the actual libraries to link against, typically something like -lopencv_core ... If you use a framework it may be just something like -framework OpenCV - we don't know since you didn't tell us what your'e really using.



[Rd] unable to load shared object - opencv
Simon Urbanek