Looking for some Dev

The development of the game itself or new resources for it. Any new stuff you're working on would go here, as well as the discussion of in-development stuff.

Moderator: Developers

User avatar
Zefz
Squirrel Knight (Administrator)
Squirrel Knight (Administrator)
Posts: 3820
Joined: Wed Jul 23, 2008 1:27 am
Location: Norway
Contact:

Re: Looking for some Dev

Post by Zefz »

Yes, I've already added those linker libraries to no avail (that's why I am suspecting link order silliness).

SDL_TTF: Really useful for rendering fancy fonts though. Mostly the menu GUI systems that use this.
physfs: Yes, definitely remove this at some point
enet: Remove
SDL_image: Really useful. I recommend keeping this, especially for SDL2
Windows timer: Yes, we should avoid using any platform specific code and keep everything in SDL conformance which is cross-platform
Spoiler: Current link errors
./src/game/camera.o:camera.c:(.rdata$.refptr.sdl_scr[.refptr.sdl_scr]+0x0): undefined reference to `sdl_scr'
./src/game/egoboo.o: In function `do_ego_proc_begin':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/egoboo.c:105: undefined reference to `sys_initialize()'
./src/game/egoboo.o:egoboo.c:(.rdata$.refptr.tex_params[.refptr.tex_params]+0x0): undefined reference to `tex_params'
./src/game/graphic.o: In function `gfx_system_begin_decimated_textures':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:6719: undefined reference to `oglx_texture_ctor'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:6720: undefined reference to `oglx_texture_ctor'
./src/game/graphic.o: In function `gfx_system_end_decimated_textures':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:6738: undefined reference to `oglx_texture_dtor'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:6739: undefined reference to `oglx_texture_dtor'
./src/game/graphic.o: In function `render_bad_shadow':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:3526: undefined reference to `oglx_texture_Bind'
./src/game/graphic.o: In function `gfx_create_SDL_Surface':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:471: undefined reference to `SDLX_ExpandFormat'
./src/game/graphic.o: In function `gfx_decimate_one_mesh_texture':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:6825: undefined reference to `oglx_texture_ctor'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:6835: undefined reference to `oglx_texture_Convert'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:6849: undefined reference to `oglx_texture_ctor'
./src/game/graphic.o: In function `gfx_reload_decimated_textures':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:6900: undefined reference to `oglx_texture_Valid'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:6902: undefined reference to `oglx_texture_Convert'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:6909: undefined reference to `oglx_texture_Valid'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:6911: undefined reference to `oglx_texture_Convert'
./src/game/graphic.o: In function `gfx_system_init_SDL_graphics':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:1773: undefined reference to `SDL_GL_set_stdout'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:1776: undefined reference to `SDL_GL_set_mode'
./src/game/graphic.o: In function `gfx_system_uninit_OpenGL()':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:1623: undefined reference to `Egoboo_Renderer_OpenGL_uninitialize()'
./src/game/graphic.o: In function `gfx_system_init_OpenGL()':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:1629: undefined reference to `Egoboo_Renderer_OpenGL_initialize()'
./src/game/graphic.o: In function `draw_blip(float, unsigned char, float, float, bool)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:2173: undefined reference to `oglx_texture_getTextureWidth'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:2174: undefined reference to `oglx_texture_getTextureWidth'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:2175: undefined reference to `oglx_texture_getTextureHeight'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:2176: undefined reference to `oglx_texture_getTextureHeight'
./src/game/graphic.o: In function `draw_mouse_cursor()':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:3273: undefined reference to `oglx_texture_getSize'
./src/game/graphic.o: In function `render_scene_mesh_ndr':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:3814: undefined reference to `oglx_end_culling'
./src/game/graphic.o: In function `render_scene_mesh_ref':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:3941: undefined reference to `oglx_begin_culling'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:3967: undefined reference to `oglx_end_culling'
./src/game/graphic.o: In function `render_scene_mesh_ref_chr':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:4023: undefined reference to `oglx_end_culling'
./src/game/graphic.o: In function `render_scene_mesh_drf_solid':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:4062: undefined reference to `oglx_end_culling'
./src/game/graphic.o: In function `render_scene_solid':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:4309: undefined reference to `oglx_end_culling'
./src/game/graphic.o: In function `render_world_overlay':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:4783: undefined reference to `oglx_end_culling'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:4793: undefined reference to `oglx_texture_Bind'
./src/game/graphic.o: In function `render_world_background':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:4616: undefined reference to `oglx_texture_Bind'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:4631: undefined reference to `oglx_end_culling'
./src/game/graphic.o: In function `render_shadow':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic.c:3389: undefined reference to `oglx_texture_Bind'
./src/game/graphic.o:graphic.c:(.rdata$.refptr.ogl_caps[.refptr.ogl_caps]+0x0): undefined reference to `ogl_caps'
./src/game/graphic.o:graphic.c:(.rdata$.refptr.white_vec[.refptr.white_vec]+0x0): undefined reference to `white_vec'
./src/game/graphic_billboard.o: In function `billboard_data_printf_ttf(s_billboard_data*, s_Font*, SDL_Color, char const*, ...)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_billboard.c:147: undefined reference to `oglx_texture_Release'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_billboard.c:154: undefined reference to `oglx_grab_texture_state'
./src/game/graphic_billboard.o: In function `billboard_system_render_one(s_billboard_data*, float, float const*, float const*)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_billboard.c:412: undefined reference to `oglx_texture_Bind'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_billboard.c:414: undefined reference to `oglx_texture_getImageWidth'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_billboard.c:415: undefined reference to `oglx_texture_getImageHeight'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_billboard.c:417: undefined reference to `oglx_texture_getTextureWidth'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_billboard.c:418: undefined reference to `oglx_texture_getTextureHeight'
./src/game/graphic_billboard.o: In function `billboard_system_render_all(camera_t const*)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_billboard.c:502: undefined reference to `oglx_end_culling'
./src/game/graphic_fan.o: In function `render_hmap_fan(ego_mesh_t const*, unsigned int)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_fan.c:302: undefined reference to `oglx_texture_Bind'
./src/game/graphic_fan.o: In function `render_water_fan(ego_mesh_t const*, unsigned int, unsigned char)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_fan.c:386: undefined reference to `oglx_texture_getTextureWidth'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_fan.c:386: undefined reference to `oglx_texture_getImageWidth'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_fan.c:387: undefined reference to `oglx_texture_getTextureHeight'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_fan.c:387: undefined reference to `oglx_texture_getImageHeight'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_fan.c:411: undefined reference to `oglx_end_culling'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_fan.c:482: undefined reference to `oglx_texture_Bind'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_fan.c:497: undefined reference to `oglx_begin_culling'
./src/game/graphic_mad.o: In function `render_one_mad_enviro':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_mad.c:152: undefined reference to `Egoboo_Renderer_OpenGL_multMatrix(s_fmat_4x4 const*)'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_mad.c:156: undefined reference to `Egoboo_Renderer_OpenGL_multMatrix(s_fmat_4x4 const*)'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_mad.c:160: undefined reference to `oglx_texture_Bind'
./src/game/graphic_mad.o: In function `render_one_mad_tex':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_mad.c:356: undefined reference to `Egoboo_Renderer_OpenGL_multMatrix(s_fmat_4x4 const*)'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_mad.c:360: undefined reference to `Egoboo_Renderer_OpenGL_multMatrix(s_fmat_4x4 const*)'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_mad.c:364: undefined reference to `oglx_texture_Bind'
./src/game/graphic_mad.o: In function `render_one_mad_ref(camera_t const*, unsigned short)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_mad.c:601: undefined reference to `oglx_begin_culling'
./src/game/graphic_mad.o: In function `render_one_mad_trans(camera_t const*, unsigned short)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_mad.c:691: undefined reference to `oglx_begin_culling'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_mad.c:710: undefined reference to `oglx_end_culling'
./src/game/graphic_mad.o: In function `render_one_mad_solid(camera_t const*, unsigned short)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_mad.c:794: undefined reference to `oglx_end_culling'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_mad.c:800: undefined reference to `oglx_begin_culling'
./src/game/graphic_prt.o: In function `draw_one_attachment_point':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_prt.c:602: undefined reference to `Egoboo_Renderer_OpenGL_multMatrix(s_fmat_4x4 const*)'
./src/game/graphic_prt.o: In function `render_one_prt_solid(unsigned short)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_prt.c:175: undefined reference to `oglx_end_culling'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_prt.c:187: undefined reference to `oglx_texture_Bind'
./src/game/graphic_prt.o: In function `render_one_prt_trans(unsigned short)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_prt.c:244: undefined reference to `oglx_end_culling'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_prt.c:264: undefined reference to `oglx_texture_Bind'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_prt.c:284: undefined reference to `oglx_texture_Bind'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_prt.c:305: undefined reference to `oglx_texture_Bind'
./src/game/graphic_prt.o: In function `render_one_prt_ref(unsigned short)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_prt.c:389: undefined reference to `oglx_end_culling'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_prt.c:408: undefined reference to `oglx_texture_Bind'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_prt.c:435: undefined reference to `oglx_texture_Bind'
./src/game/graphic_texture.o: In function `TxList_init_all()':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_texture.c:70: undefined reference to `oglx_texture_ctor'
./src/game/graphic_texture.o: In function `TxList_release_all()':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_texture.c:86: undefined reference to `oglx_texture_Release'
./src/game/graphic_texture.o: In function `TxList_delete_all()':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_texture.c:102: undefined reference to `oglx_texture_dtor'
./src/game/graphic_texture.o: In function `TxList_reload_all()':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_texture.c:121: undefined reference to `oglx_texture_Valid'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_texture.c:123: undefined reference to `oglx_texture_Convert'
./src/game/graphic_texture.o: In function `TxList_get_free(unsigned short)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_texture.c:136: undefined reference to `oglx_texture_Release'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_texture.c:157: undefined reference to `oglx_texture_Release'
./src/game/graphic_texture.o: In function `TxList_free_one(unsigned short)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_texture.c:185: undefined reference to `oglx_texture_Release'
./src/game/graphic_texture.o: In function `TxList_get_valid_ptr(unsigned short)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/graphic_texture.c:245: undefined reference to `oglx_texture_Valid'
./src/game/input.o: In function `input_handle_SDL_Event':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/input.c:372: undefined reference to `SDLX_Get_Screen_Info'
./src/game/menu.o: In function `mnu_TxList_release_all':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/menu.c:6044: undefined reference to `oglx_texture_Release'
./src/game/menu.o: In function `mnu_TxList_get_free':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/menu.c:6094: undefined reference to `oglx_texture_Release'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/menu.c:6115: undefined reference to `oglx_texture_Release'
./src/game/menu.o: In function `mnu_TxList_free_one':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/menu.c:6143: undefined reference to `oglx_texture_Release'
./src/game/menu.o: In function `doSinglePlayerMenu':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/menu.c:1050: undefined reference to `oglx_texture_Release'
./src/game/menu.o:C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/menu.c:2382: more undefined references to `oglx_texture_Release' follow
./src/game/menu.o: In function `mnu_TxList_ctor()':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/menu.c:5987: undefined reference to `oglx_texture_ctor'
./src/game/menu.o: In function `mnu_TxList_dtor()':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/menu.c:6012: undefined reference to `oglx_texture_dtor'
./src/game/menu.o: In function `mnu_TxList_reload_all()':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/menu.c:6079: undefined reference to `oglx_texture_Valid'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/menu.c:6081: undefined reference to `oglx_texture_Convert'
./src/game/menu.o: In function `mnu_TxList_get_valid_ptr(unsigned short)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/menu.c:6203: undefined reference to `oglx_texture_Valid'
./src/game/menu.o: In function `doChoosePlayer':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/menu.c:2003: undefined reference to `oglx_texture_Release'
./src/game/menu.o: In function `doGameOptions':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/menu.c:3144: undefined reference to `oglx_texture_Release'
./src/game/menu.o: In function `doChooseModule':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/menu.c:1526: undefined reference to `oglx_texture_Release'
./src/game/menu.o: In function `doChooseCharacter':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/menu.c:2247: undefined reference to `oglx_texture_Release'
./src/game/mesh.o: In function `mesh_texture_bind(ego_tile_info_t const*)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/mesh.c:217: undefined reference to `oglx_texture_Bind'
./src/game/renderer_2d.o: In function `gfx_begin_2d()':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/renderer_2d.c:295: undefined reference to `oglx_end_culling'
./src/game/renderer_2d.o: In function `gfx_begin_text()':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/renderer_2d.c:338: undefined reference to `oglx_end_culling'
./src/game/renderer_2d.o: In function `draw_quad_2d(s_oglx_texture*, s_ego_frect, s_ego_frect, bool, float const*)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/renderer_2d.c:399: undefined reference to `oglx_texture_Bind'
./src/game/renderer_2d.o:renderer_2d.c:(.rdata$.refptr.sdl_r_mask[.refptr.sdl_r_mask]+0x0): undefined reference to `sdl_r_mask'
./src/game/renderer_2d.o:renderer_2d.c:(.rdata$.refptr.sdl_g_mask[.refptr.sdl_g_mask]+0x0): undefined reference to `sdl_g_mask'
./src/game/renderer_2d.o:renderer_2d.c:(.rdata$.refptr.sdl_b_mask[.refptr.sdl_b_mask]+0x0): undefined reference to `sdl_b_mask'
./src/game/renderer_3d.o: In function `gfx_begin_3d(camera_t const*)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/renderer_3d.c:44: undefined reference to `Egoboo_Renderer_OpenGL_loadMatrix(s_fmat_4x4 const*)'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/renderer_3d.c:48: undefined reference to `Egoboo_Renderer_OpenGL_loadMatrix(s_fmat_4x4 const*)'
./src/game/renderer_3d.o: In function `line_list_draw_all(camera_t const*)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/renderer_3d.c:157: undefined reference to `oglx_end_culling'
./src/game/renderer_3d.o: In function `point_list_draw_all(camera_t const*)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/renderer_3d.c:288: undefined reference to `oglx_end_culling'
./src/game/renderer_3d.o: In function `render_oct_bb(oct_bb_t*, bool, bool)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/renderer_3d.c:420: undefined reference to `oglx_end_culling'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/renderer_3d.c:427: undefined reference to `oglx_texture_Bind'
./src/game/ui.o: In function `ui_handle_SDL_Event(SDL_Event*)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/ui.c:170: undefined reference to `SDLX_Get_Screen_Info'
./src/game/ui.o: In function `ui_beginFrame(float)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/ui.c:195: undefined reference to `oglx_end_culling'
./src/game/ui.o: In function `ui_drawImage(unsigned int, s_oglx_texture*, float, float, float, float, float*)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/ui.c:473: undefined reference to `oglx_texture_getImageWidth'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/ui.c:473: undefined reference to `oglx_texture_getTextureWidth'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/ui.c:474: undefined reference to `oglx_texture_getImageHeight'
C:\MinGW\msys\1.0\home\Foxie\egoboo\game/src/game/ui.c:474: undefined reference to `oglx_texture_getTextureHeight'
../egolib//libegoboo.a(log.o): In function `log_error':
C:\MinGW\msys\1.0\home\Foxie\egoboo\egolib/src/egolib/log.c:154: undefined reference to `sys_popup(char const*, char const*, char const*, char*)'
../egolib//libegoboo.a(frustum.o): In function `ogl_matrix_mult':
C:\MinGW\msys\1.0\home\Foxie\egoboo\egolib/src/egolib/frustum.c:69: undefined reference to `__imp_glLoadMatrixf'
C:\MinGW\msys\1.0\home\Foxie\egoboo\egolib/src/egolib/frustum.c:72: undefined reference to `__imp_glMultMatrixf'
../egolib//libegoboo.a(clock.o): In function `clock_getTimeSource':
C:\MinGW\msys\1.0\home\Foxie\egoboo\egolib/src/egolib/clock.c:71: undefined reference to `sys_getTime()'
../egolib//libegoboo.a(clock.o):clock.c:(.rdata$.refptr._Z11sys_getTimev[.refptr._Z11sys_getTimev]+0x0): undefined reference to `sys_getTime()'
../egolib//libegoboo.a(console.o): In function `egolib_console_draw_begin':
C:\MinGW\msys\1.0\home\Foxie\egoboo\egolib/src/egolib/console.c:324: undefined reference to `oglx_end_culling'
../egolib//libegoboo.a(console.o): In function `egolib_console_draw':
C:\MinGW\msys\1.0\home\Foxie\egoboo\egolib/src/egolib/console.c:384: undefined reference to `__imp_glLineWidth'
C:\MinGW\msys\1.0\home\Foxie\egoboo\egolib/src/egolib/console.c:387: undefined reference to `__imp_glVertex2i'
C:\MinGW\msys\1.0\home\Foxie\egoboo\egolib/src/egolib/console.c:415: undefined reference to `__imp_glBindTexture'
../egolib//libegoboo.a(fileutil.o): In function `ego_texture_load_vfs(s_oglx_texture*, char const*, unsigned int)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\egolib/src/egolib/fileutil.c:1147: undefined reference to `oglx_texture_Release'
C:\MinGW\msys\1.0\home\Foxie\egoboo\egolib/src/egolib/fileutil.c:1157: undefined reference to `oglx_texture_Load'
C:\MinGW\msys\1.0\home\Foxie\egoboo\egolib/src/egolib/fileutil.c:1178: undefined reference to `oglx_texture_Convert'
../egolib//libegoboo.a(file_win.o): In function `sys_fs_init(char const*)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\egolib/src/egolib/platform/file_win.c:86: undefined reference to `__imp_PathRemoveFileSpecA'
../egolib//libegoboo.a(font_bmp.o): In function `font_bmp_load_vfs(s_oglx_texture*, char const*, char const*)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\egolib/src/egolib/font_bmp.c:97: undefined reference to `oglx_texture_getImageWidth'
C:\MinGW\msys\1.0\home\Foxie\egoboo\egolib/src/egolib/font_bmp.c:98: undefined reference to `oglx_texture_getImageHeight'
../egolib//libegoboo.a(font_ttf.o): In function `fnt_print_raw_OGL':
C:\MinGW\msys\1.0\home\Foxie\egoboo\egolib/src/egolib/font_ttf.c:413: undefined reference to `__imp_glGenTextures'
C:\MinGW\msys\1.0\home\Foxie\egoboo\egolib/src/egolib/font_ttf.c:449: undefined reference to `SDL_GL_uploadSurface'
C:\MinGW\msys\1.0\home\Foxie\egoboo\egolib/src/egolib/font_ttf.c:459: undefined reference to `__imp_glDeleteTextures'
../egolib//libegoboo.a(font_ttf.o): In function `fnt_drawText_raw_OGL':
C:\MinGW\msys\1.0\home\Foxie\egoboo\egolib/src/egolib/font_ttf.c:537: undefined reference to `__imp_glGenTextures'
C:\MinGW\msys\1.0\home\Foxie\egoboo\egolib/src/egolib/font_ttf.c:557: undefined reference to `__imp_glGenTextures'
C:\MinGW\msys\1.0\home\Foxie\egoboo\egolib/src/egolib/font_ttf.c:584: undefined reference to `__imp_glDeleteTextures'
../egolib//libegoboo.a(font_ttf.o): In function `fnt_streamText_OGL':
C:\MinGW\msys\1.0\home\Foxie\egoboo\egolib/src/egolib/font_ttf.c:757: undefined reference to `__imp_glGenTextures'
C:\MinGW\msys\1.0\home\Foxie\egoboo\egolib/src/egolib/font_ttf.c:798: undefined reference to `__imp_glDeleteTextures'
../egolib//libegoboo.a(font_ttf.o): In function `fnt_loadFont(char const*, int)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\egolib/src/egolib/font_ttf.c:124: undefined reference to `__imp_glGenTextures'
../egolib//libegoboo.a(font_ttf.o): In function `fnt_freeFont(s_Font*)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\egolib/src/egolib/font_ttf.c:135: undefined reference to `__imp_glDeleteTextures'
../egolib//libegoboo.a(font_ttf.o): In function `fnt_vprintf_OGL(s_Font*, SDL_Color, unsigned int, float*, char const*, char*, SDL_Surface**)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\egolib/src/egolib/font_ttf.c:494: undefined reference to `__imp_glGenTextures'
C:\MinGW\msys\1.0\home\Foxie\egoboo\egolib/src/egolib/font_ttf.c:507: undefined reference to `__imp_glDeleteTextures'
../egolib//libegoboo.a(font_ttf.o): In function `fnt_drawText_OGL_va(s_Font*, SDL_Color, unsigned int, float*, int, int, SDL_Surface**, char const*, char*)':
C:\MinGW\msys\1.0\home\Foxie\egoboo\egolib/src/egolib/font_ttf.c:619: undefined reference to `__imp_glGenTextures'
C:\MinGW\msys\1.0\home\Foxie\egoboo\egolib/src/egolib/font_ttf.c:662: undefined reference to `__imp_glDeleteTextures'
C:/MinGW/msys/1.0/local/lib/libenet.a(win32.o): In function `enet_initialize':
C:\MinGW\msys\1.0\home\Foxie\egoboo\external\enet-1.3.12/win32.c:30: undefined reference to `__imp_timeBeginPeriod'
C:/MinGW/msys/1.0/local/lib/libenet.a(win32.o): In function `enet_deinitialize':
C:\MinGW\msys\1.0\home\Foxie\egoboo\external\enet-1.3.12/win32.c:38: undefined reference to `__imp_timeEndPeriod'
C:/MinGW/msys/1.0/local/lib/libenet.a(win32.o): In function `enet_host_random_seed':
C:\MinGW\msys\1.0\home\Foxie\egoboo\external\enet-1.3.12/win32.c:46: undefined reference to `__imp_timeGetTime'
C:/MinGW/msys/1.0/local/lib/libenet.a(win32.o): In function `enet_time_get':
C:\MinGW\msys\1.0\home\Foxie\egoboo\external\enet-1.3.12/win32.c:52: undefined reference to `__imp_timeGetTime'
C:/MinGW/msys/1.0/local/lib/libenet.a(win32.o): In function `enet_time_set':
C:\MinGW\msys\1.0\home\Foxie\egoboo\external\enet-1.3.12/win32.c:58: undefined reference to `__imp_timeGetTime'
User avatar
Zefz
Squirrel Knight (Administrator)
Squirrel Knight (Administrator)
Posts: 3820
Joined: Wed Jul 23, 2008 1:27 am
Location: Norway
Contact:

