search for: opencv2

Displaying 8 results from an estimated 8 matches for "opencv2".

Did you mean: opencv
2013 Mar 17
2
[LLVMdev] Running cross compiled binaries for ARM on gem5
...r_ARM_GNU_Linux/arm-none-linux-gnueabi/include/c++/4.7.2/ -I /home/silky/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/arm-none-linux-gnueabi/include/c++/4.7.2/arm-none-linux-gnueabi/armv4t/ -o FE.bc However, this errors out saying /home/silky/VecProject/opencv/OpenCVInstall/arm/include/opencv2/core/mat.hpp:117:9: error: cannot compile this atomic library call yet CV_XADD(refcount, 1); ^~~~~~~~~~~~~~~~~~~~ /home/silky/VecProject/opencv/OpenCVInstall/arm/include/opencv2/core/operations.hpp:61:38: note: expanded from macro 'CV_XADD' #define CV_XADD(addr, delt...
2012 Nov 09
3
Crash - cause 'memory not mapped'
i'm using the following c++ code using namespace std; #include <iostream> #include <stdio.h> #include <opencv/cv.h> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv/highgui.h> #include <opencv/cv.h> #include <R.h> #include <Rinternals.h> #include <Rmath.h> extern "C" { SEXP FiltroGaus(SEXP size1_r, SEXP size2_r, SEXP sigma_r) { int siz...
2013 Mar 18
0
[LLVMdev] Running cross compiled binaries for ARM on gem5
On 17 March 2013 22:40, SArora <silkyar at umich.edu> wrote: > However, this errors out saying > > > /home/silky/VecProject/opencv/OpenCVInstall/arm/include/opencv2/core/mat.hpp:117:9: > error: cannot compile this atomic library call yet > CV_XADD(refcount, 1); > ^~~~~~~~~~~~~~~~~~~~ > > /home/silky/VecProject/opencv/OpenCVInstall/arm/include/opencv2/core/operations.hpp:61:38: > note: expanded from macro 'CV_XADD' >...
2012 Nov 08
2
unable to load shared object - opencv
...ple script, just for try to understand how use c++ in R, it loads an image and write it with a different name (i know it ), and then write "Hello, World". The file is names prova2.cpp (is the first time i try to use c++ ) #include <stdio.h> #include <opencv/cv.h> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv/highgui.h> #include <opencv/cv.h> #include <R.h> #include <Rinternals.h> extern "C" SEXP provaR(void) { cv::Mat gravit; gravit=cv::imread("imm.jpg"); cv::imwrite("imm_d...
2013 Mar 18
2
[LLVMdev] Running cross compiled binaries for ARM on gem5
On 03/18/2013 10:28 AM, Renato Golin wrote: > On 17 March 2013 22:40, SArora <silkyar at umich.edu > <mailto:silkyar at umich.edu>> wrote: > > However, this errors out saying > > /home/silky/VecProject/opencv/OpenCVInstall/arm/include/opencv2/core/mat.hpp:117:9: > error: cannot compile this atomic library call yet > CV_XADD(refcount, 1); > ^~~~~~~~~~~~~~~~~~~~ > /home/silky/VecProject/opencv/OpenCVInstall/arm/include/opencv2/core/operations.hpp:61:38: > note: expanded from macro 'CV...
2013 Mar 11
0
[LLVMdev] Running cross compiled binaries for ARM on gem5
Hi Silky, If I got correctly, you seem to be trying to run a bare-metal image on your model, but you compile with linux-gnueabi GCC. I don't know if that will make a difference, but I'd try to use none-eabi GCC toolchain and set the -target armv7a-none-eabi just in case. On 10 March 2013 00:26, Silky Arora <silkyar at umich.edu> wrote: > Most of the search results talk about
2013 Mar 10
2
[LLVMdev] Running cross compiled binaries for ARM on gem5
Hi, I am trying to optimize some benchmarks using LLVM and run them on gem5 simulator (build for ARM). I am using Sourcery Codebench cross-compiler for ARM on my x-86 machine. My steps up till now have been using the following commands. 1. clang -static -emit-llvm -march=armv7-a -mfloat-abi=soft -target arm-elf a.cpp -c -integrated-as \
2011 Mar 15
1
How to make sure R's g++ compiler uses certain C++ flags when making a package
I am trying to use some code from opencv in an r package, using Rcpp to build the package. When I compile the c code on my machine, it works fine. However, when I try to include it in my package, it gives me a bunch of error messages like: "error: opencv2/core/operations.hpp: No such file or directory" Does anyone know how to get R to compile the C code as my command line g++ compiler does? For example, I am using the the following syntax to compile the facedetect.cpp code: g++ -bind_at_load `pkg-config --cflags opencv` facedetect.cpp -o fac...