Do you have enough memory on your x86 machine? It will likely take quite a bit.
Thanks, Ali On 29.10.2014 21:03, Urmish Ajit Thakker via gem5-users wrote: > Hi, > > I was wondering if anyone has tried to install opencv on the arm image > (armv7) provided in the repository? > > I was able to install all the dependencies for opencv 2.4.5 but when I do a > make (after chroot'ing into the image), I get an error > "virtual memory exhausted: cannot allocate more memory". > > I tried cross compiling, however the cross compiler does not detect the > ffmpeg lib. I modify the following variables > > * LD_LIBRARY_PATH > * C_INCLUDE_PATH > * CPLUS_INCLUDE_PATH > * PKG_CONFIG_PATH > * PKG_CONFIG_LIBDIR > * PATH > * CMAKE_LIBRARY_PATH > * CMAKE_INCLUDE_PATH > > and point the cmake to the ffmpeg libraries compiled for armv7 architecture. > However, it does not detect it and my cmake output is - > > -- Video I/O: > -- DC1394 1.x: NO > -- DC1394 2.x: NO > -- FFMPEG: **NO** > -- codec: NO > -- format: NO > -- util: NO > -- swscale: NO > -- gentoo-style: YES > -- GStreamer: NO > -- OpenNI: NO > -- OpenNI PrimeSensor Modules: NO > -- PvAPI: NO > -- GigEVisionSDK: NO > -- UniCap: NO > -- UniCap ucil: NO > -- V4L/V4L2: NO/YES > -- XIMEA: NO > -- Xine: NO > My host machine is a 64 bit x86 machine. > > Regards, > Urmish > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [1] Links: ------ [1] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
