| View previous topic :: View next topic |
| Author |
Message |
SakirSoft
Joined: 27 May 2007 Posts: 4
|
Posted: Sun May 27, 2007 7:56 am Post subject: 2D Fighting Engine for PSP |
|
|
Hi i try to port ShugenDo.
ShugenDo is 2D Fighting Engine for the PC and i want to port it.
you can find it here
http://www.sakirsoft.com/
and here a little teaser video
http://www.youtube.com/watch?v=iM9A80wk3mc
I was able to compile the PSP toolchain on my PC via cygwin.
All samples are compileable and working.
But i fail to compile the PSP-SDL lib on my PC.
I excatly did what is written in the readme.psp file.
But i get alot of errors.
| Code: |
Sahin@powerpc ~
$ export PSPDEV=/usr/local/pspdev
Sahin@powerpc ~
$ export PATH=$PATH:$PSPDEV/bin
Sahin@powerpc ~
$ cd pspSDL/
Sahin@powerpc ~/pspSDL
$ ./autogen.sh
Generating build information using aclocal, automake and autoconf
This may take a while ...
/usr/bin/m4:configure.in:1755: cannot create temporary file for diversion: Permi
ssion denied
/usr/bin/m4: cannot remove temporary directory /tmp/m4-kh3lUG: Directory not emp
ty
autom4te-2.61: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
|
fallowed by alot of erros like this
| Code: |
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
src/video/dc/Makefile.am:4: Libtool library used but `LIBTOOL' is undefined
src/video/dc/Makefile.am:4:
src/video/dc/Makefile.am:4: The usual way to define `LIBTOOL' is to add `AC_PROG
_LIBTOOL'
|
An when i try to execute the ./configure script this happends
| Code: |
$ LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" \
> ./configure --host psp --prefix=$(psp-config --psp-prefix)
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-cygwin
checking host system type... mipsallegrexel-psp-elf
checking target system type... mipsallegrexel-psp-elf
./configure: line 2021: syntax error near unexpected token `SDL,'
./configure: line 2021: `AM_INIT_AUTOMAKE(SDL, $SDL_VERSION)'
|
I hope some of you guys can help me out |
|
| Back to top |
|
 |
gambiting
Joined: 17 Aug 2006 Posts: 154
|
Posted: Sun May 27, 2007 4:21 pm Post subject: Re: 2D Fighting Engine for PSP |
|
|
| SakirSoft wrote: |
Sahin@powerpc ~/pspSDL
$ ./autogen.sh
Generating build information using aclocal, automake and autoconf
This may take a while ...
/usr/bin/m4:configure.in:1755: cannot create temporary file for diversion: Permi
ssion denied
/usr/bin/m4: cannot remove temporary directory /tmp/m4-kh3lUG: Directory not emp
ty
autom4te-2.61: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
| Why don't you run it as root?It can't copy nessesary files,because you don't have enough provilages.[/code] |
|
| Back to top |
|
 |
SakirSoft
Joined: 27 May 2007 Posts: 4
|
Posted: Sun May 27, 2007 6:18 pm Post subject: |
|
|
| How can i login in as root in cygwin ? |
|
| Back to top |
|
 |
gambiting
Joined: 17 Aug 2006 Posts: 154
|
Posted: Mon May 28, 2007 2:22 pm Post subject: |
|
|
| SakirSoft wrote: | | How can i login in as root in cygwin ? | In cygwin you should be loggen in as root by default.You can see if you are a root or not by $ or # after your username(sahin@powerpc$ <---it means you are a normal user,not root).I don't know why you are not a root by default,but try a simple "su" command(it logs you as root). |
|
| Back to top |
|
 |
SakirSoft
Joined: 27 May 2007 Posts: 4
|
Posted: Mon May 28, 2007 6:10 pm Post subject: |
|
|
I tryed the su command but it did not work.
But i fixed the whole problem by installing linux on my PC
and logining in as root.
I was able to compile the whole toolchain and the SDL.
But i was not able to compile the samples in the test folder of the SDL lib.
Thanx for helping. |
|
| Back to top |
|
 |
PeterM
Joined: 31 Dec 2005 Posts: 125 Location: Edinburgh, UK
|
Posted: Mon May 28, 2007 7:09 pm Post subject: |
|
|
Hehe, cracking a nut with a sledgehammer comes to mind!
Oh well, glad you got it working anyway. Good luck with your project, it sounds really cool. _________________ http://aaiiee.wordpress.com/
I can no longer do any homebrew PSP development nor discuss PSP specific topics. |
|
| Back to top |
|
 |
SakirSoft
Joined: 27 May 2007 Posts: 4
|
Posted: Thu May 31, 2007 5:09 am Post subject: |
|
|
Haha yeah but the whole work was worrth to do.
I was able to do my first port of ShugenDo to the psp.
Here you can see the result.
http://www.youtube.com/watch?v=U0b31nLYGcI
Thanks for the great PSP toolchain and for the examples which comes with it.
BTW i dont know why but the PSD sdk is missing some standart wchar funktions which i need.
I cannot use
vswprintf
swprintf
Any idee why? |
|
| Back to top |
|
 |
|