From gianluca.mastrantonio at yahoo.it  Fri Nov  9 13:25:38 2012
From: gianluca.mastrantonio at yahoo.it (gianluca mastrantonio)
Date: Fri, 9 Nov 2012 13:25:38 +0100
Subject: [Rd] unable to load shared object - opencv
In-Reply-To: <9B3071E7-EA83-430D-9505-B4385625BDA3@r-project.org>
References: <1352405973652-4648958.post@n4.nabble.com>
	<1352406854272-4648960.post@n4.nabble.com>
	<9B3071E7-EA83-430D-9505-B4385625BDA3@r-project.org>
Message-ID: <EEE86E35-F10D-468A-97D7-BCD421997523@yahoo.it>

Ok, sorry.

I need the library libopencv_core.2.4.0.dylib and libopencv_highgui.2.4.0.dylib.

Thanks
G.M.



Il giorno 09/nov/2012, alle ore 01:09, Simon Urbanek <simon.urbanek at r-project.org> ha scritto:

> 
> 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
gianluca mastrantonio