Compiling Darkplaces with Dev-C++
Moderator: InsideQC Admins
15 posts
• Page 1 of 1
Compiling Darkplaces with Dev-C++
Hello, first post! Sorry if this is a noob question, but I did spend some time searching this section to see if there was a post about this, not to mention searching on Google.
I think i'm missing a library of some sort, because I cannot get the Darkplaces to compile no matter what I do. It's a clean install of Dev-C++ and a clean copy of the Darkplaces source. No changes have been made.
If anyone can point to what i'm doing wrong, i'd greatly appreciate it!
I think i'm missing a library of some sort, because I cannot get the Darkplaces to compile no matter what I do. It's a clean install of Dev-C++ and a clean copy of the Darkplaces source. No changes have been made.
- Code: Select all
Compiler: Default compiler
Building Makefile: "C:\games\Quake\Code\darkplaces\Makefile.win"
Executing make clean
rm -f zone.o cd_shared.o cd_win.o cl_collision.o cl_demo.o cl_input.o cl_main.o cl_parse.o cl_particles.o cl_screen.o cl_video.o cmd.o collision.o common.o conproc.o console.o polygon.o curves.o cvar.o dpvsimpledecode.o filematch.o fractalnoise.o fs.o gl_backend.o gl_draw.o gl_rmain.o gl_rsurf.o gl_textures.o host.o host_cmd.o image.o jpeg.o keys.o lhnet.o mathlib.o matrixlib.o menu.o meshqueue.o model_alias.o model_brush.o model_shared.o model_sprite.o netconn.o palette.o portals.o protocol.o prvm_cmds.o prvm_edict.o prvm_exec.o builddate.o r_explosion.o r_lerpanim.o r_lightning.o r_modules.o r_shadow.o r_sky.o r_sprites.o sbar.o snd_main.o snd_mem.o snd_mix.o snd_ogg.o snd_wav.o snd_win.o sv_main.o sv_move.o sv_phys.o sv_user.o sys_shared.o sys_win.o vid_shared.o vid_wgl.o view.o wad.o world.o svvm_cmds.o mvm_cmds.o csprogs.o image_png.o mdfour.o libcurl.o clvm_cmds.o svbsp.o sv_demo.o snd_modplug.o cl_gecko.o cl_dyntexture.o hmac.o cap_avi.o cap_ogg.o darkplaces_private.res darkplaces.exe
gcc.exe -c zone.c -o zone.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c cd_shared.c -o cd_shared.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c cd_win.c -o cd_win.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c cl_collision.c -o cl_collision.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c cl_demo.c -o cl_demo.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c cl_input.c -o cl_input.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c cl_main.c -o cl_main.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c cl_parse.c -o cl_parse.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c cl_particles.c -o cl_particles.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c cl_screen.c -o cl_screen.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c cl_video.c -o cl_video.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c cmd.c -o cmd.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c collision.c -o collision.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c common.c -o common.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c conproc.c -o conproc.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c console.c -o console.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c polygon.c -o polygon.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c curves.c -o curves.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c cvar.c -o cvar.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c dpvsimpledecode.c -o dpvsimpledecode.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c filematch.c -o filematch.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c fractalnoise.c -o fractalnoise.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c fs.c -o fs.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c gl_backend.c -o gl_backend.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c gl_draw.c -o gl_draw.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c gl_rmain.c -o gl_rmain.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c gl_rsurf.c -o gl_rsurf.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c gl_textures.c -o gl_textures.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c host.c -o host.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c host_cmd.c -o host_cmd.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c image.c -o image.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c jpeg.c -o jpeg.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c keys.c -o keys.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c lhnet.c -o lhnet.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c mathlib.c -o mathlib.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c matrixlib.c -o matrixlib.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c menu.c -o menu.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c meshqueue.c -o meshqueue.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c model_alias.c -o model_alias.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c model_brush.c -o model_brush.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c model_shared.c -o model_shared.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c model_sprite.c -o model_sprite.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c netconn.c -o netconn.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c palette.c -o palette.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c portals.c -o portals.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c protocol.c -o protocol.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c prvm_cmds.c -o prvm_cmds.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c prvm_edict.c -o prvm_edict.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c prvm_exec.c -o prvm_exec.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c builddate.c -o builddate.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c r_explosion.c -o r_explosion.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c r_lerpanim.c -o r_lerpanim.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c r_lightning.c -o r_lightning.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c r_modules.c -o r_modules.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c r_shadow.c -o r_shadow.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c r_sky.c -o r_sky.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c r_sprites.c -o r_sprites.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c sbar.c -o sbar.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c snd_main.c -o snd_main.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c snd_mem.c -o snd_mem.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c snd_mix.c -o snd_mix.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c snd_ogg.c -o snd_ogg.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c snd_wav.c -o snd_wav.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c snd_win.c -o snd_win.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c sv_main.c -o sv_main.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c sv_move.c -o sv_move.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c sv_phys.c -o sv_phys.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c sv_user.c -o sv_user.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c sys_shared.c -o sys_shared.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c sys_win.c -o sys_win.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c vid_shared.c -o vid_shared.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c vid_wgl.c -o vid_wgl.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c view.c -o view.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c wad.c -o wad.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c world.c -o world.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c svvm_cmds.c -o svvm_cmds.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c mvm_cmds.c -o mvm_cmds.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c csprogs.c -o csprogs.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c image_png.c -o image_png.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c mdfour.c -o mdfour.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c libcurl.c -o libcurl.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c clvm_cmds.c -o clvm_cmds.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c svbsp.c -o svbsp.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c sv_demo.c -o sv_demo.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c snd_modplug.c -o snd_modplug.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c cl_gecko.c -o cl_gecko.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c cl_dyntexture.c -o cl_dyntexture.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c hmac.c -o hmac.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c cap_avi.c -o cap_avi.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
gcc.exe -c cap_ogg.c -o cap_ogg.o -I"C:/Dev-Cpp/include" -Wall -O2 -fno-strict-aliasing -ffast-math -funroll-loops
windres.exe -i darkplaces_private.rc --input-format=rc -o darkplaces_private.res -O coff
gcc.exe zone.o cd_shared.o cd_win.o cl_collision.o cl_demo.o cl_input.o cl_main.o cl_parse.o cl_particles.o cl_screen.o cl_video.o cmd.o collision.o common.o conproc.o console.o polygon.o curves.o cvar.o dpvsimpledecode.o filematch.o fractalnoise.o fs.o gl_backend.o gl_draw.o gl_rmain.o gl_rsurf.o gl_textures.o host.o host_cmd.o image.o jpeg.o keys.o lhnet.o mathlib.o matrixlib.o menu.o meshqueue.o model_alias.o model_brush.o model_shared.o model_sprite.o netconn.o palette.o portals.o protocol.o prvm_cmds.o prvm_edict.o prvm_exec.o builddate.o r_explosion.o r_lerpanim.o r_lightning.o r_modules.o r_shadow.o r_sky.o r_sprites.o sbar.o snd_main.o snd_mem.o snd_mix.o snd_ogg.o snd_wav.o snd_win.o sv_main.o sv_move.o sv_phys.o sv_user.o sys_shared.o sys_win.o vid_shared.o vid_wgl.o view.o wad.o world.o svvm_cmds.o mvm_cmds.o csprogs.o image_png.o mdfour.o libcurl.o clvm_cmds.o svbsp.o sv_demo.o snd_modplug.o cl_gecko.o cl_dyntexture.o hmac.o cap_avi.o cap_ogg.o darkplaces_private.res -o "darkplaces.exe" -L"C:/Dev-Cpp/lib" -mwindows -lwinmm -lws2_32 -luser32 -lgdi32 -ldxguid -ldinput -lcomctl32 -Wl,--large-address-aware -s
console.o(.text+0x205e):console.c: undefined reference to `utf8_enable'
console.o(.text+0x219a):console.c: undefined reference to `u8_bytelen'
console.o(.text+0x21c6):console.c: undefined reference to `u8_encodech'
console.o(.text+0x2d78):console.c: undefined reference to `utf8_enable'
console.o(.text+0x2e59):console.c: undefined reference to `u8_encodech'
gl_draw.o(.text+0xdf6):gl_draw.c: undefined reference to `Font_LoadFont'
gl_draw.o(.text+0x139d):gl_draw.c: undefined reference to `Font_MapForIndex'
gl_draw.o(.text+0x13c6):gl_draw.c: undefined reference to `Font_SnapTo'
gl_draw.o(.text+0x13ea):gl_draw.c: undefined reference to `Font_MapForIndex'
gl_draw.o(.text+0x1413):gl_draw.c: undefined reference to `Font_SnapTo'
gl_draw.o(.text+0x1437):gl_draw.c: undefined reference to `Font_MapForIndex'
gl_draw.o(.text+0x1465):gl_draw.c: undefined reference to `Font_SnapTo'
gl_draw.o(.text+0x1484):gl_draw.c: undefined reference to `Font_MapForIndex'
gl_draw.o(.text+0x14ad):gl_draw.c: undefined reference to `Font_SnapTo'
gl_draw.o(.text+0x14d1):gl_draw.c: undefined reference to `Font_MapForIndex'
gl_draw.o(.text+0x14fa):gl_draw.c: undefined reference to `Font_SnapTo'
gl_draw.o(.text+0x151e):gl_draw.c: undefined reference to `Font_MapForIndex'
gl_draw.o(.text+0x1547):gl_draw.c: undefined reference to `Font_SnapTo'
gl_draw.o(.text+0x156b):gl_draw.c: undefined reference to `Font_MapForIndex'
gl_draw.o(.text+0x1595):gl_draw.c: undefined reference to `Font_SnapTo'
gl_draw.o(.text+0x15b4):gl_draw.c: undefined reference to `Font_MapForIndex'
gl_draw.o(.text+0x15d9):gl_draw.c: undefined reference to `Font_SnapTo'
gl_draw.o(.text+0x1612):gl_draw.c: undefined reference to `Font_UnloadFont'
gl_draw.o(.text+0x1d83):gl_draw.c: undefined reference to `font_start'
gl_draw.o(.text+0x1ff7):gl_draw.c: undefined reference to `font_shutdown'
gl_draw.o(.text+0x2f70):gl_draw.c: undefined reference to `Font_IndexForSize'
gl_draw.o(.text+0x2f85):gl_draw.c: undefined reference to `Font_MapForIndex'
gl_draw.o(.text+0x3016):gl_draw.c: undefined reference to `utf8_enable'
gl_draw.o(.text+0x3033):gl_draw.c: undefined reference to `u8_quake2utf8map'
gl_draw.o(.text+0x31d3):gl_draw.c: undefined reference to `u8_getnchar_utf8_enabled'
gl_draw.o(.text+0x3285):gl_draw.c: undefined reference to `FontMap_FindForChar'
gl_draw.o(.text+0x334b):gl_draw.c: undefined reference to `Font_GetKerningForMap'
gl_draw.o(.text+0x3380):gl_draw.c: undefined reference to `Font_LoadMapForIndex'
gl_draw.o(.text+0x354e):gl_draw.c: undefined reference to `Font_IndexForSize'
gl_draw.o(.text+0x3563):gl_draw.c: undefined reference to `Font_MapForIndex'
gl_draw.o(.text+0x3818):gl_draw.c: undefined reference to `utf8_enable'
gl_draw.o(.text+0x3835):gl_draw.c: undefined reference to `u8_quake2utf8map'
gl_draw.o(.text+0x3bd2):gl_draw.c: undefined reference to `u8_getnchar_utf8_enabled'
gl_draw.o(.text+0x3c26):gl_draw.c: undefined reference to `FontMap_FindForChar'
gl_draw.o(.text+0x3c4c):gl_draw.c: undefined reference to `Font_LoadMapForIndex'
gl_draw.o(.text+0x3fde):gl_draw.c: undefined reference to `Font_GetKerningForMap'
gl_draw.o(.text+0x2035):gl_draw.c: undefined reference to `font_newmap'
gl_rmain.o(.text+0x9df6):gl_rmain.c: undefined reference to `Font_Init'
host.o(.text+0xfe5):host.c: undefined reference to `u8_Init'
host_cmd.o(.text+0x324a):host_cmd.c: undefined reference to `u8_COM_StringLengthNoColors'
keys.o(.text+0x144):keys.c: undefined reference to `u8_fromchar'
keys.o(.text+0x1bc):keys.c: undefined reference to `u8_prevbyte'
keys.o(.text+0x2046):keys.c: undefined reference to `u8_charidx'
keys.o(.text+0x21b5):keys.c: undefined reference to `u8_bytelen'
keys.o(.text+0x23ab):keys.c: undefined reference to `u8_prevbyte'
keys.o(.text+0x2491):keys.c: undefined reference to `u8_prevbyte'
keys.o(.text+0x25de):keys.c: undefined reference to `u8_prevbyte'
keys.o(.text+0x2768):keys.c: undefined reference to `u8_bytelen'
keys.o(.text+0x2aa6):keys.c: undefined reference to `u8_bytelen'
keys.o(.text+0x2df0):keys.c: undefined reference to `u8_fromchar'
model_brush.o(.text+0xfc72):model_brush.c: undefined reference to `BIH_Build'
prvm_cmds.o(.text+0x489c):prvm_cmds.c: undefined reference to `u8_strlen'
prvm_cmds.o(.text+0x4987):prvm_cmds.c: undefined reference to `u8_COM_StringLengthNoColors'
prvm_cmds.o(.text+0x4bdf):prvm_cmds.c: undefined reference to `u8_byteofs'
prvm_cmds.o(.text+0x4bf1):prvm_cmds.c: undefined reference to `u8_bytelen'
prvm_cmds.o(.text+0x4c93):prvm_cmds.c: undefined reference to `u8_strlen'
prvm_cmds.o(.text+0x4ca4):prvm_cmds.c: undefined reference to `u8_strlen'
prvm_cmds.o(.text+0x6ae9):prvm_cmds.c: undefined reference to `u8_fromchar'
prvm_cmds.o(.text+0xb0e9):prvm_cmds.c: undefined reference to `u8_bytelen'
prvm_cmds.o(.text+0xb149):prvm_cmds.c: undefined reference to `u8_strnlen'
prvm_cmds.o(.text+0xb1e3):prvm_cmds.c: undefined reference to `u8_bytelen'
prvm_cmds.o(.text+0xb1f6):prvm_cmds.c: undefined reference to `utf8_enable'
prvm_cmds.o(.text+0xb244):prvm_cmds.c: undefined reference to `u8_getchar_utf8_enabled'
prvm_cmds.o(.text+0xb2b9):prvm_cmds.c: undefined reference to `u8_fromchar'
prvm_cmds.o(.text+0xd566):prvm_cmds.c: undefined reference to `u8_strpad'
prvm_cmds.o(.text+0xd600):prvm_cmds.c: undefined reference to `u8_encodech'
collect2: ld returned 1 exit status
make.exe: *** [darkplaces.exe] Error 1
Execution terminated
If anyone can point to what i'm doing wrong, i'd greatly appreciate it!
- OpenMaw
- Posts: 11
- Joined: Sat Jun 18, 2011 11:54 am
I tried downloading and installing the freetype pack, but it didn't help.
I'm really confused. I've read some folks havent had to do anything other than have a fresh copy of DEVC++ and the darkplaces source. I must be missing something though.
I'm really confused. I've read some folks havent had to do anything other than have a fresh copy of DEVC++ and the darkplaces source. I must be missing something though.
Open Maw Productions
- OpenMaw
- Posts: 11
- Joined: Sat Jun 18, 2011 11:54 am
had a small peek it seems to be integrated in the darkplaces source
my guess is that the ft2.c file is missing in the project.
i think LH laid of devcpp some time back (most use codeblocks nowadays) so the project file might not be updated for recent changes.
it should be pretty easy adding the missing files to the project though.
my guess is that the ft2.c file is missing in the project.
i think LH laid of devcpp some time back (most use codeblocks nowadays) so the project file might not be updated for recent changes.
it should be pretty easy adding the missing files to the project though.
-

revelator - Posts: 2567
- Joined: Thu Jan 24, 2008 12:04 pm
- Location: inside tha debugger
Gave that a try, and the error persists unchanged. I don't get it.
Thank you for your assistance though reckless, I very much appreciate the attempt.
I just gave codeblocks a try and I get the same error messages. I got this source off the offical darkplaces website too, so I can't imagine its the code that's broken. It's got to be my setup, or lack thereof.
Simply refuses to compile I tells ya!
Thank you for your assistance though reckless, I very much appreciate the attempt.
I just gave codeblocks a try and I get the same error messages. I got this source off the offical darkplaces website too, so I can't imagine its the code that's broken. It's got to be my setup, or lack thereof.
Simply refuses to compile I tells ya!
Open Maw Productions
- OpenMaw
- Posts: 11
- Joined: Sat Jun 18, 2011 11:54 am
here ya go
http://www.2shared.com/file/FqxHT3e7/da ... locks.html
a few other files were missing like the utf library files
tested and compiles fine.
if you need project files for the sdl and dedicated builds ill make some codeblocks ones.
http://www.2shared.com/file/FqxHT3e7/da ... locks.html
a few other files were missing like the utf library files
tested and compiles fine.
if you need project files for the sdl and dedicated builds ill make some codeblocks ones.
-

revelator - Posts: 2567
- Joined: Thu Jan 24, 2008 12:04 pm
- Location: inside tha debugger
hmm strange what version of mingw do you use with codeblocks ?
codeblocks has a weird problem of showing warnings as errors at times you can safely disregard those but check if the executable is built if it is then all is ok. it should be in the darkplaces source folder if created.
fast way of checking if all is ok is just hitting build again (not rebuild) if it still throws errors then something is wrong if not you should have a working darkplaces executable.
codeblocks has a weird problem of showing warnings as errors at times you can safely disregard those but check if the executable is built if it is then all is ok. it should be in the darkplaces source folder if created.
fast way of checking if all is ok is just hitting build again (not rebuild) if it still throws errors then something is wrong if not you should have a working darkplaces executable.
-

revelator - Posts: 2567
- Joined: Thu Jan 24, 2008 12:04 pm
- Location: inside tha debugger
- Code: Select all
Linking executable: darkplaces.exe
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: reopening darkplaces.exe: Permission denied
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: final link failed: Permission denied
collect2: ld returned 1 exit status
Process terminated with status 1 (1 minutes, 33 seconds)
0 errors, 0 warnings
Now it's saying i'm missing a "zone.h" file... What the heck? And there isn't one in there, so, um... Very strange.
*sigh*
- Code: Select all
-------------- Build: default in DarkPlaces ---------------
Compiling: builddate.c
Compiling: cap_avi.c
In file included from C:\games\Quake\Code\darkplaces\cap_avi.c:1:
C:\games\Quake\Code\darkplaces\quakedef.h:358:18: error: zone.h: No such file or directory
In file included from C:\games\Quake\Code\darkplaces\quakedef.h:359,
from C:\games\Quake\Code\darkplaces\cap_avi.c:1:
C:\games\Quake\Code\darkplaces\fs.h:109: error: expected declaration specifiers or '...' before 'mempool_t'
C:\games\Quake\Code\darkplaces\fs.h:129: error: expected declaration specifiers or '...' before 'mempool_t'
C:\games\Quake\Code\darkplaces\fs.h:130: error: expected declaration specifiers or '...' before 'mempool_t'
In file included from C:\games\Quake\Code\darkplaces\quakedef.h:371,
from C:\games\Quake\Code\darkplaces\cap_avi.c:1:
C:\games\Quake\Code\darkplaces\netconn.h:225: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from C:\games\Quake\Code\darkplaces\quakedef.h:372,
from C:\games\Quake\Code\darkplaces\cap_avi.c:1:
C:\games\Quake\Code\darkplaces\protocol.h:577: error: expected ')' before '*' token
C:\games\Quake\Code\darkplaces\protocol.h:615: error: expected specifier-qualifier-list before 'mempool_t'
C:\games\Quake\Code\darkplaces\protocol.h:640: error: expected ')' before '*' token
C:\games\Quake\Code\darkplaces\protocol.h:798: error: expected ')' before '*' token
C:\games\Quake\Code\darkplaces\protocol.h:979: error: expected ')' before '*' token
In file included from C:\games\Quake\Code\darkplaces\quakedef.h:376,
from C:\games\Quake\Code\darkplaces\cap_avi.c:1:
C:\games\Quake\Code\darkplaces\model_shared.h:875: error: expected specifier-qualifier-list before 'mempool_t'
In file included from C:\games\Quake\Code\darkplaces\quakedef.h:376,
from C:\games\Quake\Code\darkplaces\cap_avi.c:1:
C:\games\Quake\Code\darkplaces\model_shared.h:1013: error: expected ')' before '*' token
C:\games\Quake\Code\darkplaces\model_shared.h:1020: error: expected ')' before '*' token
C:\games\Quake\Code\darkplaces\model_shared.h:1021: error: expected ')' before '*' token
C:\games\Quake\Code\darkplaces\model_shared.h:1023: error: expected ')' before '*' token
C:\games\Quake\Code\darkplaces\model_shared.h:1024: error: expected ')' before '*' token
C:\games\Quake\Code\darkplaces\model_shared.h:1025: error: expected ')' before '*' token
C:\games\Quake\Code\darkplaces\model_shared.h:1026: error: expected ')' before '*' token
C:\games\Quake\Code\darkplaces\quakedef.h:377:19: error: world.h: No such file or directory
In file included from C:\games\Quake\Code\darkplaces\client.h:26,
from C:\games\Quake\Code\darkplaces\quakedef.h:378,
from C:\games\Quake\Code\darkplaces\cap_avi.c:1:
C:\games\Quake\Code\darkplaces\snd_main.h:131: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from C:\games\Quake\Code\darkplaces\quakedef.h:378,
from C:\games\Quake\Code\darkplaces\cap_avi.c:1:
C:\games\Quake\Code\darkplaces\client.h:606: error: expected specifier-qualifier-list before 'mempool_t'
C:\games\Quake\Code\darkplaces\client.h:1211: error: expected specifier-qualifier-list before 'world_t'
In file included from C:\games\Quake\Code\darkplaces\quakedef.h:379,
from C:\games\Quake\Code\darkplaces\cap_avi.c:1:
C:\games\Quake\Code\darkplaces\render.h:228: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from C:\games\Quake\Code\darkplaces\quakedef.h:380,
from C:\games\Quake\Code\darkplaces\cap_avi.c:1:
C:\games\Quake\Code\darkplaces\progs.h:56: error: expected specifier-qualifier-list before 'link_t'
In file included from C:\games\Quake\Code\darkplaces\quakedef.h:381,
from C:\games\Quake\Code\darkplaces\cap_avi.c:1:
C:\games\Quake\Code\darkplaces\progsvm.h:414: error: expected specifier-qualifier-list before 'memexpandablearray_t'
In file included from C:\games\Quake\Code\darkplaces\quakedef.h:382,
from C:\games\Quake\Code\darkplaces\cap_avi.c:1:
C:\games\Quake\Code\darkplaces\server.h:98: error: expected specifier-qualifier-list before 'world_t'
In file included from C:\games\Quake\Code\darkplaces\quakedef.h:382,
from C:\games\Quake\Code\darkplaces\cap_avi.c:1:
C:\games\Quake\Code\darkplaces\server.h:468: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
C:\games\Quake\Code\darkplaces\server.h:540: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SV_TraceBox'
C:\games\Quake\Code\darkplaces\server.h:541: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SV_TraceLine'
C:\games\Quake\Code\darkplaces\server.h:542: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SV_TracePoint'
In file included from C:\games\Quake\Code\darkplaces\quakedef.h:386,
from C:\games\Quake\Code\darkplaces\cap_avi.c:1:
C:\games\Quake\Code\darkplaces\console.h:126: error: expected declaration specifiers or '...' before 'mempool_t'
C:\games\Quake\Code\darkplaces\cap_avi.c: In function 'SCR_CaptureVideo_RIFF_Start':
C:\games\Quake\Code\darkplaces\cap_avi.c:35: error: 'client_static_t' has no member named 'capturevideo'
C:\games\Quake\Code\darkplaces\cap_avi.c: In function 'SCR_CaptureVideo_RIFF_Flush':
C:\games\Quake\Code\darkplaces\cap_avi.c:44: error: 'client_static_t' has no member named 'capturevideo'
C:\games\Quake\Code\darkplaces\cap_avi.c:47: error: 'client_static_t' has no member named 'capturevideo'
C:\games\Quake\Code\darkplaces\cap_avi.c:48: error: 'client_static_t' has no member named 'capturevideo'
C:\games\Quake\Code\darkplaces\cap_avi.c: In function 'SCR_CaptureVideo_RIFF_FlushNoIncrease':
C:\games\Quake\Code\darkplaces\cap_avi.c:57: error: 'client_static_t' has no member named 'capturevideo'
C:\games\Quake\Code\darkplaces\cap_avi.c:60: error: 'client_static_t' has no member named 'capturevideo'
C:\games\Quake\Code\darkplaces\cap_avi.c:61: error: 'client_static_t' has no member named 'capturevideo'
C:\games\Quake\Code\darkplaces\cap_avi.c: In function 'SCR_CaptureVideo_RIFF_WriteBytes':
C:\games\Quake\Code\darkplaces\cap_avi.c:69: error: 'client_static_t' has no member named 'capturevideo'
C:\games\Quake\Code\darkplaces\cap_avi.c:71: error: 'client_static_t' has no member named 'capturevideo'
C:\games\Quake\Code\darkplaces\cap_avi.c:72: error: 'client_static_t' has no member named 'capturevideo'
C:\games\Quake\Code\darkplaces\cap_avi.c: In function 'SCR_CaptureVideo_RIFF_Write32':
C:\games\Quake\Code\darkplaces\cap_avi.c:78: error: 'client_static_t' has no member named 'capturevideo'
C:\games\Quake\Code\darkplaces\cap_avi.c: In function 'SCR_CaptureVideo_RIFF_Write16':
C:\games\Quake\Code\darkplaces\cap_avi.c:86: error: 'client_static_t' has no member named 'capturevideo'
C:\games\Quake\Code\darkplaces\cap_avi.c: In function 'SCR_CaptureVideo_RIFF_WriteFourCC':
C:\games\Quake\Code\darkplaces\cap_avi.c:94: error: 'client_static_t' has no member named 'capturevideo'
C:\games\Quake\Code\darkplaces\cap_avi.c: In function 'SCR_CaptureVideo_RIFF_WriteTerminatedString':
C:\games\Quake\Code\darkplaces\cap_avi.c:102: error: 'client_static_t' has no member named 'capturevideo'
C:\games\Quake\Code\darkplaces\cap_avi.c: In function 'SCR_CaptureVideo_RIFF_GetPosition':
C:\games\Quake\Code\darkplaces\cap_avi.c:110: error: 'client_static_t' has no member named 'capturevideo'
C:\games\Quake\Code\darkplaces\cap_avi.c: In function 'SCR_CaptureVideo_RIFF_Push':
C:\games\Quake\Code\darkplaces\cap_avi.c:118: error: 'client_static_t' has no member named 'capturevideo'
C:\games\Quake\Code\darkplaces\cap_avi.c: In function 'SCR_CaptureVideo_RIFF_Pop':
C:\games\Quake\Code\darkplaces\cap_avi.c:134: error: 'client_static_t' has no member named 'capturevideo'
C:\games\Quake\Code\darkplaces\cap_avi.c:157: error: 'client_static_t' has no member named 'capturevideo'
C:\games\Quake\Code\darkplaces\cap_avi.c:159: error: 'client_static_t' has no member named 'capturevideo'
Process terminated with status 1 (0 minutes, 1 seconds)
50 errors, 0 warnings
Open Maw Productions
- OpenMaw
- Posts: 11
- Joined: Sat Jun 18, 2011 11:54 am
the reopening error is caused by file permission errors i have the same on win7 64 hitting build again usually takes care of it but aye its very annoying.
zone.h missing huh i got zone.h in my source so something seems to have gone wrong somewhere.
ill zip my source try building it with that.
http://www.2shared.com/file/6uN6RlR6/darkplaces.html
also make sure that you get rid of dev-cpp mingw contains an ancient bug causing gcc to get confused if theres more than one mingw installed on your system.
zone.h missing huh i got zone.h in my source so something seems to have gone wrong somewhere.
ill zip my source try building it with that.
http://www.2shared.com/file/6uN6RlR6/darkplaces.html
also make sure that you get rid of dev-cpp mingw contains an ancient bug causing gcc to get confused if theres more than one mingw installed on your system.
-

revelator - Posts: 2567
- Joined: Thu Jan 24, 2008 12:04 pm
- Location: inside tha debugger
15 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest