project-navigation
Personal tools

Author Topic: No Sound  (Read 6251 times)

Gambit

  • Guest
No Sound
« on: July 14, 2006, 11:49:51 pm »
Hi I just downloaded the game (for Win XP) and installed it, but when I start it there is no sound or music at all.

Is that a known bug? Is there a solution or a workaround. I'll post the ufoconsole.log:

Winsock Initialized
Console initialized.
------- Loading ref_gl.dll -------
ref_gl version: GL 0.12
Initializing OpenGL display
...setting mode 6: 1024 768 FS
...attempting fullscreen
...using desktop frequency: 60 hz
...using desktop display depth of 32
...calling CDS: ok
GL PFD: color(32-bits) Z(24-bit)
GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: RADEON X800 XL x86/MMX/3DNow!/SSE2
GL_VERSION: 2.0.5885 WinXP Release
GL_EXTENSIONS: GL_ARB_multitexture GL_EXT_texture_env_add GL_EXT_compiled_vertex_array GL_S3_s3tc GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_multisample GL_ARB_occlusion_query GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_transpose_matrix GL_ARB_vertex_blend GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ARB_draw_buffers GL_ATI_draw_buffers GL_ATI_element_array GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_map_object_buffer GL_ATI_separate_stencil GL_ATI_texture_compression_3dc GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_ATI_vertex_array_object GL_ATI_vertex_attrib_array_object GL_ATI_vertex_streams GL_ATIX_texture_env_combine3 GL_ATIX_texture_env_route GL_ATIX_vertex_shader_output_point_size GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_object GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_texgen_reflection GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_EXT_vertex_shader GL_HP_occlusion_test GL_NV_blend_square GL_NV_occlusion_query GL_NV_texgen_reflection GL_SGI_color_matrix GL_SGIS_generate_mipmap GL_SGIS_multitexture GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays GL_WIN_swap_hint WGL_EXT_extensions_string WGL_EXT_swap_control
...allowing CDS
...enabling GL_EXT_compiled_vertex_array
...enabling WGL_EXT_swap_control
...using GL_EXT_point_parameters
...using GL_ARB_multitexture
...using GL_EXT_texture_env_combine
...GL_SGIS_multitexture deprecated in favor of ARB_multitexture
...ignoring GL_ARB_texture_compression
...using GL_EXT_texture_filter_anisotropic [16 max] [ 1 selected]
...using GL_EXT_texture_lod_bias
...using GL_EXT_stencil_wrap
...using GL_EXT_fog_coord
...using GL_ARB_fragment_program
...using GL_ATI_separate_stencil
Max texture size supported
...detected 2048
...SDL_ttf inited
------------------------------------

------- sound initialization -------
Soundsystem: SDL.
SDL audio driver is "dsound".
Bits: 16
Frequency: 44100
Samples: 1024
Channels: 2
sound sampling rate: 44100
------------------------------------
CD Audio Initialized
couldn't exec autoexec.cfg
...could not set to language:
...could not set to system language
Shared Client/Server Info loaded
...precaching 46 menus
Can't find pics/menu/multi_buttons1
Can't find pics/menu/main_buttons2
Can't find pics/menu/button_connect_to_ip
Can't find pics/
====== UFO Initialized ======

Changing to Singleplayer
Unknown command "selfloor-1"
...aircraft inited

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
No Sound
« Reply #1 on: July 15, 2006, 12:08:12 am »
yes, this was/is a bug in the sdl-sound renderer - currently we compile the binaries with direct sound support - that works, ... until the sdl sound renderer was fixed...

Gambit

  • Guest
No Sound
« Reply #2 on: July 15, 2006, 03:03:27 am »
Quote from: "Mattn"
yes, this was/is a bug in the sdl-sound renderer - currently we compile the binaries with direct sound support - that works, ... until the sdl sound renderer was fixed...


I guess that means I have to wait for a new built? Thanks anyway for your answer.

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
No Sound
« Reply #3 on: July 15, 2006, 03:27:49 am »
You are welcome to compile yourself. Just get svn trunk. The instructions are on the wiki. Good luck!

