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 

parse error?

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



Joined: 11 Aug 2005
Posts: 9

PostPosted: Thu Aug 11, 2005 1:55 pm    Post subject: parse error? Reply with quote

/* Callback thread */
int CallbackThread(SceSize args, void *argp) {
int cbid;

cbid = sceKernelCreateCallback("Exit Callback", exit_callback, NULL);
sceKernelRegisterExitCallback(cbid);

sceKernelSleepThreadCB();

return 0;


it says that theres an error before args, and since ive used this with a functioning program before, im not sure what's wrong, help would be appreciated.
_________________
Mike3285: wtf is a palindrome
MaroonSand: no its not dude
Back to top
View user's profile Send private message
Warren



Joined: 24 Jan 2004
Posts: 173
Location: San Diego, CA

PostPosted: Thu Aug 11, 2005 1:55 pm    Post subject: Reply with quote

you're probably not including the file that defines SceSize
Back to top
View user's profile Send private message
orphan frequently



Joined: 11 Aug 2005
Posts: 9

PostPosted: Thu Aug 11, 2005 3:07 pm    Post subject: Reply with quote

im using the win32 setup as opposed to the cygwin setup i used last time (no choice there), so would there be any way i messed up, by not putting all the files in correctly?
_________________
Mike3285: wtf is a palindrome
MaroonSand: no its not dude
Back to top
View user's profile Send private message
Agoln



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

PostPosted: Fri Aug 12, 2005 4:01 pm    Post subject: Reply with quote

dont use any win32 app, delete everything you have done so far and start over with http://wiki.pspdev.org/psp:programming_faq

That site will get you the latest and greatest.

(if you dont want to do that, then maybe you missed a header file somewhere?)
_________________
Lego of my Ago!
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