[Rd] unable to load shared object - opencv

gianluca mastrantonio gianluca.mastrantonio at yahoo.it
Fri Nov 9 13:25:38 CET 2012


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.
> 
> 



More information about the R-devel mailing list