OpenCV on PSP ?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Majority
Posts: 1
Joined: Wed Jul 01, 2009 9:38 pm

OpenCV on PSP ?

Post by Majority »

Hello,

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
That file should be included in libc, so for the PSP in psplibc, which i linked to in my compiler flag when i configured the CMake things.

Anyone already built OpenCV for psp ?

Any help would be really appreciated.

Thanks in advance.[/code]
ab5000
Posts: 74
Joined: Tue May 06, 2008 2:37 am

Post by ab5000 »

Yes. Take a look at NanoDesktop...

Code: Select all

%&#58;include<stdio.h>
int _&#40;int __,int ___,int ____,int _____&#41;
<%for&#40;;____<___;_____=_____*__,____++&#41;;
return _____;%>main&#40;&#41;<%printf
&#40;"%d\n",_&#40;2,5,0,1&#41;&#41;;%>
Post Reply