Well, I also got a compilation error. Here is my compilation error:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Owner>cd\ps2dev\ps2sdk-ports\sdl
C:\PS2Dev\ps2sdk-ports\sdl>make
make -C src
make[1]: Entering directory `/cygdrive/c/PS2Dev/ps2sdk-ports/sdl/src'
ee-gcc -D_EE -O2 -G0 -Wall -DDISABLE_TIMERS -DDISABLE_CDROM -DNO_SIGNAL_H -DDEBU
G_ERROR -DDEBUG_VIDEO -DUSE_MATH_H -DENABLE_PS2SDK -I/ee/include -I/common/inclu
de -I. -I../include -Ivideo -Ithread -Ievents -Itimer -Iaudio -Ijoystick -Icdrom
-I/ee/gs/include -I/ee/dma/include -c video/ps2sdk/SDL_ps2video.c -o video/ps2s
dk/SDL_ps2video.o
video/ps2sdk/SDL_ps2video.c:37:19: gsKit.h: No such file or directory
video/ps2sdk/SDL_ps2video.c:38:20: dmaKit.h: No such file or directory
video/ps2sdk/SDL_ps2video.c:81: parse error before "BLACK_RGBAQ"
video/ps2sdk/SDL_ps2video.c:81: warning: type defaults to `int' in declaration o
f `BLACK_RGBAQ'
video/ps2sdk/SDL_ps2video.c:81: warning: implicit declaration of function `GS_SE
TREG_RGBAQ'
video/ps2sdk/SDL_ps2video.c:81: initializer element is not constant
video/ps2sdk/SDL_ps2video.c:81: warning: data definition has no type or storage
class
video/ps2sdk/SDL_ps2video.c:82: parse error before "TEXTURE_RGBAQ"
video/ps2sdk/SDL_ps2video.c:82: warning: type defaults to `int' in declaration o
f `TEXTURE_RGBAQ'
video/ps2sdk/SDL_ps2video.c:82: initializer element is not constant
video/ps2sdk/SDL_ps2video.c:82: warning: data definition has no type or storage
class
video/ps2sdk/SDL_ps2video.c:84: parse error before "gsClut"
video/ps2sdk/SDL_ps2video.c:84: warning: type defaults to `int' in declaration o
f `gsClut'
video/ps2sdk/SDL_ps2video.c:84: warning: data definition has no type or storage
class
video/ps2sdk/SDL_ps2video.c:85: parse error before '*' token
video/ps2sdk/SDL_ps2video.c:85: warning: type defaults to `int' in declaration o
f `gsGlobal'
video/ps2sdk/SDL_ps2video.c:85: warning: data definition has no type or storage
class
video/ps2sdk/SDL_ps2video.c:86: parse error before "gsTexture"
video/ps2sdk/SDL_ps2video.c:86: warning: type defaults to `int' in declaration o
f `gsTexture'
video/ps2sdk/SDL_ps2video.c:86: warning: data definition has no type or storage
class
video/ps2sdk/SDL_ps2video.c: In function `PS2_VideoInit':
video/ps2sdk/SDL_ps2video.c:97: warning: implicit declaration of function `gsKit
_init_global'
video/ps2sdk/SDL_ps2video.c:97: `GS_MODE_PAL' undeclared (first use in this func
tion)
video/ps2sdk/SDL_ps2video.c:97: (Each undeclared identifier is reported only onc
e
video/ps2sdk/SDL_ps2video.c:97: for each function it appears in.)
video/ps2sdk/SDL_ps2video.c:97: warning: assignment makes pointer from integer w
ithout a cast
video/ps2sdk/SDL_ps2video.c:106: warning: implicit declaration of function `dmaK
it_init'
video/ps2sdk/SDL_ps2video.c:106: `D_CTRL_RELE_ON' undeclared (first use in this
function)
video/ps2sdk/SDL_ps2video.c:106: `D_CTRL_MFD_OFF' undeclared (first use in this
function)
video/ps2sdk/SDL_ps2video.c:106: `D_CTRL_STS_UNSPEC' undeclared (first use in th
is function)
video/ps2sdk/SDL_ps2video.c:106: `D_CTRL_STD_OFF' undeclared (first use in this
function)
video/ps2sdk/SDL_ps2video.c:106: `D_CTRL_RCYC_8' undeclared (first use in this f
unction)
video/ps2sdk/SDL_ps2video.c:107: warning: implicit declaration of function `dmaK
it_chan_init'
video/ps2sdk/SDL_ps2video.c:107: `DMA_CHANNEL_GIF' undeclared (first use in this
function)
video/ps2sdk/SDL_ps2video.c:112: warning: implicit declaration of function `gsKi
t_init_screen'
video/ps2sdk/SDL_ps2video.c:114: warning: implicit declaration of function `gsKi
t_clear'
video/ps2sdk/SDL_ps2video.c: In function `PS2_DeleteDevice':
video/ps2sdk/SDL_ps2video.c:130: warning: implicit declaration of function `free
'
video/ps2sdk/SDL_ps2video.c: In function `PS2_SetVideoMode':
video/ps2sdk/SDL_ps2video.c:182: `GS_PSM_T4' undeclared (first use in this funct
ion)
video/ps2sdk/SDL_ps2video.c:186: `GS_PSM_T8' undeclared (first use in this funct
ion)
video/ps2sdk/SDL_ps2video.c:190: `GS_PSM_CT16' undeclared (first use in this fun
ction)
video/ps2sdk/SDL_ps2video.c:197: `GS_PSM_CT24' undeclared (first use in this fun
ction)
video/ps2sdk/SDL_ps2video.c:204: `GS_PSM_CT32' undeclared (first use in this fun
ction)
video/ps2sdk/SDL_ps2video.c:216: warning: implicit declaration of function `gsKi
t_texture_size'
video/ps2sdk/SDL_ps2video.c:217: request for member `Width' in something not a s
tructure or union
video/ps2sdk/SDL_ps2video.c:218: request for member `Height' in something not a
structure or union
video/ps2sdk/SDL_ps2video.c:219: request for member `PSM' in something not a str
ucture or union
video/ps2sdk/SDL_ps2video.c:220: request for member `Mem' in something not a str
ucture or union
video/ps2sdk/SDL_ps2video.c:220: warning: implicit declaration of function `mall
oc'
video/ps2sdk/SDL_ps2video.c:221: request for member `Mem' in something not a str
ucture or union
video/ps2sdk/SDL_ps2video.c:227: request for member `Mem' in something not a str
ucture or union
video/ps2sdk/SDL_ps2video.c:228: request for member `Vram' in something not a st
ructure or union
video/ps2sdk/SDL_ps2video.c:228: warning: implicit declaration of function `gsKi
t_vram_alloc'
video/ps2sdk/SDL_ps2video.c:232: request for member `Clut' in something not a st
ructure or union
video/ps2sdk/SDL_ps2video.c:233: request for member `VramClut' in something not
a structure or union
video/ps2sdk/SDL_ps2video.c:233: `u32' undeclared (first use in this function)
video/ps2sdk/SDL_ps2video.c:233: parse error before "gsKit_vram_alloc"
video/ps2sdk/SDL_ps2video.c:238: request for member `Clut' in something not a st
ructure or union
video/ps2sdk/SDL_ps2video.c:239: request for member `VramClut' in something not
a structure or union
video/ps2sdk/SDL_ps2video.c:245: request for member `Mem' in something not a str
ucture or union
video/ps2sdk/SDL_ps2video.c:255: request for member `Mem' in something not a str
ucture or union
video/ps2sdk/SDL_ps2video.c:258: request for member `Width' in something not a s
tructure or union
video/ps2sdk/SDL_ps2video.c:259: request for member `Height' in something not a
structure or union
video/ps2sdk/SDL_ps2video.c: In function `PS2_UpdateRects':
video/ps2sdk/SDL_ps2video.c:331: warning: implicit declaration of function `gsKi
t_texture_upload'
video/ps2sdk/SDL_ps2video.c:342: warning: implicit declaration of function `gsKi
t_prim_sprite_texture'
video/ps2sdk/SDL_ps2video.c:351: warning: implicit declaration of function `gsKi
t_sync_flip'
make[1]: *** [video/ps2sdk/SDL_ps2video.o] Error 1
make[1]: Leaving directory `/cygdrive/c/PS2Dev/ps2sdk-ports/sdl/src'
make: *** [all-src] Error 2
C:\PS2Dev\ps2sdk-ports\sdl>
Here is a copy of my paths to the PS2 Compiler/libraries (I use a batch file called ps2dev.bat):
rem Run this from a command prompt to setup your ps2dev settings
set PS2DEV=C:\PS2DEV
set PS2GCC=%PS2DEV%\gcc
set PS2LIB=%PS2DEV%\ps2lib
Set PATH=%PATH%;%PS2DEV%\share;%PS2GCC%\ee\bin;%PS2GCC%\iop\bin;%PS2GCC%\dvp\bin;%PS2GCC%\ee\ee\bin;%PS2GCC%\dvp\dvp\bin;%PS2GCC%\iop\iop\bin;
set PS2SDK=%PS2DEV%\ps2sdk
set PS2SDKSRC=%ps2dev%\ps2sdk
set SUPERLIB=%PS2DEV%\superlib
set SBV-1.0-LITE=%PS2DEV%\sbv
set PS2DRV-1.2=%PS2DEV%\ps2drv
set PADLIB1.2=%PS2DEV%\padlib1.2
set MATH3D=%PS2DEV%\math3d
set LIBPS2MPEG=%PS2DEV%\libps2mpeg
set LIBITO=%PS2DEV%\libito
set LIBHDD=%PS2DEV%\libhdd
set LIBCDVD=%PS2DEV%\libcdvd
set GSULIB=%PS2DEV%\gsulib-1.0.0
set GSLIB=%PS2DEV%\gslib
set GSKIT=%PS2DEV%\gsKit
set FREETYPE=%PS2DEV%\freetype-2.1.4
set FRAMEWORK=%PS2DEV%\framework
set NEWLIB=%PS2DEV%\newlib
set DREAMGL=%PS2DEV%\dream_gl
set DMALIB=%PS2DEV%\dmalib-1.2.0
set KAPI=%PS2DEV%\KAPI
set SDL=%PS2DEV%\ps2sdk-ports\sdl
set SDLMIXER=%PS2DEV\ps2sdk-ports\sdlmixer
I'm getting compile errors for every lib that I try to compile. I'm useing the PS2Dev for Win32 compiler from Loser which is at
http://www.internalreality.com/ (It's from July 2004)
You no mess with Lo Wang- Lo Wang (Shadow Warrior).