Gambit

  • Guest
No Sound
« Reply #4 on: July 15, 2006, 02:37:32 pm »
Quote from: "Bandobras"
You are welcome to compile yourself. Just get svn trunk. The instructions are on the wiki. Good luck!


I followed the Wiki-instructions.

I installed BloodshedsDev-C++,
I downloaded the source via Turtoise,
I installed the four libraries,
I installed the June DirectX SDK,
I removed the -DUSE_SDL_SOUND-Parameter in the ufo.dev,
I added the DirectX include-directory to include-directories,
I added the lib, the lib/x64 and the lib/x86-directorys to library-directories,
I prayed ;),

and tried to compile. Unfortunately I get an error trying to compile the ufo.exe:

Compiler: Default compiler
Building Makefile: "E:\Gamez\UFOAI\src\Makefile.win"
Führt  make clean aus
rm -f win32/cd_win.o client/cl_actor.o client/cl_basemanagement.o client/cl_campaign.o client/cl_fx.o client/cl_input.o client/cl_le.o client/cl_main.o client/cl_menu.o client/cl_parse.o client/cl_particle.o client/cl_research.o client/cl_scrn.o client/cl_sequence.o client/cl_team.o client/cl_ufopedia.o client/cl_view.o qcommon/cmd.o qcommon/cmodel.o qcommon/common.o win32/conproc.o client/console.o qcommon/crc.o qcommon/cvar.o qcommon/files.o win32/in_win.o client/keys.o qcommon/md4.o qcommon/net_chan.o win32/net_wins.o game/q_shared.o win32/q_shwin.o qcommon/scripts.o client/snd_dma.o client/snd_mem.o client/snd_mix.o win32/snd_win.o server/sv_ccmds.o server/sv_game.o server/sv_init.o server/sv_main.o server/sv_send.o server/sv_user.o server/sv_world.o win32/sys_win.o win32/vid_dll.o client/x86.o client/cl_shader.o client/cl_market.o ufo_private.res ../ufo.exe

gcc.exe -c win32/cd_win.c -o win32/cd_win.o -I"E:/Appz/Other/Dev-Cpp/include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x86"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x64"  -D__GNUWIN32__  -D_M_IX86=500  -Wall  -DDEBUG  -DDEVCPP  -DC_ONLY  -DUSE_SDL -DSHADERS -DHAVE_GETTEXT  

gcc.exe -c client/cl_actor.c -o client/cl_actor.o -I"E:/Appz/Other/Dev-Cpp/include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x86"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x64"  -D__GNUWIN32__  -D_M_IX86=500  -Wall  -DDEBUG  -DDEVCPP  -DC_ONLY  -DUSE_SDL -DSHADERS -DHAVE_GETTEXT  

gcc.exe -c client/cl_basemanagement.c -o client/cl_basemanagement.o -I"E:/Appz/Other/Dev-Cpp/include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x86"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x64"  -D__GNUWIN32__  -D_M_IX86=500  -Wall  -DDEBUG  -DDEVCPP  -DC_ONLY  -DUSE_SDL -DSHADERS -DHAVE_GETTEXT  

gcc.exe -c client/cl_campaign.c -o client/cl_campaign.o -I"E:/Appz/Other/Dev-Cpp/include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x86"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x64"  -D__GNUWIN32__  -D_M_IX86=500  -Wall  -DDEBUG  -DDEVCPP  -DC_ONLY  -DUSE_SDL -DSHADERS -DHAVE_GETTEXT  

client/cl_campaign.c: In function `CL_GameSave':
client/cl_campaign.c:1628: warning: unused variable `message'

gcc.exe -c client/cl_fx.c -o client/cl_fx.o -I"E:/Appz/Other/Dev-Cpp/include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x86"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x64"  -D__GNUWIN32__  -D_M_IX86=500  -Wall  -DDEBUG  -DDEVCPP  -DC_ONLY  -DUSE_SDL -DSHADERS -DHAVE_GETTEXT  

