Installing the psp toolchain...

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

Moderators: cheriff, TyRaNiD

Post Reply
d4rkswitch~
Posts: 5
Joined: Sun Oct 12, 2008 5:30 pm
Location: USA
Contact:

Installing the psp toolchain...

Post by d4rkswitch~ »

I'm getting errors. Cygwin is complaining about missing files. Anyone else get this error?

Code: Select all

$ ./toolchain.sh
ls: cannot access /usr/lib/libncurses.*: No such file or directory
ERROR: Install ncurses before continuing.
../depends/check-ncurses.sh: Failed.
I'm pretty positive I installed ncurses during cygwin setup. I even tried running the setup program again, installing ncurses again, deleting the whole c:\cygwin directory, then reinstalling it again, making sure I selected ncurses. Nada.

Yes, I'm in ~/psptoolchain when I run toolchain.sh.
~~~C++ Rules~~~

Windows Vista User
'-___PSP CFW M33___-'
jojojoris
Posts: 255
Joined: Sun Mar 30, 2008 4:06 am

Post by jojojoris »

did you also install a package libncurses and maybe libncurses-dev
I don't know it i typed it correctly.
d4rkswitch~
Posts: 5
Joined: Sun Oct 12, 2008 5:30 pm
Location: USA
Contact:

Worked

Post by d4rkswitch~ »

Thanks, that solved that problem.
Now my environment variables are messing up..

Code: Select all

x@x ~/psptoolchain
$ ./toolchain.sh
ERROR: Add c:/cygwin/usr/local/pspdev/bin to your path before continuing.
../depends/check-pspdev.sh: Failed.
That's my error. Here's my Cygwin.bat contents:

Code: Select all

@echo off

C:
chdir C:\cygwin\bin

bash --login -i
export PSPDEV=/usr/local/pspdev
export PATH=$PATH:$PSPDEV/bin

I ran the bash shell and my paths didnt change, so I changed them manually. The contents of each are now:

PATH is set to
C:\cygwin\usr\local\pspdev\bin

and PSPDEV is set to
c:/cygwin/usr/local/pspdev


I tried changing the the forward slash to a back slash and vice versa for PATH but neither worked.
~~~C++ Rules~~~

Windows Vista User
'-___PSP CFW M33___-'
angelo
Posts: 168
Joined: Wed Aug 29, 2007 9:34 pm

Post by angelo »

Arrrrgggg!

Never install CYGWIN on a Windows machine. It's too big, too bulky,to cumbersome, to much hassle to set up and too sloooowww.

With complete LIBS and SDK files, you may be able to reduce your PSPDev envirnment down to 1.2G... TOO MUCH!

Install Devkit Pro and then install toolchain intop it it. It's dead easy! It's a LOT faster, lighter, easier to install and configure and 3x the speed of CYGWIN.

The only downside is that if you want libs and SDK files, you need to use precompiled versions. I suggest you look at jetcube's work for that... but I think it's all well worth it!

Give it a try at least if CYGWIN proves to be a pain... or install Linux!
d4rkswitch~
Posts: 5
Joined: Sun Oct 12, 2008 5:30 pm
Location: USA
Contact:

Post by d4rkswitch~ »

I miiiigghttt consider installing linux, but I haven't ever used it before so I'm kinda unsure about it. But thanks for your suggestions, I'll try Devkit Pro and edit this post with the results.
~~~C++ Rules~~~

Windows Vista User
'-___PSP CFW M33___-'
ne0h
Posts: 386
Joined: Thu Feb 21, 2008 2:15 am

Post by ne0h »

I doesn't know Devikit Pro, but I'm using a win32 like sdk!
Use the one builted by Heimdall, you can find it in a thread on this forum...
d4rkswitch~
Posts: 5
Joined: Sun Oct 12, 2008 5:30 pm
Location: USA
Contact:

devkitpsp

Post by d4rkswitch~ »

I was browsing the DevkitPro website and I found DevkitPSP ^.^

Now to start making programs.... http://www.psp-programming.com/tutorials/c/lesson02.htm is a good place to start, right?
~~~C++ Rules~~~

Windows Vista User
'-___PSP CFW M33___-'
angelo
Posts: 168
Joined: Wed Aug 29, 2007 9:34 pm

Post by angelo »

Yes that's where I started... read up on EVERYTHING! You'll need the information about configuring the control pannel for DevKit Pro to work.

It's the easiest way my friend!

Email me if you get stuck. Happy to help!

Angelo
d4rkswitch~
Posts: 5
Joined: Sun Oct 12, 2008 5:30 pm
Location: USA
Contact:

Post by d4rkswitch~ »

Thanks for the support.

Well I was going through the tutorial and I have endless problems with everything. :D

Oh I know, I'll pm you! haha

Anyway I guess I have to leave this topic open since there's no lock button :O
~~~C++ Rules~~~

Windows Vista User
'-___PSP CFW M33___-'
Heimdall
Posts: 245
Joined: Thu Nov 10, 2005 1:29 am
Location: Netherlands
Contact:

Post by Heimdall »

If you're looking for the latest SDK and compiler for windows then devkitpro is a bit outdated (last release was april 16, 2007). If you need a bash shell, then devkitpro or cygwin is the way to go, but if you just want a compiler to use with your visual studio, eclipse, whatever IDE, you can always use my builds which try to be up to date with the SVN of the SDK.
Post Reply