Problem with compile pspgl

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

Moderators: cheriff, TyRaNiD

Post Reply
Seagaetcm
Posts: 10
Joined: Sat Jun 30, 2007 2:09 pm
Location: Peking, China

Problem with compile pspgl

Post by Seagaetcm »

I had download pspgl via svn. but it can not be compile correctly by pspdev environment. some errors reported:

psp-gcc -std=gnu99 -g -Wall -Wmissing-prototypes -Os -G0 -fsingle-precision-constant -I. -I d:/pspdev/psp/include -I :/pspdev/psp/sdk/include -funit-at-a-time
-MD -MF .deps/eglBindTexImage.d -c eglBindTexImage.c
In file included from d:/pspdev/psp/sdk/include/psptypes.h(22) ,
from pspgl_internal.h(293) ,
from eglBindTexImage.c(1) :
/cygdrive/d/pspdev/bin/../lib/gcc/psp/4.0.2/../../../../psp/include/stdint.h(84) : error: conflicting types for 'uint32_t'
pspgl_misc.h(6) : error: previous declaration of 'uint32_t' was here
make: *** [eglBindTexImage.o] Error 1

how can i do to fix it ? thanks for your help.
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

Just conflicting types, as it said. easy to fix.
I commited a fix in rev 2264.
Seagaetcm
Posts: 10
Joined: Sat Jun 30, 2007 2:09 pm
Location: Peking, China

Post by Seagaetcm »

I had update the code just now, it is fixed. thanks Jim.
Post Reply