gcc.exe -c client/cl_input.c -o client/cl_input.o -I"E:/Appz/Other/Dev-Cpp/include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x86"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x64"  -D__GNUWIN32__  -D_M_IX86=500  -Wall  -DDEBUG  -DDEVCPP  -DC_ONLY  -DUSE_SDL -DSHADERS -DHAVE_GETTEXT  

gcc.exe -c client/cl_le.c -o client/cl_le.o -I"E:/Appz/Other/Dev-Cpp/include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x86"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x64"  -D__GNUWIN32__  -D_M_IX86=500  -Wall  -DDEBUG  -DDEVCPP  -DC_ONLY  -DUSE_SDL -DSHADERS -DHAVE_GETTEXT  

gcc.exe -c client/cl_main.c -o client/cl_main.o -I"E:/Appz/Other/Dev-Cpp/include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x86"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x64"  -D__GNUWIN32__  -D_M_IX86=500  -Wall  -DDEBUG  -DDEVCPP  -DC_ONLY  -DUSE_SDL -DSHADERS -DHAVE_GETTEXT  

gcc.exe -c client/cl_menu.c -o client/cl_menu.o -I"E:/Appz/Other/Dev-Cpp/include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x86"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x64"  -D__GNUWIN32__  -D_M_IX86=500  -Wall  -DDEBUG  -DDEVCPP  -DC_ONLY  -DUSE_SDL -DSHADERS -DHAVE_GETTEXT  

gcc.exe -c client/cl_parse.c -o client/cl_parse.o -I"E:/Appz/Other/Dev-Cpp/include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x86"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x64"  -D__GNUWIN32__  -D_M_IX86=500  -Wall  -DDEBUG  -DDEVCPP  -DC_ONLY  -DUSE_SDL -DSHADERS -DHAVE_GETTEXT  

gcc.exe -c client/cl_particle.c -o client/cl_particle.o -I"E:/Appz/Other/Dev-Cpp/include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x86"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x64"  -D__GNUWIN32__  -D_M_IX86=500  -Wall  -DDEBUG  -DDEVCPP  -DC_ONLY  -DUSE_SDL -DSHADERS -DHAVE_GETTEXT  

gcc.exe -c client/cl_research.c -o client/cl_research.o -I"E:/Appz/Other/Dev-Cpp/include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x86"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x64"  -D__GNUWIN32__  -D_M_IX86=500  -Wall  -DDEBUG  -DDEVCPP  -DC_ONLY  -DUSE_SDL -DSHADERS -DHAVE_GETTEXT  

gcc.exe -c client/cl_scrn.c -o client/cl_scrn.o -I"E:/Appz/Other/Dev-Cpp/include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x86"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x64"  -D__GNUWIN32__  -D_M_IX86=500  -Wall  -DDEBUG  -DDEVCPP  -DC_ONLY  -DUSE_SDL -DSHADERS -DHAVE_GETTEXT  

gcc.exe -c client/cl_sequence.c -o client/cl_sequence.o -I"E:/Appz/Other/Dev-Cpp/include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x86"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x64"  -D__GNUWIN32__  -D_M_IX86=500  -Wall  -DDEBUG  -DDEVCPP  -DC_ONLY  -DUSE_SDL -DSHADERS -DHAVE_GETTEXT  

gcc.exe -c client/cl_team.c -o client/cl_team.o -I"E:/Appz/Other/Dev-Cpp/include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x86"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x64"  -D__GNUWIN32__  -D_M_IX86=500  -Wall  -DDEBUG  -DDEVCPP  -DC_ONLY  -DUSE_SDL -DSHADERS -DHAVE_GETTEXT  

gcc.exe -c client/cl_ufopedia.c -o client/cl_ufopedia.o -I"E:/Appz/Other/Dev-Cpp/include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x86"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x64"  -D__GNUWIN32__  -D_M_IX86=500  -Wall  -DDEBUG  -DDEVCPP  -DC_ONLY  -DUSE_SDL -DSHADERS -DHAVE_GETTEXT  