Re: Looking for some Dev

Post by Zefz »

OK, it links successfully now. I had to fix a typo in egolib makefile and order this libraries to be linked last:
-lopengl32 -lglu32 -lShlwapi -lwinmm


Getting an error on running the game though:
load_font() - Cannot load file ("mp_data/font_new_shadow")

[EDIT]: Fixed the image load error by updating SDL Image DLL
User avatar
bitnapper
Tome Mimic (Module Baker)
Tome Mimic (Module Baker)
Posts: 135
Joined: Fri Jan 30, 2009 3:33 pm
Location: Somewhere near the alps
Contact:

Re: Looking for some Dev

Post by bitnapper »

I'm following on github. But first I have to do an update to my firefox browes before I can use it.

I took a look at the new C++ code and I must say, a little it looks greek to me. So I can't be a great help in converting the code to C++ (I do coding in php for a living.

But I think I can attack the backend. I can to write a proposal how to port the text files to xml, based on the 'advent.mod'.
I would also write the code to convert from the old text files to new xml-files. Because for conversion tools it doesn't matter if the code is in C.

I have some ideas how this data things could be simplified.
How about a tools directory. I'm also willing to write dome documetation.

What do you think ? And where can I post the proposal ?

BTW: The next few day I'll be occupied with work for a living. After that I can start.
Two beer or not two beer... rather a malt whisky
User avatar
Zefz
Squirrel Knight (Administrator)
Squirrel Knight (Administrator)
Posts: 3820
Joined: Wed Jul 23, 2008 1:27 am
Location: Norway
Contact:

