problem with sdktest

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
vbm
Posts: 3
Joined: Thu Apr 13, 2006 12:26 pm
Location: Australia
Contact:

problem with sdktest

Post by vbm »

Hey well ive spent the last couple of days installing the pspsdk and toolchain and getting code to compile in VS.Net (as per the thread in this forum). The problem im having is that i can get barbdwyer's hello world to compile and a bunch of samples from the sdk, when i try the sdktest sample to compile i get a bunch of errors. This is more out of curiousity than anything else.
The errors i get are:

Code: Select all

main.c: In function 'CallbackThread':
main.c:45: warning: passing argument 2 of 'sceKernelCreateCallback' from incompatible pointer type
main.c: In function 'dump_threadstatus':
main.c:55: error: 'ThreadStatus' undeclared (first use in this function)
main.c:55: error: (Each undeclared identifier is reported only once
main.c:55: error: for each function it appears in.)
main.c:55: error: syntax error before 'status'
main.c:59: error: 'status' undeclared (first use in this function)
main.c: In function 'SetupCallbacks':
main.c:81: warning: passing argument 2 of 'sceKernelCreateThread' from incompatible pointer type
main.c: In function 'main':
main.c:93: error: 'g_elf_name' undeclared (first use in this function)
im using the latest sdk (1.0+ beta)
psptoolchain psptoolchain-20060120.tgz

What is the go?

and yes i have done a bit of research already ;)
Has anyone seen my pants?
Post Reply