|
|
|
|
|
|
Scylla
Newbie
Karma: +0/-0
Offline
Posts: 7
440.52 points View InventorySend Money to Scylla
|
 |
« Reply #227 on: November 15, 2009, 08:30:49 PM » |
|
How do I install minpsp into cygwin? I don't understand........
Also there has to be some way to use sudo in cygwin. Argh!! How do I get this to work!
PS: Im in windows
|
|
|
|
« Last Edit: November 15, 2009, 08:50:37 PM by Scylla »
|
Logged
|
|
|
|
mowglisanu
C/C++ Developer
Hero Member
Karma: +36/-11
Offline
Posts: 787
0.00 points View InventorySend Money to mowglisanu
|
 |
« Reply #228 on: November 15, 2009, 08:53:48 PM » |
|
>How do I install minpsp into cygwin? I don't understand........ You don't. just follow the link and read the instructions
|
|
|
|
|
Logged
|
|
|
|
Scylla
Newbie
Karma: +0/-0
Offline
Posts: 7
440.52 points View InventorySend Money to Scylla
|
 |
« Reply #229 on: November 15, 2009, 09:06:03 PM » |
|
Yeah but I'm more suited to the toolchain tuts that I've used off this site. Why isn't sudo working?
|
|
|
|
|
Logged
|
|
|
|
|
|
Scylla
Newbie
Karma: +0/-0
Offline
Posts: 7
440.52 points View InventorySend Money to Scylla
|
 |
« Reply #231 on: November 15, 2009, 09:31:36 PM » |
|
Nah it doesn't work. Perhaps I didn't install anything right when installing cygwin?
EDIT: Okay it turns out it was something I did wrong when installing cygwin. Now its going through everything.
Also it said at the beginning: "........../pspdev does not exist or is not a directory"
or something, is this normal?
|
|
|
|
« Last Edit: November 15, 2009, 10:08:21 PM by Scylla »
|
Logged
|
|
|
|
Scylla
Newbie
Karma: +0/-0
Offline
Posts: 7
440.52 points View InventorySend Money to Scylla
|
 |
« Reply #232 on: November 16, 2009, 04:24:14 PM » |
|
I managed to get ./toolchain.sh running. I leave it running for a good few hours. I come back to find tons of errors: remotejoy.c:27:28: linux/joystick.h: No such file or directory remotejoy.c: In function `get_joyinfo': remotejoy.c:322: warning: implicit declaration of function `ioctl' remotejoy.c:322: warning: implicit declaration of function `JSIOCGNAME' remotejoy.c:328: error: `JSIOCGVERSION' undeclared (first use in this function) remotejoy.c:328: error: (Each undeclared identifier is reported only once remotejoy.c:328: error: for each function it appears in.) remotejoy.c:334: error: `JSIOCGAXES' undeclared (first use in this function) remotejoy.c:340: error: `JSIOCGBUTTONS' undeclared (first use in this function) remotejoy.c: At top level: remotejoy.c:465: warning: "struct js_event" declared inside parameter list remotejoy.c:465: warning: its scope is only this definition or declaration, whic h is probably not what you want remotejoy.c: In function `read_event': remotejoy.c:471: error: invalid application of `sizeof' to incomplete type `js_e vent' remotejoy.c:485: error: dereferencing pointer to incomplete type remotejoy.c:485: error: `JS_EVENT_INIT' undeclared (first use in this function) remotejoy.c:490: error: dereferencing pointer to incomplete type remotejoy.c: In function `make_mapfile': remotejoy.c:502: error: storage size of 'joydata' isn't known remotejoy.c:539: error: `JS_EVENT_AXIS' undeclared (first use in this function) remotejoy.c:552: error: `JS_EVENT_BUTTON' undeclared (first use in this function ) remotejoy.c:502: warning: unused variable `joydata' remotejoy.c: In function `mainloop': remotejoy.c:631: error: storage size of 'joydata' isn't known remotejoy.c:682: error: `JS_EVENT_INIT' undeclared (first use in this function) remotejoy.c:684: error: `JS_EVENT_BUTTON' undeclared (first use in this function ) remotejoy.c:710: error: `JS_EVENT_AXIS' undeclared (first use in this function) remotejoy.c:631: warning: unused variable `joydata' make[1]: *** [remotejoy.o] Error 1 make[1]: Leaving directory `/home/Taylor/psptoolchain/build/psplinkusb/tools/rem otejoy/pc' make: *** [all] Error 2 ../scripts/009-psplinkusb.sh: Failed.
This just isn't working......I've tried all that I can. I cannot find any instructions on how to use MinPSPW, and I'm not even sure how it works. This is my first time programming with the PSP and I would really like to get started soon. The IDE I use is Code::Blocks...so how do I get this SDK thing integrated into it? Do I just run the pspsdk setup file and all is good?
|
|
|
|
|
Logged
|
|
|
|
mowglisanu
C/C++ Developer
Hero Member
Karma: +36/-11
Offline
Posts: 787
0.00 points View InventorySend Money to mowglisanu
|
 |
