Hello, i've been looking thru these forums for a while, and usually solve most problems by searching this forum, but since getting back into coding, i've never used Cygwin before.
I'm after some help with compiling nem's 'hellopsp' source code. Having installed Cygwin with the required features I continued to follow some instructions to help setup the tool kit utilities.
(These are what i'm following : http://staff.philau.edu/barberej/psp_dev_guide.htm )
After i type 'psp-gcc -g -c pg.c' i get the following errors, and i really have tryed my best googling/searching for this fault, but could find nothing, so i thought maybe since i've done much research myself on this issue someone here could help me.
Error :
pg.c: In Function 'pgFillvram':
pg.c:110: Warning: Pointer targets in assignment differ in signedness
pg.c: In Function 'pgBitBlt':
pg.c:124:Warning: Pointer targets in assignment differ in signedness
pg.c: In Function 'pgPutChar':
pg.c:153: warning: comparison is always false due to limited range of data type
pg.c:155: warning: Pointer targets in assignment differ in signedness
If anyone could help me, would be really great!
Cheers guys.
Compiling Under (XP) w/cygwin : ISSUES
Ok, thanks I wasnt sure not to continue with these 'warnings' but i shall continue and see what i get!
Thanks.
Continued and it seems to be going ok, but on the last part :
mkdir elf2pbp
cd elf2pbp
wget http://www.internalreality.com/elf2pbp3.zip
unzip elf2pbp3.zip
cd src
g++ elf2pbp.cpp -o elf2pbp
cp elf2pbp ../
cd /psphome/src/hellopsp_src/
../../elf2pbp/elf2pbp outp
elf src compiles ok, but when ii type :
cp elf2pbp ../
cd /psphome/src/hellopsp_src/
../../elf2pbp/elf2pbp outp
I get :
bash : ../../elf2pbp/elf2pbp: Premission Denied
:(
Thanks.
Continued and it seems to be going ok, but on the last part :
mkdir elf2pbp
cd elf2pbp
wget http://www.internalreality.com/elf2pbp3.zip
unzip elf2pbp3.zip
cd src
g++ elf2pbp.cpp -o elf2pbp
cp elf2pbp ../
cd /psphome/src/hellopsp_src/
../../elf2pbp/elf2pbp outp
elf src compiles ok, but when ii type :
cp elf2pbp ../
cd /psphome/src/hellopsp_src/
../../elf2pbp/elf2pbp outp
I get :
bash : ../../elf2pbp/elf2pbp: Premission Denied
:(
I dont know how cgywin does root.. but type in 'su' w/o the ''s and that *might* get you to root, which you can then do that.
If you still cant, try a 'chmod u+x FILE' on the file, then try running it again. What that'll do is say "i want this FILE to modify the permissions (chmod) so that this current user (u) can add excecutible rights (+x)
If you still cant, try a 'chmod u+x FILE' on the file, then try running it again. What that'll do is say "i want this FILE to modify the permissions (chmod) so that this current user (u) can add excecutible rights (+x)