Index | FAQ | Search | Memberlist | Usergroups | Profile | Log in to check your private messages | Log in | Register

(Noob) Issues Compiling PSP Quake v1.1

| Inside3d Forums Forum Index -> Engine Programming

View previous topic :: View next topic
Author | Message
--- | ---
LonePossum. Joined: 02 Nov 2009 Posts: 38 |

Posted: Sun Jan 31, 2010 6:48 am Post subject: (Noob) Issues Compiling PSP Quake v1.1 |

Alright Ive decided to slowly learn the functions etc for engine coding and I wanted to start of my "Learning" with PSP Quake v1.1 by Juraj Styk . But I am having issues compiling it. My setup is fine for PSP Cygwin / PSPtoolchain etc. Ive tried both 1.1 and 1.0 by Juraj Styk but I get same errors.

Code:
$ make psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -ffast-math -O3 -G0 -Wall -Did38 6="0" -DPSP -DPSP_HARDWARE_VIDEO -fno-rtti -Wcast-qual -D_PSP_FW_VERSION=150 -c -o battery.o battery.cpp battery.cpp: In function 'void quake::battery::check()':
battery.cpp:66: warning: deprecated conversion from string constant to 'char*'
battery.cpp:86: warning: deprecated conversion from string constant to 'char*'
battery.cpp:92: warning: deprecated conversion from string constant to 'char*'
psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -ffast-math -O3 -G0 -Wall -Did38
6="0" -DPSP -DPSP_HARDWARE_VIDEO -fno-rtti -Wcast-qual -D_PSP_FW_VERSION=150
-c -o input.o input.cpp
input.cpp: In function 'void IN_Commands()':
input.cpp:228: warning: deprecated conversion from string constant to 'char*'
input.cpp: At global scope:
input.cpp:65: warning: 'float quake::input::applyDeadZone(float, float)' defined
but not used
psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -ffast-math -O3 -G0 -Wall -Did38
6="0" -DPSP -DPSP_HARDWARE_VIDEO -fno-rtti -Wcast-qual -D_PSP_FW_VERSION=150
-c -o main.o main.cpp
main.cpp:161: warning: deprecated conversion from string constant to 'char*'
main.cpp: In function 'void StartUpParams(char**, int, char*, char*, char*)':
main.cpp:184: warning: deprecated conversion from string constant to 'char*'
main.cpp:239: warning: deprecated conversion from string constant to 'char*'
main.cpp:242: warning: deprecated conversion from string constant to 'char*'
main.cpp:243: warning: deprecated conversion from string constant to 'char*'
main.cpp:265: warning: deprecated conversion from string constant to 'char*'
main.cpp:266: warning: deprecated conversion from string constant to 'char*'
main.cpp:347: warning: deprecated conversion from string constant to 'char*'
main.cpp:348: warning: deprecated conversion from string constant to 'char*'
main.cpp:378: warning: deprecated conversion from string constant to 'char*'
main.cpp:387: warning: deprecated conversion from string constant to 'char*'
main.cpp:388: warning: deprecated conversion from string constant to 'char*'
main.cpp:393: warning: deprecated conversion from string constant to 'char*'
main.cpp:395: warning: deprecated conversion from string constant to 'char*'
main.cpp: In function 'int main(int, char**)':
main.cpp:486: warning: deprecated conversion from string constant to 'char*'
main.cpp:487: warning: deprecated conversion from string constant to 'char*'
main.cpp:498: warning: deprecated conversion from string constant to 'char*'
main.cpp:499: warning: deprecated conversion from string constant to 'char*'
main.cpp:527: warning: deprecated conversion from string constant to 'char*'
main.cpp:537: warning: deprecated conversion from string constant to 'char*'
main.cpp:605: warning: deprecated conversion from string constant to 'char*'
psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -ffast-math -O3 -G0 -Wall -Did38
6="0" -DPSP -DPSP_HARDWARE_VIDEO -fno-rtti -Wcast-qual -D_PSP_FW_VERSION=150
-c -o math.o math.cpp
psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -ffast-math -O3 -G0 -Wall -Did38
6="0" -DPSP -DPSP_HARDWARE_VIDEO -fno-rtti -Wcast-qual -D_PSP_FW_VERSION=150
-c -o sound.o sound.cpp
psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -ffast-math -O3 -G0 -Wall -Did38
6="0" -DPSP -DPSP_HARDWARE_VIDEO -fno-rtti -Wcast-qual -D_PSP_FW_VERSION=150
-c -o system.o system.cpp
system.cpp: In function 'void quake::system::suspend()':
system.cpp:80: warning: deprecated conversion from string constant to 'char*'
system.cpp:98: warning: deprecated conversion from string constant to 'char*'
system.cpp: In function 'void quake::system::resume()':
system.cpp:103: warning: deprecated conversion from string constant to 'char*'
system.cpp:128: warning: deprecated conversion from string constant to 'char*'
system.cpp: In function 'int Sys_FileOpenRead(char*, int*)':
system.cpp:160: warning: deprecated conversion from string constant to 'char*'
system.cpp:165: warning: deprecated conversion from string constant to 'char*'
system.cpp:177: warning: deprecated conversion from string constant to 'char*'
system.cpp: In function 'int Sys_FileOpenWrite(char*)':
system.cpp:208: warning: deprecated conversion from string constant to 'char*'
system.cpp: In function 'void Sys_FileSeek(int, int)':
system.cpp:226: warning: deprecated conversion from string constant to 'char*'
system.cpp: In function 'void Sys_mkdir(char*)':
system.cpp:265: warning: deprecated conversion from string constant to 'char*'
system.cpp: In function 'char* Sys_FindFirstFile(char*, char*)':
system.cpp:399: warning: deprecated conversion from string constant to 'char*'
system.cpp: In function 'char* Sys_FindNextFile()':
system.cpp:434: warning: deprecated conversion from string constant to 'char*'
psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -ffast-math -O3 -G0 -Wall -Did38
6="0" -DPSP -DPSP_HARDWARE_VIDEO -fno-rtti -Wcast-qual -D_PSP_FW_VERSION=150
-c -o module.o module.cpp
psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -ffast-math -O3 -G0 -Wall -Did38
6="0" -DPSP -DPSP_HARDWARE_VIDEO -fno-rtti -Wcast-qual -D_PSP_FW_VERSION=150
-c -o network.o network.cpp
network.cpp:65: warning: deprecated conversion from string constant to 'char*'
network.cpp:65: warning: deprecated conversion from string constant to 'char*'
network.cpp:97: warning: deprecated conversion from string constant to 'char*'
psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -ffast-math -O3 -G0 -Wall -Did38
6="0" -DPSP -DPSP_HARDWARE_VIDEO -fno-rtti -Wcast-qual -D_PSP_FW_VERSION=150
-c -o network_infrastructure.o network_infrastructure.cpp
network_infrastructure.cpp:47: warning: deprecated conversion from string consta
nt to 'char*'
network_infrastructure.cpp:47: warning: deprecated conversion from string consta
nt to 'char*'
network_infrastructure.cpp: In function 'int quake::network::infrastructure::ini
t()':
network_infrastructure.cpp:82: warning: deprecated conversion from string consta
nt to 'char*'
network_infrastructure.cpp:109: warning: deprecated conversion from string const
ant to 'char*'
network_infrastructure.cpp:117: warning: deprecated conversion from string const
ant to 'char*'
network_infrastructure.cpp:126: error: cannot convert 'char*' to 'SceNetApctlInf
o*' for argument '2' to 'int sceNetApctlGetInfo(int, SceNetApctlInfo*)'
network_infrastructure.cpp:135: warning: deprecated conversion from string const
ant to 'char*'
network_infrastructure.cpp:138: warning: deprecated conversion from string const
ant to 'char*'
network_infrastructure.cpp:146: warning: deprecated conversion from string const
ant to 'char*'
network_infrastructure.cpp:159: warning: deprecated conversion from string const
ant to 'char*'
network_infrastructure.cpp: In function 'void quake::network::infrastructure::li
sten(qboolean)':
network_infrastructure.cpp:189: warning: deprecated conversion from string const
ant to 'char*'
network_infrastructure.cpp: In function 'int quake::network::infrastructure::bro
adcast(int, byte*, int)':
network_infrastructure.cpp:305: warning: deprecated conversion from string const
ant to 'char*'
network_infrastructure.cpp:309: warning: deprecated conversion from string const
ant to 'char*'
network_infrastructure.cpp: In function 'int quake::network::infrastructure::wri
te(int, byte*, int, qsockaddr*)':
network_infrastructure.cpp:331: warning: deprecated conversion from string const
ant to 'char*'
network_infrastructure.cpp: In function 'int quake::network::infrastructure::con
nect_to_apctl(int)':
network_infrastructure.cpp:540: warning: deprecated conversion from string const
ant to 'char*'
make: *** [network_infrastructure.o] Error 1
User@AARON ~/cygwin/home/user/Quake-PSP2/psp
$

