[R] rimage

Dirk Eddelbuettel edd at debian.org
Mon Feb 16 21:49:06 CET 2009


On 16 February 2009 at 21:09, Koen Hufkens wrote:
| Hi list,
| 
| I'm trying to install/compile rimage on ubuntu linux (i386) interpid.
| However, the compilation hangs on:
| 
| gcc -std=gnu99 -I/usr/share/R/include -g -O2       -fpic  -g -O2 -c
| laplacian.c -o laplacian.o
| laplacian.c: In function  laplacian :
| laplacian.c:14: warning: implicit declaration of function  clearFrame 
| g++ -I/usr/share/R/include -g -O2       -fpic  -g -O2 -c matrix.cpp -o
| matrix.o
| /usr/include/c++/4.3/bits/stl_vector.h: In member function  void
| std::vector<_Tp, _Alloc>::_M_initialize_dispatch(_Integer, _Integer,
| std::__true_type) [with _Integer = int, _Tp = std::vector<double,
| std::allocator<double> >, _Alloc = std::allocator<std::vector<double,
| std::allocator<double> > >] :
| /usr/include/c++/4.3/bits/stl_vector.h:290:   instantiated from
|  std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const
| _Alloc&) [with _InputIterator = int, _Tp = std::vector<double,
| std::allocator<double> >, _Alloc = std::allocator<std::vector<double,
| std::allocator<double> > >] 
| 
| has anyone encountered problems to compile the module and found a
| solution. I can't found a solution online, only some reference to gcc
| 4.3 not being compatible.
| 
| Any pointers would be appreciated.

It's as I said in the email at

	http://tolstoy.newcastle.edu.au/R/e6/help/09/01/1379.html

i.e. the form used in

	m = new vector< vector <double> >(x, y); 

is no longer valid for g++ 4.3.

Someone (you ?) needs to adapt the code, or it'll sooner or later disappear
from CRAN.

Dirk

-- 
Three out of two people have difficulties with fractions.




More information about the R-help mailing list