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 

Installing the psp toolchain...

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



Joined: 12 Oct 2008
Posts: 5
Location: USA

PostPosted: Sun Oct 12, 2008 5:46 pm    Post subject: Installing the psp toolchain... Reply with quote

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

Code:
$ ./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___-'
Back to top
View user's profile Send private message Visit poster's website
jojojoris



Joined: 30 Mar 2008
Posts: 261

PostPosted: Sun Oct 12, 2008 6:23 pm    Post subject: Reply with quote

did you also install a package libncurses and maybe libncurses-dev
I don't know it i typed it correctly.
Back to top
View user's profile Send private message
d4rkswitch~



Joined: 12 Oct 2008
Posts: 5
Location: USA

PostPosted: Sun Oct 12, 2008 6:56 pm    Post subject: Worked Reply with quote

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

Code:
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:
@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___-'
Back to top
View user's profile Send private message Visit poster's website
angelo



Joined: 29 Aug 2007
Posts: 168

PostPosted: Sun Oct 12, 2008 9:23 pm    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message Send e-mail MSN Messenger
d4rkswitch~



Joined: 12 Oct 2008
Posts: 5
Location: USA

PostPosted: Mon Oct 13, 2008 4:26 am    Post subject: Reply with quote

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___-'
Back to top
View user's profile Send private message Visit poster's website
ne0h



Joined: 21 Feb 2008
Posts: 386

PostPosted: Mon Oct 13, 2008 4:43 am    Post subject: Reply with quote

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...
_________________
Get Xplora!
Back to top
View user's profile Send private message
d4rkswitch~



Joined: 12 Oct 2008
Posts: 5
Location: USA

PostPosted: Mon Oct 13, 2008 5:10 am    Post subject: devkitpsp Reply with quote

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___-'
Back to top
View user's profile Send private message Visit poster's website
angelo



Joined: 29 Aug 2007
Posts: 168

PostPosted: Mon Oct 13, 2008 7:37 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail MSN Messenger
d4rkswitch~



Joined: 12 Oct 2008
Posts: 5
Location: USA

PostPosted: Mon Oct 13, 2008 12:33 pm    Post subject: Reply with quote

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___-'
Back to top
View user's profile Send private message Visit poster's website
Heimdall



Joined: 10 Nov 2005
Posts: 259
Location: Netherlands

PostPosted: Mon Oct 13, 2008 5:11 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
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