Skip to: Site menu | Main content


Welcome to PSP-Programming.com, a place for developers to get together.

Welcome to the forums. Here you can find other user tutorials as well as homebrew releases and the source code repository. You can also ask for help with your code here and post your own homebrew!

PSP-Programming.com Forums
February 08, 2012, 07:07:45 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

News: Welcome to PSP-Programming.com
Home Help Search Shop Login Register
Digg This!
Pages: [1] 2
Print
Author Topic: Cygwin "PSPtoolchain installation problem under windows xp"  (Read 1225 times)
LecramOS
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 28
1465.83 points

View Inventory
Send Money to LecramOS

View Profile
« on: February 07, 2010, 08:05:21 AM »

Hello World !!! Smile
I am a german man who wants to programm for the PSP.
I have learned some steps in C.
HelloWorld and a calculator and more things.
Please dont be angry about my english.
I know it is not perfect. Smile

I have a problem with cygwin and the psptoolchain.
I have installed cygwin with "all" things.
"ALL" from "default" to "install".
The cygwin installation takes a lot of time. 9 houres.

After the cygwin process i do step two of this tutorial
http://www.psp-programming.com/tutorials/c/lesson01-2.htm

have downloaded psptoolchain in "home/administrator/" .
Then go with cygwin in folder "psptoolchain" and typed in "svn update"
After this i typed in "./toolchain.sh" and get an error message.

ls: cannot access /usr/include/ncurses.h: No such file or directory
ERROR: install ncurses before continuing.
../depends/check-ncurses-sh: Failed.


There is a folder named "ncurse" in "include"folder, but not the header.
O.k now i tried to copy the "ncurse.h" from "ncurse"folder to "include"folder
and the error message dissaperaed.

Now there is an other error after i typed in "toolchain.sh".

ERROR: Ser $PSPDEV before continuing.
../depends/check-pspdev.sh: Failed.


Why is my installation progress so different to the Tutorial ?
Is it because i have selected "ALL" in the cygwin installation ?
What i do wrong ? Sad
Don't be angry about my stupid english.
I trie to make it better in future.
Thank you for helping me ! Smile
« Last Edit: February 07, 2010, 08:13:37 AM by LecramOS » Logged


hibbyware
You are the teacher? To my pupil? This isn't art class, it's Heaven.
Full Member
***

Karma: +11/-0
Offline Offline

Posts: 212
0.00 points

View Inventory
Send Money to hibbyware

View Profile
« Reply #1 on: February 07, 2010, 08:14:52 AM »

Hello LecramOS

Try following this tutorial and make sure all needed libs are selected http://www.psp-programming.com/forums/index.php/topic,62.0.html

If you still get an error post back with the error message
Logged
LecramOS
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 28
1465.83 points

View Inventory
Send Money to LecramOS

View Profile
« Reply #2 on: February 07, 2010, 08:29:00 AM »

ok.. thank you for the fast answer.
I will uninstall cygwin, install it again and try it.

One more question: How can i put pictures into here.
I know i must push the "insert image" button and beteen the both [img] i must write something, but what ?

I have tried to upload my images but get an ERROR message.

"Cannot access attachments upload path! "

I uploaded my picture from C:\Dokumente und Einstellungen\Administrator\Desktop\fehler1.png .

an write between the both [img]'s the name of the image "fehler1".

Is this right ?
Logged
hibbyware
You are the teacher? To my pupil? This isn't art class, it's Heaven.
Full Member
***

Karma: +11/-0
Offline Offline

Posts: 212
0.00 points

View Inventory
Send Money to hibbyware

View Profile
« Reply #3 on: February 07, 2010, 08:35:44 AM »

Try uploading the image to --> http://imageshack.us/

Then place the link imageshack gives you in the img tags
Logged
LecramOS
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 28
1465.83 points

View Inventory
Send Money to LecramOS

View Profile
« Reply #4 on: February 07, 2010, 09:19:20 AM »

Whooohoo  Shocked
The installation from cygwin was over 3 GB big.
Many data to erase from disk and it takes 30 minutes to uninstall all.

Now, in this time i try it with the pictures what you have telled me and show the two
ERROR messages i posted before.

Message one, before i copy ncurses.h into include folder.


Message two. After i have copied it into include folder.


Now 3 minutes and i can install cygwin new with the new tutorial.
I will write it here when it works.
 Wink


Logged
LecramOS
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 28
1465.83 points

View Inventory
Send Money to LecramOS

View Profile
« Reply #5 on: February 07, 2010, 09:34:57 AM »

First mistake of the new tutorial is when you should copy
" http://sources-redhat.mirror.redwire.net " into the "user url" box.
This link doesn't work.
I will try another.
I hope thats right !
Logged
hibbyware
You are the teacher? To my pupil? This isn't art class, it's Heaven.
Full Member
***

Karma: +11/-0
Offline Offline

Posts: 212
0.00 points

View Inventory
Send Money to hibbyware

