I'm trying to build OpenCV with the PSP Toolchain, using CMake.
I could generate the CMakeCache's, i tried a "make" then, it starts building, then around 41% it says i can't find sys/mman.h .
Code: Select all
Linking C static library ../lib/libopencv_lapack.a
[ 41%] Built target opencv_lapack
[ 41%] Building CXX object src/cxcore/CMakeFiles/cxcore_pch_dephelp.dir/cxcore_pch_dephelp.obj
In file included from /home/justme/Depends/trunk/opencv/BuildCMakeOutput/src/cxcore/cxcore_pch_dephelp.cxx:1:
/home/justme/Depends/trunk/opencv/src/cxcore/_cxcore.h:80:22: error: sys/mman.h: No such file or directory
make[2]: *** [src/cxcore/CMakeFiles/cxcore_pch_dephelp.dir/cxcore_pch_dephelp.obj] Error 1
make[1]: *** [src/cxcore/CMakeFiles/cxcore_pch_dephelp.dir/all] Error 2
make: *** [all] Error 2
Anyone already built OpenCV for psp ?
Any help would be really appreciated.
Thanks in advance.[/code]