Noob here go easy lol.
Peace

Back to top |

Team Xlink Joined: 25 Jun 2009 Posts: 320 |

Posted: Sun Jan 31, 2010 8:42 am Post subject: |

My tutorial tells how to fix that error. It is the same error for the same files named differently http://forums.inside3d.com/viewtopic.php?t=1667 _________________

Anonymous wrote:
if it works, it works. if it doesn't, HAHAHA!

Back to top |

LonePossum. Joined: 02 Nov 2009 Posts: 38 |

Posted: Sun Jan 31, 2010 10:26 am Post subject: |

I did that tutorial for the Quake 2.0 And it worked like a charm but I want to start from the 1.1 and I did that tut in it and either I still am getting errors or I am not understanding what cygwin is telling me. Heres what I got this time ( After doing the quake part of your tut )

Code:
video_hardware_model.cpp: In function 'void Mod_LoadTextures(lump_t*)': video_hardware_model.cpp:398: warning: deprecated conversion from string constan t to 'char*' video_hardware_model.cpp:405: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_model.cpp:418: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_model.cpp:468: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_model.cpp:496: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_model.cpp:505: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_model.cpp:517: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_model.cpp: In function 'void Mod_LoadVertexes(lump_t*)':
video_hardware_model.cpp:592: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_model.cpp: In function 'void Mod_LoadSubmodels(lump_t*)':
video_hardware_model.cpp:620: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_model.cpp: In function 'void Mod_LoadEdges(lump_t*)':
video_hardware_model.cpp:656: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_model.cpp: In function 'void Mod_LoadTexinfo(lump_t*)':
video_hardware_model.cpp:685: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_model.cpp:725: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_model.cpp: In function 'void CalcSurfaceExtents(msurface_t*)':
video_hardware_model.cpp:785: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_model.cpp: In function 'void Mod_LoadFaces(lump_t*)':
video_hardware_model.cpp:804: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_model.cpp:840: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_model.cpp:849: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_model.cpp: In function 'void Mod_LoadNodes(lump_t*)':
video_hardware_model.cpp:892: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_model.cpp: In function 'void Mod_LoadLeafs(lump_t*)':
video_hardware_model.cpp:939: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_model.cpp: In function 'void Mod_LoadClipnodes(lump_t*)':
video_hardware_model.cpp:993: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_model.cpp: In function 'void Mod_LoadMarksurfaces(lump_t*)':
video_hardware_model.cpp:1084: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_model.cpp:1095: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_model.cpp: In function 'void Mod_LoadSurfedges(lump_t*)':
video_hardware_model.cpp:1112: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_model.cpp: In function 'void Mod_LoadPlanes(lump_t*)':
video_hardware_model.cpp:1139: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_model.cpp: In function 'void Mod_LoadBrushModel(model_t*, void*)'
:
video_hardware_model.cpp:1197: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_model.cpp:1202: warning: comparison between signed and unsigned i
nteger expressions
video_hardware_model.cpp: In function 'void* Mod_LoadAliasFrame(void*, maliasfra
medesc_t*)':
video_hardware_model.cpp:1292: warning: unused variable 'pframe'
video_hardware_model.cpp:1293: warning: unused variable 'j'
video_hardware_model.cpp: In function 'void* Mod_LoadAllSkins(int, daliasskintyp
e_t*)':
video_hardware_model.cpp:1466: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_model.cpp:1456: warning: unused variable 'copy'
video_hardware_model.cpp:1458: warning: unused variable 'texels'
video_hardware_model.cpp: In function 'void Mod_LoadAliasModel(model_t*, void*)'
:
video_hardware_model.cpp:1535: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_model.cpp:1558: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_model.cpp:1563: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_model.cpp:1566: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_model.cpp:1571: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_model.cpp:1576: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_model.cpp:1522: warning: unused variable 'numskins'
video_hardware_model.cpp: In function 'void* Mod_LoadSpriteGroup(void*, mspritef
rame_t**, int)':
video_hardware_model.cpp:1752: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_model.cpp: In function 'void Mod_LoadSpriteModel(model_t*, void*)
':
video_hardware_model.cpp:1789: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_model.cpp:1815: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_model.cpp: In function 'void Mod_Print()':
video_hardware_model.cpp:1857: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_model.cpp:1860: warning: deprecated conversion from string consta
nt to 'char*'
psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -ffast-math -O3 -G0 -Wall -Did38
6="0" -DPSP -DPSP_HARDWARE_VIDEO -fno-rtti -Wcast-qual -D_PSP_FW_VERSION=150
-c -o video_hardware_screen.o video_hardware_screen.cpp
video_hardware_screen.cpp:87: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_screen.cpp:87: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_screen.cpp:88: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_screen.cpp:88: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_screen.cpp:89: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_screen.cpp:89: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_screen.cpp:90: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_screen.cpp:90: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_screen.cpp:91: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_screen.cpp:91: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_screen.cpp:92: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_screen.cpp:92: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_screen.cpp:93: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_screen.cpp:93: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_screen.cpp:94: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_screen.cpp:94: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_screen.cpp:96: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_screen.cpp:96: warning: deprecated conversion from string constan
t to 'char*'
video_hardware_screen.cpp: In function 'float CalcFov(float, float, float)':
video_hardware_screen.cpp:243: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_screen.cpp: In function 'void SCR_CalcRefdef()':
video_hardware_screen.cpp:279: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_screen.cpp:279: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_screen.cpp:281: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_screen.cpp:281: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_screen.cpp:285: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_screen.cpp:285: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_screen.cpp:287: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_screen.cpp:287: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_screen.cpp:325: warning: comparison between signed and unsigned i
nteger expressions
video_hardware_screen.cpp:327: warning: comparison between signed and unsigned i
nteger expressions
video_hardware_screen.cpp: In function 'void SCR_SizeUp_f()':
video_hardware_screen.cpp:351: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_screen.cpp: In function 'void SCR_SizeDown_f()':
video_hardware_screen.cpp:365: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_screen.cpp: In function 'void SCR_Init()':
video_hardware_screen.cpp:392: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_screen.cpp:393: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_screen.cpp:394: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_screen.cpp:396: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_screen.cpp:397: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_screen.cpp:398: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_screen.cpp: In function 'void SCR_DrawPause()':
video_hardware_screen.cpp:476: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_screen.cpp: In function 'void SCR_DrawLoading()':
video_hardware_screen.cpp:495: warning: deprecated conversion from string consta
nt to 'char*'
video_hardware_screen.cpp: In function 'void SCR_UpdateScreen()':
video_hardware_screen.cpp:775: warning: deprecated conversion from string consta
nt to 'char*'
psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -ffast-math -O3 -G0 -Wall -Did38
6="0" -DPSP -DPSP_HARDWARE_VIDEO -fno-rtti -Wcast-qual -D_PSP_FW_VERSION=150
-c -o video_hardware_surface.o video_hardware_surface.cpp
video_hardware_surface.cpp: In function 'void R_BuildLightMap(msurface_t*, byte*
, int)':
video_hardware_surface.cpp:256: warning: deprecated conversion from string const
ant to 'char*'
video_hardware_surface.cpp: In function 'texture_t* R_TextureAnimation(texture_t
*)':
video_hardware_surface.cpp:289: warning: deprecated conversion from string const
ant to 'char*'
video_hardware_surface.cpp:291: warning: deprecated conversion from string const
ant to 'char*'
video_hardware_surface.cpp: In function 'void DrawGLWaterPolyLightmap(glpoly_t*)
':
video_hardware_surface.cpp:435: warning: unused variable 's'
video_hardware_surface.cpp:435: warning: unused variable 't'
video_hardware_surface.cpp:435: warning: unused variable 'os'
video_hardware_surface.cpp:435: warning: unused variable 'ot'
video_hardware_surface.cpp: In function 'void R_BlendLightmaps()':
video_hardware_surface.cpp:463: warning: unused variable 'j'
video_hardware_surface.cpp:465: warning: unused variable 'v'
video_hardware_surface.cpp:466: warning: unused variable 'theRect'
video_hardware_surface.cpp: In function 'void R_RenderDynamicLightmaps(msurface_
t*)':
video_hardware_surface.cpp:613: warning: unused variable 't'
video_hardware_surface.cpp: In function 'void R_DrawBrushModel(entity_t*)':
video_hardware_surface.cpp:822: warning: unused variable 'j'
video_hardware_surface.cpp:824: warning: unused variable 'numsurfaces'
video_hardware_surface.cpp: In function 'void R_RecursiveWorldNode(mnode_t*)':
video_hardware_surface.cpp:933: warning: unused variable 'i'
video_hardware_surface.cpp:933: warning: unused variable 'pindex'
video_hardware_surface.cpp:934: warning: unused variable 'acceptpt'
video_hardware_surface.cpp:934: warning: unused variable 'rejectpt'
video_hardware_surface.cpp:938: warning: unused variable 'd'
video_hardware_surface.cpp:939: warning: unused variable 'mins'
video_hardware_surface.cpp:939: warning: unused variable 'maxs'
video_hardware_surface.cpp: In function 'void R_DrawWorld()':
video_hardware_surface.cpp:1060: warning: unused variable 'i'
video_hardware_surface.cpp: In function 'int AllocBlock(int, int, int*, int*)':
video_hardware_surface.cpp:1182: warning: deprecated conversion from string cons
tant to 'char*'
video_hardware_surface.cpp:1148: warning: unused variable 'bestx'
video_hardware_surface.cpp: In function 'void BuildSurfaceDisplayList(msurface_t
*)':
video_hardware_surface.cpp:1285: warning: unused variable 'f'
video_hardware_surface.cpp:1198: warning: unused variable 's_axis'
video_hardware_surface.cpp:1198: warning: unused variable 't_axis'
video_hardware_surface.cpp:1199: warning: unused variable 'dist'
video_hardware_surface.cpp:1199: warning: unused variable 'lastdist'
video_hardware_surface.cpp:1199: warning: unused variable 'lzi'
video_hardware_surface.cpp:1199: warning: unused variable 'scale'
video_hardware_surface.cpp:1199: warning: unused variable 'u'
video_hardware_surface.cpp:1199: warning: unused variable 'v'
video_hardware_surface.cpp:1199: warning: unused variable 'frac'
video_hardware_surface.cpp:1200: warning: unused variable 'mask'
video_hardware_surface.cpp:1201: warning: unused variable 'local'
video_hardware_surface.cpp:1201: warning: unused variable 'transformed'
video_hardware_surface.cpp:1203: warning: unused variable 'pplane'
video_hardware_surface.cpp:1204: warning: unused variable 'newverts'
video_hardware_surface.cpp:1204: warning: unused variable 'newpage'
video_hardware_surface.cpp:1204: warning: unused variable 'lastvert'
video_hardware_surface.cpp:1205: warning: unused variable 'visible'
video_hardware_surface.cpp: In function 'void GL_CreateSurfaceLightmap(msurface_
t*)':
video_hardware_surface.cpp:1336: warning: unused variable 's'
video_hardware_surface.cpp:1336: warning: unused variable 't'
video_hardware_surface.cpp:1336: warning: unused variable 'l'
video_hardware_surface.cpp:1336: warning: unused variable 'i'
video_hardware_surface.cpp: In function 'int AllocBlock(int, int, int*, int*)':
video_hardware_surface.cpp:1183: warning: control reaches end of non-void functi
on
video_hardware_surface.cpp: At global scope:
video_hardware_surface.cpp:431: warning: 'void DrawGLWaterPolyLightmap(glpoly_t*
)' defined but not used
psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -ffast-math -O3 -G0 -Wall -Did38
6="0" -DPSP -DPSP_HARDWARE_VIDEO -fno-rtti -Wcast-qual -D_PSP_FW_VERSION=150
-c -o video_hardware_warp.o video_hardware_warp.cpp
video_hardware_warp.cpp: In function 'void SubdividePolygon(int, float*)':
video_hardware_warp.cpp:78: warning: deprecated conversion from string constant
to 'char*'
psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -ffast-math -O3 -G0 -Wall -Did38
6="0" -DPSP -DPSP_HARDWARE_VIDEO -fno-rtti -Wcast-qual -D_PSP_FW_VERSION=150
-c -o vram.o vram.cpp
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -ffast-math -O3 -G0 -Wall -Did38
6="0" -DPSP -DPSP_HARDWARE_VIDEO -D_PSP_FW_VERSION=150 -L. -L/usr/local/pspdev
/psp/sdk/lib battery.o input.o main.o math.o sound.o system.o module.o network
.o network_infrastructure.o gethost.o fnmatch.o ../cd_null.o ../chase.o ../cl_de
mo.o ../cl_input.o ../cl_main.o ../cl_parse.o ../cl_tent.o ../cmd.o ../common.o
../console.o ../crc.o ../cvar.o ../host.o ../host_cmd.o ../keys.o ../mathlib.o .
./menu.o ../net_dgrm.o ../net_loop.o ../net_main.o ../net_vcr.o ../pr_cmds.o ../
pr_edict.o ../pr_exec.o ../r_part.o ../snd_dma.o ../snd_mem.o ../snd_mix.o ../sb
ar.o ../sv_main.o ../sv_move.o ../sv_phys.o ../sv_user.o ../view.o ../wad.o ../w
orld.o ../zone.o clipping.o video_hardware.o video_hardware_draw.o video_hardwar
e_entity_fragment.o video_hardware_light.o video_hardware_main.o video_hardware_
mesh.o video_hardware_misc.o video_hardware_model.o video_hardware_screen.o vide
o_hardware_surface.o video_hardware_warp.o vram.o -lpspgum_vfpu -lpspvfpu -lpspg
u -lpspaudiolib -lpspaudio -lpsprtc -lpsppower -lstdc++ -lm -lc -lpspdebug -lpsp
display -lpspge -lpspctrl -lpspsdk -lc -lpspnet -lpspnet_inet -lpspnet_apctl -lp
spnet_resolver -lpsputility -lpspuser -lpspkernel -o Quake.elf
psp-fixup-imports Quake.elf
User@AARON /home/user/Quake-PSP2/psp
$

