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 

Compiling Under (XP) w/cygwin : ISSUES

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



Joined: 26 Jun 2005
Posts: 4

PostPosted: Sun Jun 26, 2005 4:37 am    Post subject: Compiling Under (XP) w/cygwin : ISSUES Reply with quote

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.
Back to top
View user's profile Send private message
jboldiga



Joined: 20 Jun 2005
Posts: 27

PostPosted: Sun Jun 26, 2005 4:42 am    Post subject: Reply with quote

they are only warning, not errors...should still compile fine.
Back to top
View user's profile Send private message
Smeg0rz



Joined: 26 Jun 2005
Posts: 4

PostPosted: Sun Jun 26, 2005 4:43 am    Post subject: Reply with quote

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

:(
Back to top
View user's profile Send private message
Agoln



Joined: 08 Jun 2005
Posts: 326
Location: Fort Wayne, IN

PostPosted: Sun Jun 26, 2005 6:28 am    Post subject: Reply with quote

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)
Back to top
View user's profile Send private message AIM Address
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