Re: Looking for some Dev

Post by Zefz »

Head over to the developer chat @ https://gitter.im/egoboo/egoboo (much easier to plan development than using the forums imo).

We will definitely need some scripts/tools to convert and validate all the game data files. For example convert data.txt to something akin to data.xml and support the new features we currently have (such as support for any number of textures).
User avatar
Zefz
Squirrel Knight (Administrator)
Squirrel Knight (Administrator)
Posts: 3820
Joined: Wed Jul 23, 2008 1:27 am
Location: Norway
Contact:

Re: Looking for some Dev

Post by Zefz »

First an perhaps most obvious step is to convert all data.txt files to XML. That would be a huge step forward in cleaning up the datafiles.
bgbirdsey
{]-[0{0|307 (Developer)
{]-[0{0|307 (Developer)
Posts: 1864
Joined: Wed Jul 23, 2008 4:22 am
Location: Minnesota, USA

Re: Looking for some Dev

Post by bgbirdsey »

I experimented with converting the files to xml.

The problem was that the xml support for c is pretty much limited to scanners, while c++ has come nice parsers. At one time, I wrote some code that loaded a cap file and converted it to .xml using the tinyxml library.

imho the great benefit of xml would be to "inherit" data from a pre-defined template. For instance, a certain NPC (i.e. Brom) could inherit the basic knight profile, and then the only things that need to be in his data file are the overrides to the basic knight template.
Post Reply