That is all I could get from when it ended.
Also heres what my code placement from your tut is (incase I did something wrong their too)
Ive tried to show it in a way that I have placed it.

Code:
// connected, get my IPADDR and run test if (sceNetApctlGetInfo(8, (union SceNetApctlInfo*)szMyIPAddr) != 0) // determine my name & address gethostname(buff, MAXHOSTNAMELEN);

Code:
*/ #include <limits.h> #include <algorithm> #include <cstddef>

Really Appreciate the help btw

Back to top |

Baker Joined: 14 Mar 2006 Posts: 1538 |

Posted: Sun Jan 31, 2010 11:41 am Post subject: |

Learn how to compile from Team XLink's PSPQuake 2.0 and then after doing that, make your attempts with PSPQuake 1.1 Don't take the unbeaten road first, take the smooth road first. Then you can learn from that and go to step 2. _________________
Tomorrow Never Dies. I feel this Tomorrow knocking on the door ...

Back to top |

Team Xlink Joined: 25 Jun 2009 Posts: 320 |

Posted: Sun Jan 31, 2010 6:08 pm Post subject: |

Typein this: make clean Then do make. After words tell me your errors. _________________

Anonymous wrote:
if it works, it works. if it doesn't, HAHAHA!

Back to top |

LonePossum. Joined: 02 Nov 2009 Posts: 38 |

