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 

Could someone compile this for me? main.c inside

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



Joined: 21 Sep 2005
Posts: 1

PostPosted: Wed Sep 21, 2005 12:08 am    Post subject: Could someone compile this for me? main.c inside Reply with quote

As the title says...
My old PC's died two days ago , and i can't be able to get the SDK compiler to work on the laptop..
so...
here is the main.c ..

http://fabry20.altervista.org/main.c PLEEEEEASE
Back to top
View user's profile Send private message
EdwardFMA



Joined: 06 Jul 2005
Posts: 40

PostPosted: Wed Sep 21, 2005 5:52 am    Post subject: Reply with quote

Quote:
psp-gcc -I. -IC:/PSPDev/psp/sdk/include -O2 -G0 -Wall -c -o main.o main.c
main.c:24:22: error: pspsircs.h: No such file or directory
main.c: In function 'send_code':
main.c:48: error: storage size of 'sd' isn't known
main.c:56: warning: implicit declaration of function 'sceSircsSend'
main.c:48: warning: unused variable 'sd'
main.c: In function 'main':
main.c:98: error: 'SceCtrlData' undeclared (first use in this function)
main.c:98: error: (Each undeclared identifier is reported only once
main.c:98: error: for each function it appears in.)
main.c:98: error: parse error before 'pad'
main.c:109: error: 'PSP_CTRL_MODE_ANALOG' undeclared (first use in this function)
main.c:133: error: 'pad' undeclared (first use in this function)
main.c:194: error: 'PSP_CTRL_SELECT' undeclared (first use in this function)
main.c:194: error: 'PSP_CTRL_LTRIGGER' undeclared (first use in this function)
main.c:200: error: 'PSP_CTRL_START' undeclared (first use in this function)
main.c:206: error: 'PSP_CTRL_RTRIGGER' undeclared (first use in this function)
main.c:233: error: 'PSP_CTRL_SQUARE' undeclared (first use in this function)
main.c:238: error: 'PSP_CTRL_CIRCLE' undeclared (first use in this function)
main.c:243: error: 'PSP_CTRL_TRIANGLE' undeclared (first use in this function)
main.c:248: error: 'PSP_CTRL_CROSS' undeclared (first use in this function)
main.c:253: error: 'PSP_CTRL_UP' undeclared (first use in this function)
main.c:258: error: 'PSP_CTRL_DOWN' undeclared (first use in this function)
main.c:263: error: 'PSP_CTRL_LEFT' undeclared (first use in this function)
main.c:268: error: 'PSP_CTRL_RIGHT' undeclared (first use in this function)
main.c:442:2: warning: no newline at end of file
make: *** [main.o] Error 1


Ok i got your link to work,but this is what i get when i try to compile it
_________________
EdwardFMA/IchigoKurosaki - PSP Expert
Athlon 64 - Socket 939 - 3000+
1GB 333 DDR-Ram
Geforce 6600 GT PCI-Express

Orbis PSP Development
Open-Source Development
Back to top
View user's profile Send private message
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