gcc.exe -c client/cl_view.c -o client/cl_view.o -I"E:/Appz/Other/Dev-Cpp/include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x86"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x64"  -D__GNUWIN32__  -D_M_IX86=500  -Wall  -DDEBUG  -DDEVCPP  -DC_ONLY  -DUSE_SDL -DSHADERS -DHAVE_GETTEXT  

gcc.exe -c qcommon/cmd.c -o qcommon/cmd.o -I"E:/Appz/Other/Dev-Cpp/include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x86"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x64"  -D__GNUWIN32__  -D_M_IX86=500  -Wall  -DDEBUG  -DDEVCPP  -DC_ONLY  -DUSE_SDL -DSHADERS -DHAVE_GETTEXT  

gcc.exe -c qcommon/cmodel.c -o qcommon/cmodel.o -I"E:/Appz/Other/Dev-Cpp/include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x86"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x64"  -D__GNUWIN32__  -D_M_IX86=500  -Wall  -DDEBUG  -DDEVCPP  -DC_ONLY  -DUSE_SDL -DSHADERS -DHAVE_GETTEXT  

gcc.exe -c qcommon/common.c -o qcommon/common.o -I"E:/Appz/Other/Dev-Cpp/include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x86"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x64"  -D__GNUWIN32__  -D_M_IX86=500  -Wall  -DDEBUG  -DDEVCPP  -DC_ONLY  -DUSE_SDL -DSHADERS -DHAVE_GETTEXT  

gcc.exe -c win32/conproc.c -o win32/conproc.o -I"E:/Appz/Other/Dev-Cpp/include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x86"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x64"  -D__GNUWIN32__  -D_M_IX86=500  -Wall  -DDEBUG  -DDEVCPP  -DC_ONLY  -DUSE_SDL -DSHADERS -DHAVE_GETTEXT  

gcc.exe -c client/console.c -o client/console.o -I"E:/Appz/Other/Dev-Cpp/include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x86"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x64"  -D__GNUWIN32__  -D_M_IX86=500  -Wall  -DDEBUG  -DDEVCPP  -DC_ONLY  -DUSE_SDL -DSHADERS -DHAVE_GETTEXT  

gcc.exe -c qcommon/crc.c -o qcommon/crc.o -I"E:/Appz/Other/Dev-Cpp/include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x86"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x64"  -D__GNUWIN32__  -D_M_IX86=500  -Wall  -DDEBUG  -DDEVCPP  -DC_ONLY  -DUSE_SDL -DSHADERS -DHAVE_GETTEXT  

gcc.exe -c qcommon/cvar.c -o qcommon/cvar.o -I"E:/Appz/Other/Dev-Cpp/include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x86"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x64"  -D__GNUWIN32__  -D_M_IX86=500  -Wall  -DDEBUG  -DDEVCPP  -DC_ONLY  -DUSE_SDL -DSHADERS -DHAVE_GETTEXT  

gcc.exe -c qcommon/files.c -o qcommon/files.o -I"E:/Appz/Other/Dev-Cpp/include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x86"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x64"  -D__GNUWIN32__  -D_M_IX86=500  -Wall  -DDEBUG  -DDEVCPP  -DC_ONLY  -DUSE_SDL -DSHADERS -DHAVE_GETTEXT  

gcc.exe -c win32/in_win.c -o win32/in_win.o -I"E:/Appz/Other/Dev-Cpp/include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x86"  -I"E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Lib/x64"  -D__GNUWIN32__  -D_M_IX86=500  -Wall  -DDEBUG  -DDEVCPP  -DC_ONLY  -DUSE_SDL -DSHADERS -DHAVE_GETTEXT  

In file included from win32/winquake.h:29,
                 from win32/in_win.c:24:
E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include/dsound.h:1899: error: redefinition of typedef 'LPDIRECTSOUNDFULLDUPLEX'
E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include/dsound.h:175: error: previous declaration of 'LPDIRECTSOUNDFULLDUPLEX' was here

