forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

OpenCV on PSP ?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Majority



Joined: 01 Jul 2009
Posts: 1

PostPosted: Wed Jul 01, 2009 9:53 pm    Post subject: OpenCV on PSP ? Reply with quote

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:
 

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]
Back to top
View user's profile Send private message
ab5000



Joined: 06 May 2008
Posts: 74

PostPosted: Thu Jul 02, 2009 12:08 am    Post subject: Reply with quote

Yes. Take a look at NanoDesktop...
_________________
Code:
%:include<stdio.h>
int _(int __,int ___,int ____,int _____)
<%for(;____<___;_____=_____*__,____++);
return _____;%>main()<%printf
("%d\n",_(2,5,0,1));%>
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group