Posted: Sun Jan 31, 2010 10:51 pm Post subject: |

@Baker I have Done 2.0 Succesfully as I said thats why I want to do 1.1. I Did make clean and I got this

Code:
User@AARON ~/cygwin/home/user/Quake-PSP2/psp $ make clean rm -f Quake.elf battery.o input.o main.o math.o sound.o system.o module.o netwo rk.o network_infrastructure.o gethost.o fnmatch.o ../cd_null.o ../chase.o ../cl_ demo.o ../cl_input.o ../cl_main.o ../cl_parse.o ../cl_tent.o ../cmd.o ../common.
o ../console.o ../crc.o ../cvar.o ../host.o ../host_cmd.o ../keys.o ../mathlib.o
../menu.o ../net_dgrm.o ../net_loop.o ../net_main.o ../net_vcr.o ../pr_cmds.o .
./pr_edict.o ../pr_exec.o ../r_part.o ../snd_dma.o ../snd_mem.o ../snd_mix.o ../
sbar.o ../sv_main.o ../sv_move.o ../sv_phys.o ../sv_user.o ../view.o ../wad.o ..
/world.o ../zone.o clipping.o video_hardware.o video_hardware_draw.o video_hardw
are_entity_fragment.o video_hardware_light.o video_hardware_main.o video_hardwar
e_mesh.o video_hardware_misc.o video_hardware_model.o video_hardware_screen.o vi
deo_hardware_surface.o video_hardware_warp.o vram.o PARAM.SFO EBOOT.PBP
User@AARON ~/cygwin/home/user/Quake-PSP2/psp
$