make.exe: *** [win32/in_win.o] Error 1

Ausführung beendet

Suggestions?

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
No Sound
« Reply #5 on: July 15, 2006, 04:53:24 pm »
Ooops. That was a bad idea --- advice something I can't help in. ;O) I have no windows and no experience with them. Sorry.

Anybody?

Seems Direct Sound related. Perhaps try with the SLD sound again? BTW, is it svn trunk or svn ufo_r2.0whatever?

Gambit

  • Guest
No Sound
« Reply #6 on: July 15, 2006, 07:48:00 pm »
Quote from: "Bandobras"
[...]
Seems Direct Sound related. Perhaps try with the SLD sound again? BTW, is it svn trunk or svn ufo_r2.0whatever?


Hm. I'm not sure what you mean. I installed the game with the windows installer from the sourceforge website. That one is called: ufoai-2.0-RC2-win32.exe.

Then I put the stuff that Turtoise downloaded from "https://svn.sourceforge.net/svnroot/ufoai/ufoai/trunk" in the directory of my installed ufo. Then I did the compiling as described in the wiki. Works very well for the dlls one has to compile, but not for the ufo.exe.

Does this answer your question? I'm not sure about it. ;)

Since Mattn stated that the missing sound is due to a flaw in the sdl-sound driver, compiling with it would mean to come back to very problem of mine again.

None the less I'll try that.

But maybe some experienced coder could give me a solution to my compile problem from above or even better send me an ufo.exe for WinXP that is compiled with direct sound support!

Thx in advance.

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
No Sound
« Reply #7 on: July 15, 2006, 09:42:52 pm »
Quote from: "Gambit"
Then I put the stuff that Turtoise downloaded from "https://svn.sourceforge.net/svnroot/ufoai/ufoai/trunk" in the directory of my installed ufo.


As I admitted, I have no clue, but you put the trunk together with the RC2? Perhaps separate them somewhat (in Linux putting in different directories does it, but I'm not sure about Windows...). What part of the following path is the old one, and which is the new trunk: "E:\Gamez\UFOAI\src\"?

Anyway, good that you got yourself a trunk... :)

Galsiah

  • Guest
No Sound
« Reply #8 on: July 16, 2006, 06:04:12 am »
Quote from: "Gambit"
Unfortunately I get an error trying to compile the ufo.exe:

In file included from win32/winquake.h:29,
                 from win32/in_win.c:24:
E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include/dsound.h:1899: error: redefinition of typedef 'LPDIRECTSOUNDFULLDUPLEX'
E:/Appz/Other/Microsoft DirectX SDK (June 2006)/Include/dsound.h:175: error: previous declaration of 'LPDIRECTSOUNDFULLDUPLEX' was here

make.exe: *** [win32/in_win.o] Error 1

Suggestions?
I got that too with a similar setup. All you need to do is open dsound.h and comment out the second definition of LPDIRECTSOUNDFULLDUPLEX - so comment out line 1899.

After doing that, it compiled without trouble for me.
Of course the two definitions are presumably there for a reason, so it might be best to keep an unaltered dsound.h for usage elsewhere. (though I guess Dev-C++ with dsound.h will always have this problem)

Hope that helps.
(also make sure that your ref_gl....dll and game....dll are named correctly, or they won't load. For me it's ref_gl32d.dll and game32d.dll. If you have trouble, look in sys_win.c.)

EDIT: this did get the sound working, by the way :)

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
No Sound
« Reply #9 on: July 16, 2006, 01:07:17 pm »
please put this in our wiki for the dev-cpp article

Gambit

  • Guest
No Sound
« Reply #10 on: July 16, 2006, 05:02:17 pm »
Quote from: "Galsiah"
[...] EDIT: this did get the sound working, by the way :)


Woho!  That worked. Now I got SOUND! :D

THX!

Galsiah

  • Guest
No Sound
« Reply #11 on: July 16, 2006, 05:19:00 pm »
Good stuff.

Quote from: "Mattn"
please put this in our wiki for the dev-cpp article
Done.