From edd at debian.org  Sat Nov 10 00:10:36 2012
From: edd at debian.org (Dirk Eddelbuettel)
Date: Fri, 9 Nov 2012 17:10:36 -0600
Subject: [Rd] Crash - cause 'memory not mapped'
In-Reply-To: <1352500311165-4649141.post@n4.nabble.com>
References: <1352500311165-4649141.post@n4.nabble.com>
Message-ID: <20637.36204.152417.614901@max.nulle.part>


On 9 November 2012 at 14:31, niandra wrote:
| extern "C" {
| SEXP FiltroGaus(SEXP size1_r, SEXP size2_r, SEXP sigma_r) {

[...]
 
| The compilation go without errors but when in R i type 
| .C("FiltroGaus",3,3,2)

You missed the part in "Writing R Extension" about .C() and .Call()
arguments.  You are mixing both approaches here, which usually ends badly.

Do some more reading, and maybe study some existing (simpler) examples /
packages.  You really do not need to engage OpenCV headers and libraries
before you understand the basics better.  

Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com



[Rd] Crash - cause 'memory not mapped'
Dirk Eddelbuettel