| View previous topic :: View next topic |
| Author |
Message |
Seagaetcm
Joined: 30 Jun 2007 Posts: 10 Location: Peking, China
|
Posted: Sat Jun 30, 2007 2:21 pm Post subject: Problem with compile pspgl |
|
|
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. |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Sat Jun 30, 2007 3:45 pm Post subject: |
|
|
Just conflicting types, as it said. easy to fix.
I commited a fix in rev 2264. |
|
| Back to top |
|
 |
Seagaetcm
Joined: 30 Jun 2007 Posts: 10 Location: Peking, China
|
Posted: Sat Jun 30, 2007 4:15 pm Post subject: |
|
|
| I had update the code just now, it is fixed. thanks Jim. |
|
| Back to top |
|
 |
|