View Profile
« Reply #6 on: February 07, 2010, 09:45:27 AM »

Yeah "sources-redhat.mirror.redwire.net" always seems to fail

I used "cygwin.elite-systems.org" last time

If you continue to have issues installing cygwin and the psptoolchain you could try using http://sourceforge.net/projects/minpspw/
Logged
LecramOS
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 28
1465.83 points

View Inventory
Send Money to LecramOS

View Profile
« Reply #7 on: February 07, 2010, 09:56:09 AM »

I have taked the first URL.  Neutral
I hope that is not a bad mistake.

I have selected all packages from "option 2" from the tutorial,
but one package is not there. The "libmpfr0" package.

Now i install it without this one .

"libmpfr1" is there but not "libmpfr0" .

38 % now.
« Last Edit: February 07, 2010, 10:11:00 AM by LecramOS » Logged
LecramOS
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 28
1465.83 points

View Inventory
Send Money to LecramOS

View Profile
« Reply #8 on: February 07, 2010, 10:38:22 AM »

O.k. so far.

One more mistake in the tutorial is when you want do download psptoolchain like tutorial way.

I typed in " svn co svn://svn.ps2dev.org/psp/trunk/psptoolchain " from tutorial but it doesn't work .

I taked the other one from this site:
http://ps2dev.org/psp/Tools/Toolchain/Getting_the_most_up-to-date_toolchain.


*UPDATE*

I have the same mistake like in the first post.



I copied the "ncurses.h" from folder "ncurses" to folder "include".
Then i get this ERROR message.


I did everything like it is written in the tutorial.
 Crying or Very sad

Logged
LecramOS
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 28
1465.83 points

View Inventory
Send Money to LecramOS

View Profile
« Reply #9 on: February 07, 2010, 10:52:47 AM »

Ok... I got it.  Wink

I returned to step 5 and now it is installing.  Rolling Eyes

Thank you so far hibbyware

Logged
hibbyware
You are the teacher? To my pupil? This isn't art class, it's Heaven.
Full Member
***

Karma: +11/-0
Offline Offline

Posts: 212
0.00 points

View Inventory
Send Money to hibbyware

View Profile
« Reply #10 on: February 07, 2010, 11:15:38 AM »

Most of the error messages that you get can be solved by a simple search of this forum as they have been asked lots of times before

Remember if all else fails you can try http://sourceforge.net/projects/minpspw/

It is not the perfect solution but it will give you something ready to compile with
Logged
LecramOS
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 28
1465.83 points

View Inventory
Send Money to LecramOS

View Profile
« Reply #11 on: February 08, 2010, 09:10:31 AM »

Thank you very much.
I have compiled my first "Hello World" and "Hello LecramOS"  Mr. Green on PSP.

There are MANY things i don't understand about PSP programming, but i will learn it.

Logged
hibbyware
You are the teacher? To my pupil? This isn't art class, it's Heaven.
Full Member
***

Karma: +11/-0
Offline Offline

Posts: 212
0.00 points

View Inventory
Send Money to hibbyware

View Profile
« Reply #12 on: February 08, 2010, 12:15:39 PM »

Great news!

Welcome to the endless hours of reading and coding,
Logged
LecramOS
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 28
1465.83 points

View Inventory
Send Money to LecramOS

View Profile
« Reply #13 on: February 08, 2010, 01:03:36 PM »

Coding untill the end of time  Mr. Green

Have you got a tip for me what i should read/learn now especially for PSP coding.

I have learned the basics in "C" (pointer, loops, and...and...and)
but on PSP there is many new syntax. Shocked

Is there a good book or something else ?

*UPDATE*

yes, yes i know!
First search, than when you don't find anything ask youre question, but maybe you got a super insider tip  Mr. Green

*UPDATE2*

The tutorials are very good in the forum.
From now on i will be quieter in the forum and learning more coding.
But it is a good feeling not being alone.   Rolling Eyes

Now here in germany is 11 a clock in the evening.
We call it ""23 Uhr""  .
I am out today.
good bye.
« Last Edit: February 08, 2010, 01:51:37 PM by LecramOS » Logged
hibbyware
You are the teacher? To my pupil? This isn't art class, it's Heaven.
Full Member
***

Karma: +11/-0
Offline Offline

Posts: 212
0.00 points

View Inventory
Send Money to hibbyware

View Profile
« Reply #14 on: February 08, 2010, 02:50:30 PM »

All I could suggest is look at lots of source code and read info in various threads on forums,

A few useful links...


Various Docs...

http://psp.jim.sh/pspsdk-doc/
http://silverspring.lan.st/ Well maintained prx doc
http://hitmen.c02.at/files/yapspd/psp_doc/ A little old now but has some useful info


Forum...

http://forums.ps2dev.org Warning laziness to research and general programming help is not tolerated on this board


Other...

Google lol
Logged
Pages: [1] 2
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.575 seconds with 38 queries.
Sister Sites: Guitar Hero 4   BrokeniTouch.com