So that ended up not work so then I went into the PSP Folder and double clicked on "build_hw_um" and it ended up compiling it by going "make -f MakefileHW_UM_clean which results in the code above and then it uses make -f MakefileHW_UM install and it resulted in an eboot.
So I guess my problem is solved and I would like to say thanks.
And to save time not making a new thread in all. How would I go about adding a "Add Bot" and "Remove Bot" function into the Multiplayer Menu. I havent found anything on the subject *Or I am blind* .
EDIT: Frik Bots are in the Code Just to Say so its not about putting the bots into quake I just want it to do the impulse or something so that it puts the bot into the game / Same way Kurok Does it.

Back to top |

Team Xlink Joined: 25 Jun 2009 Posts: 320 |

Posted: Mon Feb 01, 2010 1:38 am Post subject: |

Actually make clean did work. That is what it is supposed to do. It deletes all of the .o files. More often then not you should use make clean, some say always use it before you compile. Some changes what do anything or some code might not give errors but it doesn't function because it should have given errors but it didn't because you didn't use make clean.
For your menu question.
I would suggest looking through the menu.c file to see how things work because it is relatively simple and easy to understand once you look through it because each menu (Main menu, multiplayer menu, options menu etc) Is done in a similar matter.
You could also look at Kurok's menu file because it also does what your asking.
I will write up a tutorial on how to do it right now anyways.
EDIT: I made the tutorial and here it is: http://forums.inside3d.com/viewtopic.php?p=21930#21930
_________________

Anonymous wrote:
if it works, it works. if it doesn't, HAHAHA!

Back to top |

LonePossum. Joined: 02 Nov 2009 Posts: 38 |

Posted: Mon Feb 01, 2010 8:49 am Post subject: |

Thanks, Posted my thoughts on the topic, in the topic.

Back to top |

Display posts from previous:

| Inside3d Forums Forum Index -> Engine Programming | All times are GMT
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 © 2004 phpBB Group