« Reply #233 on: November 16, 2009, 05:58:10 PM » |
|
if just psplink failed then you should be set.
>I cannot find any instructions on how to use MinPSPW, and I'm not even sure how it works. Did you check the website?
|
|
|
|
|
Logged
|
|
|
|
Raiden
Newbie
Karma: +0/-0
Offline
Posts: 7
381.65 points View InventorySend Money to Raiden
|
 |
« Reply #234 on: December 12, 2009, 08:17:17 AM » |
|
Sorry for bumping this thread, but Iīve a big problem with installing the toolchain. First everythingīs ok, but when itīs trying to install/download(  ) "newlib" from http://ftp://sources.redhat.com/pub/newlib/newlib-1.16.0.tar.gz there comes an error. Itīs trying this many, many times until itīs giving up.  -------------------------------------------------------------------------------------------  I installed the whole Cygwin before. Hope you know my fault. (Oh and this thing "newlib" is needed, isnīt it?)
|
|
|
|
|
Logged
|
|
|
|
Raphael
Global Moderator
Hero Member
Karma: +230/-10
Offline
Posts: 1431
193700.11 points View InventorySend Money to Raphael
|
 |
« Reply #235 on: December 12, 2009, 12:10:01 PM » |
|
First, you can't bump a sticky anyway, so don't worry  Second, yes, newlib is required. Third, looks like sources.redhat.com is down, so either wait until it is back up or follow these steps: - open up psptoolchain/scripts/004-newlib-1.16.0.sh in an Editor - replace the URL in line 8 with any one of the following that works for you: http://www.filewatcher.com/m/newlib-1.16.0.tar.gz.12024353.0.0.html- start toolchain.sh again as in the tutorial
|
|
|
|
|
Logged
|
|
|
|
Raiden
Newbie
Karma: +0/-0
Offline
Posts: 7
381.65 points View InventorySend Money to Raiden
|
 |
« Reply #236 on: December 12, 2009, 02:33:15 PM » |
|
Oh sorry, I was missunderstanding you. Thanks for help! Well, didn´t worked aswell:( Maybe you can post the 004-newlib-1.16.0.sh, cause my didn´t worked?
|
|
|
|
« Last Edit: December 12, 2009, 03:30:49 PM by Raiden »
|
Logged
|
|
|
|
Raphael
Global Moderator
Hero Member
Karma: +230/-10
Offline
Posts: 1431
193700.11 points View InventorySend Money to Raphael
|
 |
« Reply #237 on: December 12, 2009, 05:26:53 PM » |
|
#!/bin/sh # newlib-1.16.0.sh by Dan Peori (danpeori@oopo.net)
## Exit on errors set -e
## Download the source code. wget --continue ftp://ftp.eenet.ee/pub/FreeBSD/distfiles/newlib-1.16.0.tar.gz ##ftp://sources.redhat.com/pub/newlib/newlib-1.16.0.tar.gz
## Unpack the source code. rm -Rf newlib-1.16.0 tar xfvz newlib-1.16.0.tar.gz
## Enter the source directory and patch the source code. cd newlib-1.16.0 patch -p1 < ../../patches/newlib-1.16.0-PSP.patch
## Create and enter the build directory. mkdir build-psp cd build-psp
## Configure the build. ../configure --prefix="$PSPDEV" --target="psp"
## Compile and install. make clean make -j 2 make install make clean
Should work, though I didn't test it as I don't have cygwin/toolchain installed at the moment EDIT: Be sure to save the file with UNIX Line Endings (Line feed only)!
|
|
|
|
« Last Edit: December 13, 2009, 10:29:30 AM by Raphael »
|
Logged
|
|
|
|
Sudndeth
Newbie
Karma: +0/-1
Offline
Posts: 6
448.56 points View InventorySend Money to Sudndeth
|
 |
« Reply #238 on: January 02, 2010, 01:11:35 AM » |
|
thanks for posting a ( Cywgin easy 7 steps thread) it actually installed.....im gana try it out...oh and your ....server web link haz an error...u no the thing with multiple options to download and install Cygwin packages.. Cygwin Steup
Unable to get setup.ini from <http://sources-redhat.mirror.redwire.net>
also one of the packages are not available and thats " libmpfr0" i checked 20 servers and i stoped at 20 servers and none of them had it...not even the one you gave us....... http://sources-redhat.mirror.redwire.netok and i can't change directorys to the " build/psplinkusb/" Code: --------------------------------------------------------- cd build/psplinkusb/ make && make release---------------------------------------------------------- i also checked manually for psplink_manual.pdf (Acrobat) or psplink_manual.sxw by going to C:/cygwin/ [and searched for for it] and nothing.... oh!! and plz dont say im the only one with errors...
|
|
|
|
|
Logged
|
|
|
|
Sudndeth
Newbie
Karma: +0/-1
Offline
Posts: 6
448.56 points View InventorySend Money to Sudndeth
|
 |
« Reply #239 on: January 02, 2010, 01:44:22 AM » |
|
I have this problem, anyone know what it means??  looks like you skiped a step........step 5....
|
|
|
|
« Last Edit: January 02, 2010, 01:46:14 AM by Sudndeth »
|
Logged
|
|
|
|
|