Displaying 10 results from an estimated 10 matches for "compilecode".
Did you mean:
compiledcode
2013 Jun 20
2
[LLVMdev] LLVM+Clang 3.3: clang: for the -vectorize-loops option: may only occur zero or one times!
Hi,
My application generates some C code which I then compile using LLVM+Clang
before running it. For the compilation side of things, I have a class which
one of the methods (the CompilerEngine::compileCode() method in
https://raw.github.com/opencor/opencor/llvm_3.3/src/plugins/misc/Compiler/sr
c/compilerengine.cpp) is based on the code from the clang-interpreter
example
(http://llvm.org/viewvc/llvm-project/cfe/trunk/examples/clang-interpreter/ma
in.cpp?view=co). The idea is therefore to create an ins...
2013 Jun 21
0
[LLVMdev] LLVM+Clang 3.3: clang: for the -vectorize-loops option: may only occur zero or one times!
...und this problem, but
does anyone know a real fix?
ciao,
Mario
Am 20.06.13 15:07, schrieb Alan Garny:
> My application generates some C code which I then compile using LLVM+Clang before running it. For the compilation side of things, I have a class which one of the methods (the CompilerEngine::compileCode() method in https://raw.github.com/opencor/opencor/llvm_3.3/src/plugins/misc/Compiler/sr c/compilerengine.cpp) is based on the code from the clang-interpreter example (http://llvm.org/viewvc/llvm-project/cfe/trunk/examples/clang-interpreter/ma in.cpp?view=co). The idea is therefore to create an ins...
2011 Dec 05
1
RcppArmadillo compilation error: R CMD SHLIB returns status 1
...arma::mat simdata(m,n);
35: simdata.row(0) = arma::zeros<arma::mat>(1,n);
36: for (int row=1; row<m; row++) {
37: simdata.row(row) = simdata.row(row-1)*trans(coeff)+errors.row(row);
38: }
39: return Rcpp::wrap(simdata);
40:
41: END_RCPP
42: }
43:
44:
Error in compileCode(f, code, language = language, verbose = verbose) :
Compilation ERROR, function(s)/method(s) not created!
Executing command 'C:/PROGRA~1/R/R-214~1.0/bin/i386/R CMD SHLIB file33765791.cpp 2> file33765791.cpp.err.txt' returned status 1
I am working under R 2.14.0 and as the pros among...
2011 Oct 12
1
Error in Rcpp/inline (Windows XP)
...win.com/cygwin-ug-net/using.html#using-pathnames
g++.exe: C:/Program: No such file or directory
g++.exe: Files/R/R-2.13.0/library/Rcpp/lib/i386/libRcpp.a: No such file or
directory
ERROR(s) during compilation: source code errors or compiler configuration
errors!
Program source:
......
Erreur dans compileCode(f, code, language = language, verbose = verbose) :
Compilation ERROR, function(s)/method(s) not created! cygwin warning:
MS-DOS style path detected: C:/PROGRA~1/R/R-213~1.0/etc/i386/Makeconf
Preferred POSIX equivalent is:
/cygdrive/c/PROGRA~1/R/R-213~1.0/etc/i386/Makeconf
CYGWIN environmen...
2012 Jul 14
0
Compilation Error with Rcpp
Hello,
I am trying to reproduce a code example from
http://www.babelgraph.org/wp/?p=358 babelgraph when compiling the function
to call the C++ code I get the following error:
Error in compileCode(f, code, language = language, verbose = verbose) :
Compilation ERROR, function(s)/method(s) not created!
In addition: Warning message:
running command 'C:/PROGRA~1/R/R-215~1.0/bin/i386/R CMD SHLIB
file141c7ac23195.cpp 2> file141c7ac23195.cpp.err.txt' had status 1
Has anyone an idea...
2012 Oct 15
0
First time Rcpp user needs compiler help, I think
...called from R and have never done
this before. I have done the following:
require(Rcpp)
require(inline)
src <- 'blahblahblah'
fun <- cxxfunction(signature(a="numeric",b="numeric"),src,plugin="Rcpp")
That last line generates the error message:
Error in compileCode(f, code, language = language, verbose = verbose) :
Compilation ERROR, function(s)/method(s) not created!
In addition: Warning message:
running command 'C:/PROGRA~1/R/R-215~1.1/bin/i386/R CMD SHLIB
file26476eb7fd0.cpp 2> file26476eb7fd0.cpp.txt' had status 1
I am assuming that I don...
2010 Apr 08
2
I can´t run the example shown in the inline package
I want to run some R script using the inline package (which allows to create
and run inline C++ code in my humble understanding).
So, after loading the required packages and copy and paste the example that
runs C code (in the Reference Manual as a PDF), I have a compilation error.
Any body has ever tried this inline package?
--
View this message in context:
2010 Apr 14
0
SHLIB works but inline compilation does not
...ouble * ab ) {
> 5:
> 6: int i, j, nab = *na + *nb - 1;
> 7: for(i = 0; i < nab; i++)
> 8: ab[i] = 0.0;
> 9: for(i = 0; i < *na; i++) {
> 10: for(j = 0; j < *nb; j++)
> 11: ab[i + j] += a[i] * b[j];
> 12: }
> 13: }
> Error in compileCode(f, code, language, verbose) :
> Compilation ERROR, function(s)/method(s) not created!
>
> The C function above is the one from "Writing R Extensions", p. 79; the
> suggestion for how to compile it inline is from Dirk Eddelbuettel, at this
> thread:
> http://n4.nabble...
2011 Feb 06
5
Help with integrating R and c/c++
Hi,
I have been using R for close to two years now and have grown quite
comfortable with the language. I am presently trying to implement an
optimization routine in R (Newton Rhapson). I have some R functions that
calculate the gradient and hessian (pre requisite matrices) fairly
efficiently. Now, I have to call this function iteratively until some
convergance criterion is reached. I think the
2012 Nov 25
0
Problema de compilacion con Rcpp
...: 20: 21: // declarations
22: extern "C" {
23: SEXP filee241b5d23cd( SEXP x) ;
24: }
25: 26: // definition
27: 28: SEXP filee241b5d23cd( SEXP x ){
29: BEGIN_RCPP
30: 31: NumericVector xx(x);
32: return wrap( std::accumulate( xx.begin(), xx.end(), 0.0));
33: END_RCPP
34: }
35: 36: Error en compileCode(f, code, language = language, verbose =
verbose) : Compilation ERROR, function(s)/method(s) not created!
cygwin warning:
MS-DOS style path detected: C:/R-215~1.2/etc/i386/Makeconf
Preferred POSIX equivalent is: /cygdrive/c/R-215~1.2/etc/i386/Makeconf
CYGWIN environment variable option &quo...