Raydium 3D Game Engine

Official forum for everything about Raydium, ManiaDrive, MeMak, ...
It is currently Wed Aug 23, 2017 2:29 am

All times are UTC




Post new topic Reply to topic  [ 15 posts ] 
Author Message
PostPosted: Wed Sep 10, 2008 1:29 pm 
Offline

Joined: Wed Sep 10, 2008 1:16 pm
Posts: 9
Hi!
I have searched the forum, and internet.. but cannot find any solution... or at least reason.
When I start the game, there is NO sound at all. no music etc. in all modes.
I have Ubuntu Studio(hardy 8.04 based) and pulseaudio installed and configured.
I have and using 2 sound cards(built-in 5.1 soundstorm, and SBLive), first connected and selected as default output.

Sound works everywhere in the system, drivers installed, alsa rerouted to pulseaudio, as well as oss and esd.
Using sdl with pulseaudio reroute also(tested with Urban terror - works)

I read this game uses OpenAl, it is installed and openalrc is configured to use pulseaudio. Another game: btanks(Battle Tanks) uses it as well, and it works.
I really have NO clue.

Is there a switch to control it? Is the sound hardcoded for one soundcard(ie devnumber 0)? What can i do?
Game runs smoothly, but no sound at all...

Code:
# lspci
00:00.0 Host bridge: nVidia Corporation nForce2 IGP2 (rev c1)
00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev c1)
00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev c1)
00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev c1)
00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev c1)
00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev c1)
00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a4)
00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller (rev a1)
00:05.0 Multimedia audio controller: nVidia Corporation nForce Audio Processing Unit (rev a2)
00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev a1)
00:08.0 PCI bridge: nVidia Corporation nForce2 External PCI Bridge (rev a3)
00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)
00:0d.0 FireWire (IEEE 1394): nVidia Corporation nForce2 FireWire (IEEE 1394) Controller (rev a3)
00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1)
01:08.0 RAID bus controller: Silicon Image, Inc. SiI 3512 [SATALink/SATARaid] Serial ATA Controller (rev 01)
01:09.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
01:09.1 Input device controller: Creative Labs SB Live! Game Port (rev 07)
02:00.0 VGA compatible controller: nVidia Corporation NV40 [GeForce 6800] (rev a1)


Code:
# sh mania-drive.sh &>~/log.log
Raydium: Raydium 3D Game Engine
Raydium: version 0.705
Raydium: command line args: OK
Raydium: chdir to 'game/': OK
Raydium: using '/home/vova/.mania_drive' as home dir
Raydium: Requesting 800x600:32 mode
Raydium: Xinerama detected with 1 screens:
Raydium: *** screen 0 : 1280x1024 at (0,0)
Raydium: using Xinerama screen 0
Raydium: Found 800x600 with 24 bpp color and 24 bits zbuffer (stencil is 1)
Raydium: using GeForce 6800/AGP/SSE/3DNOW!, from NVIDIA Corporation (version 2.1.2 NVIDIA 169.12)
Raydium: Signal Handlers: OK
Raydium: OpenGL extensions: OK
Raydium: Platform "4xfloat" vector size is: 16 byte(s) long
Raydium: OpenGL implementation maximum texture size: 4096x4096
Raydium: OpenGL hardware providing 4 texture unit(s)
Raydium: vertex arrays memory: OK
Raydium: path: OK
Raydium: keyboard: OK
Raydium: mouse: OK
Raydium: /dev/input/event0: cannot open (rw), no Force Feedback.
Raydium: joy: FAILED (cannot open /dev/js0 and /dev/input/js0)
[color=#FF4080]Raydium: sound: Buffer creation successfull
Raydium: sound: OK, using 'default device'
[/color]Raydium: PHP support: OK
Raydium: atexit functions: OK
Raydium: lights: OK
Raydium: fog: OK
Raydium: objects: OK
Raydium: network: OK
Raydium: timer: detection: 5 iterations: diff: 1 steps (1000000/sec)
Raydium: timecall: method accuracy = 0.001 ms (999999.94 Hz)
Raydium: timecall: Using basic gettimeofday() method
Raydium: timecall: OK (999999 Hz)
Raydium: timecall: softcall 0: 1 Hz (1000000 clocks interval)
Raydium: particle: OK
Raydium: gui: OK
Raydium: video (live): OK
Raydium: shadow: OK
Raydium: HDR: OK
Raydium: shaders: OK
Raydium: webserver: OK
Raydium: Raydium engine reseted to original state
Raydium: timecall: callback 1: 400 Hz (2500 clocks interval)
Raydium: physics: ODE Net: 10 element(s)/packet
Raydium: physics: OK
Raydium: RegAPI: OK
Raydium: Engine is now ready.
    -----------------------------------------------------------
Raydium: sound: Tried to set negative or 0 Pitch , clipped to 0.1
Raydium: Texture num 1 (BOXfront.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 2 (BOXback.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 3 (BOXleft.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 4 (BOXright.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 5 (BOXbottom.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 6 (BOXtop.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 7 (theme-maniadrive.tga) loaded: 256x256, 4 Bpp (b1 lm0 hdr0)
Raydium: Texture num 8 (font3.tga) loaded: 512x512, 1 Bpp (b1 lm0 hdr0)
Raydium: timecall: softcall 2: 1 Hz (1000000 clocks interval)
Raydium: Changing game state to 1
Raydium: timecall: WARNING ! 0 Hz callback (num 1)
Raydium: Texture num 9 (video) FAKED: 256x256, 3 Bpp (b0 lm0 hdr0)
Raydium: live: texture 'video' created
Raydium: video: mania_menu_v1.jpgs (0) as live texture video (0), 256x256 20.00 fps (703 frames)
Raydium: Texture num 10 (BOXmania_cursor.tga) loaded: 32x32, 4 Bpp (b1 lm0 hdr0)
Raydium: ODE: Error: Cannot delete object: invalid name or index
Raydium: Texture num 11 (mania_logo2.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 12 (BOXmania_music_popup.tga) loaded: 512x128, 4 Bpp (b1 lm0 hdr0)
Raydium: Texture num 13 (font2.tga) loaded: 512x512, 1 Bpp (b1 lm0 hdr0)
Raydium: Changing game state to 2
Raydium: timecall: callback 1: 400 Hz (2500 clocks interval)
Raydium: Internal buffers:
Raydium: -----------------
Raydium: Total of 0 vertex(s) loaded:
Raydium: Texture num 0: 0 vertex(s) - loaded as "dummy.null"
Raydium: Texture num 1: 0 vertex(s) - loaded as "BOXfront.tga"
Raydium: Texture num 2: 0 vertex(s) - loaded as "BOXback.tga"
Raydium: Texture num 3: 0 vertex(s) - loaded as "BOXleft.tga"
Raydium: Texture num 4: 0 vertex(s) - loaded as "BOXright.tga"
Raydium: Texture num 5: 0 vertex(s) - loaded as "BOXbottom.tga"
Raydium: Texture num 6: 0 vertex(s) - loaded as "BOXtop.tga"
Raydium: Texture num 7: 0 vertex(s) - loaded as "theme-maniadrive.tga"
Raydium: Texture num 8: 0 vertex(s) - loaded as "font3.tga"
Raydium: Texture num 9: 0 vertex(s) - loaded as "video"
Raydium: Texture num 10: 0 vertex(s) - loaded as "BOXmania_cursor.tga"
Raydium: Texture num 11: 0 vertex(s) - loaded as "mania_logo2.tga"
Raydium: Texture num 12: 0 vertex(s) - loaded as "BOXmania_music_popup.tga"
Raydium: Texture num 13: 0 vertex(s) - loaded as "font2.tga"
Raydium: Estimated total: 10.92 MB used for textures.
Raydium: Using 0 object(s):
Raydium: sound: Deleting sources
Raydium: sound: Deleting buffers
Raydium: sound: Releasing OpenAL
Raydium: path: read: "/home/vova/.mania_drive/data"
Raydium: path: write: "/home/vova/.mania_drive/data"


Last edited by Shinobiteno on Thu Sep 11, 2008 11:46 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Sound problem...
PostPosted: Wed Sep 10, 2008 2:02 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2590
Location: gnniiiii (Scrat)
Hi,

Almost all sound initialization work is done by OpenAL (ALUT, to be accurate), so as far as alutInit() function returns a positive result, all is OK from Raydium's point of vue ... :/ (that's why you see the "sound: OK, using 'default device'" message).

The trouble is probably somewhere in ALUT, OpenAL or PulseAudio. May I ask you to download Raydium and try to compile it by yourself, so it will use your own libraries ? (unlike the static ManiaDrive binary) It may gives us some clues about what's wrong here.


Top
 Profile  
 
 Post subject: Re: Sound problem...
PostPosted: Wed Sep 10, 2008 2:08 pm 
Offline

Joined: Wed Sep 10, 2008 1:16 pm
Posts: 9
Yes, i understand. But still btanks CAN play sounds... :/
Downloading source now...


Top
 Profile  
 
 Post subject: Re: Sound problem...
PostPosted: Wed Sep 10, 2008 2:13 pm 
Offline

Joined: Wed Sep 10, 2008 1:16 pm
Posts: 9
Sorry, stupid question... what should i get?
SVN (1, http://freeway.raydium.org/data/raydium ... svn.tar.gz) or stable(2, http://freeway.raydium.org/data/raydium_current.tar.gz)? :?


Top
 Profile  
 
 Post subject: Re: Sound problem...
PostPosted: Wed Sep 10, 2008 2:30 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2590
Location: gnniiiii (Scrat)
Nightly SVN will gives you the most up-to-date version (by far). Take this one.


Top
 Profile  
 
 Post subject: Re: Sound problem...
PostPosted: Wed Sep 10, 2008 3:56 pm 
Offline

Joined: Wed Sep 10, 2008 1:16 pm
Posts: 9
k , ./configure; and after several synaptic package installs, finally make.
after make, i run demo, as recommended: "./odyncomp.sh test6.c &>~/log.log"
Did that several times to get that screenshot.
Alsa works - reroute thru alsaconf works: sounds work, background fx too.

log.log:
Code:
Files created: libraydium.a libraydium.so
Raydium: Raydium 3D Game Engine
Raydium: version 0.800
Raydium: command line args: OK
Raydium: chdir to './': OK
Raydium: using '/home/vova/.raydium' as home dir
Raydium: Requesting 640x480:32 mode
Raydium: Xinerama detected with 1 screens:
Raydium: *** screen 0 : 1280x1024 at (0,0)
Raydium: using Xinerama screen 0
Raydium: Found 640x480 with 24 bpp color and 24 bits zbuffer (stencil is 1)
Raydium: using GeForce 6800/AGP/SSE/3DNOW!, from NVIDIA Corporation (version 2.1.2 NVIDIA 169.12)
Raydium: Signal Handlers: OK
Raydium: OpenGL extensions: OK
Raydium: Platform "4xfloat" vector size is: 16 byte(s) long
Raydium: OpenGL implementation maximum texture size: 4096x4096
Raydium: OpenGL hardware providing 4 texture unit(s), Raydium deals with 4
Raydium: OpenGL anisotropy max level is 16.00
Raydium: OpenGL texture compression available
Raydium: vertex arrays memory: OK
Raydium: path: OK
Raydium: keyboard: OK
Raydium: mouse: OK
Raydium: joy: FAILED (cannot open /dev/js0)
Raydium: /dev/input/event0: cannot open (rw), no Force Feedback.
Raydium: sound: Buffer creation successfull
Raydium: sound: OK, using 'default device'
Raydium: PHP R3S Scripts: rayphp
Raydium: PHP support: OK
Raydium: atexit functions: OK
Raydium: lights: OK
Raydium: fog: OK
Raydium: objects: OK
Raydium: network: OK
Raydium: timer: detection: 4 iterations: diff: 1 steps (1000000/sec)
Raydium: timecall: method accuracy = 0.001 ms (999999.94 Hz)
Raydium: timecall: Using basic gettimeofday() method
Raydium: timecall: OK (999999 Hz)
Raydium: timecall: softcall 0: 1 Hz (1000000 clocks interval)
Raydium: particle: OK
Raydium: gui: OK
Raydium: video (live): OK
Raydium: shadow: OK
Raydium: HDR: OK
Raydium: shaders: OK (version 1.20 NVIDIA via Cg compiler)
Raydium: webserver: OK
Raydium: Raydium engine reseted to original state
Raydium: timecall: callback 1: 400 Hz (2500 clocks interval)
Raydium: physics: ODE Net: 10 element(s)/packet
Raydium: physics: OK
Raydium: RegAPI: OK
Raydium: Engine is now ready.
    -----------------------------------------------------------
Raydium: shadow: shadow map size detected to 256x256
Raydium: Texture num 1 (shadowmap) FAKED: 256x256, 4 Bpp (b0 lm0 hdr0 f0)
Raydium: sound: Tried to set negative or 0 Pitch , clipped to 0.1
Raydium: Texture num 2 (BOXfront.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0 f1)
Raydium: Texture num 3 (BOXback.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0 f1)
Raydium: Texture num 4 (BOXleft.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0 f1)
Raydium: Texture num 5 (BOXright.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0 f1)
Raydium: Texture num 6 (BOXbottom.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0 f1)
Raydium: Texture num 7 (BOXtop.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0 f1)
Raydium: timecall: softcall 2: 1 Hz (1000000 clocks interval)
Raydium: Object: loading "a.tri", version 1
Raydium: Texture num 8 (ground.tga) loaded: 256x256, 3 Bpp (b0 lm0 hdr0 f1)
Raydium: Texture num 9 (t_circuit-2f.tga) loaded: 2048x1024, 3 Bpp (b0 lm0 hdr0 f0)
Raydium: shadow: ground (0) modelsize is 52.23, center factors : 0.50/0.50
Raydium: ODE: Error: Cannot delete object: invalid name or index
Raydium: Object: loading "buggy.tri", version 1
Raydium: Texture num 10 (buggy.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0 f0)
Raydium: Object: loading "buggy_r.tri", version 1
Raydium: Texture num 11 (smoke.tga) loaded: 256x256, 4 Bpp (b1 lm0 hdr0 f0)
Raydium: ODE: Error: Cannot delete object: invalid name or index
Raydium: Object: loading "lego.tri", version 1
Raydium: Texture num 12, rgb(1.000000,0.000000,0.000000) is RGB Color
Raydium: Texture num 13, rgb(0.000000,1.000000,0.000000) is RGB Color
Raydium: Texture num 14, rgb(0.000000,0.000000,1.000000) is RGB Color
Raydium: Texture num 15, rgb(1.000000,1.000000,1.000000) is RGB Color
Raydium: Texture num 16, rgb(1.000000,1.000000,0.000000) is RGB Color
Raydium: Texture num 17, rgb(0.000000,1.000000,1.000000) is RGB Color
Raydium: Texture num 18, rgb(1.000000,0.000000,1.000000) is RGB Color
Raydium: php: ERROR: cannot post-open 'test6.php' file
Raydium: Object: creating display list for object a.tri
Raydium: Object: creating display list for object buggy.tri
Raydium: Object: creating display list for object buggy_r.tri
Raydium: Object: creating display list for object lego.tri
Raydium: Object: creating **shadow** display list for object a.tri
Raydium: Texture num 19 (font2.tga) loaded: 512x512, 1 Bpp (b1 lm0 hdr0 f0)
Raydium: Texture num 20 (BOXcross.tga) loaded: 32x32, 1 Bpp (b1 lm0 hdr0 f0)
Raydium: Texture num 21 (logo6.tga) loaded: 256x128, 4 Bpp (b1 lm0 hdr0 f1)
Raydium: Object: creating **shadow** display list for object buggy.tri
Raydium: Object: creating **shadow** display list for object buggy_r.tri
Raydium: Object: creating **shadow** display list for object lego.tri
Raydium: Object: loading "rocket.tri", version 1
Raydium: Texture num 22 (rocket.tga) loaded: 512x128, 3 Bpp (b0 lm0 hdr0 f0)
Raydium: Object: creating display list for object rocket.tri
Raydium: Object: creating **shadow** display list for object rocket.tri
Raydium: Texture num 23 (explosion.tga) loaded: 256x256, 4 Bpp (b1 lm0 hdr0 f0)
Raydium: Object: loading "bullet.tri", version 1
Raydium: Texture num 24, rgb(1.000000,0.850000,0.000000) is RGB Color
Raydium: Object: creating **shadow** display list for object bullet.tri
Raydium: Object: creating display list for object bullet.tri
Raydium: Killed
Raydium: Internal buffers:
Raydium: -----------------
Raydium: Total of 42036 vertex(s) loaded:
Raydium: Texture 1: 0 vert, as "shadowmap" (0.25 MB)
Raydium: Texture 2: 0 vert, as "BOXfront.tga" (1.33 MB)
Raydium: Texture 3: 0 vert, as "BOXback.tga" (1.33 MB)
Raydium: Texture 4: 0 vert, as "BOXleft.tga" (1.33 MB)
Raydium: Texture 5: 0 vert, as "BOXright.tga" (1.33 MB)
Raydium: Texture 6: 0 vert, as "BOXbottom.tga" (1.33 MB)
Raydium: Texture 7: 0 vert, as "BOXtop.tga" (1.33 MB)
Raydium: Texture 8: 0 vert, as "ground.tga" (0.33 MB)
Raydium: Texture 9: 28386 vert, as "t_circuit-2f.tga" (10.67 MB)
Raydium: Texture 10: 3504 vert, as "buggy.tga" (1.33 MB)
Raydium: Texture 11: 0 vert, as "smoke.tga" (0.33 MB)
Raydium: Texture 12: 672 vert, as "rgb(1,0,0)" (0.00 MB)
Raydium: Texture 13: 624 vert, as "rgb(0,1,0)" (0.00 MB)
Raydium: Texture 14: 612 vert, as "rgb(0,0,1)" (0.00 MB)
Raydium: Texture 15: 1992 vert, as "rgb(1,1,1)" (0.00 MB)
Raydium: Texture 16: 1044 vert, as "rgb(1,1,0)" (0.00 MB)
Raydium: Texture 17: 1242 vert, as "rgb(0,1,1)" (0.00 MB)
Raydium: Texture 18: 1872 vert, as "rgb(1,0,1)" (0.00 MB)
Raydium: Texture 19: 0 vert, as "font2.tga" (0.33 MB)
Raydium: Texture 20: 0 vert, as "BOXcross.tga" (0.00 MB)
Raydium: Texture 21: 0 vert, as "logo6.tga" (0.17 MB)
Raydium: Texture 22: 2082 vert, as "rocket.tga" (0.33 MB)
Raydium: Texture 23: 0 vert, as "explosion.tga" (0.33 MB)
Raydium: Texture 24: 6 vert, as "rgb(1,0.85,0)" (0.00 MB)
Raydium: Estimated total: 22.08 MB used for textures.
Raydium: Using 6 object(s):
Raydium: Object 0: 28386 vert, as "a.tri"
Raydium: Object 1: 3192 vert, as "buggy.tri"
Raydium: Object 2: 312 vert, as "buggy_r.tri"
Raydium: Object 3: 8058 vert, as "lego.tri"
Raydium: Object 4: 2082 vert, as "rocket.tri"
Raydium: Object 5: 6 vert, as "bullet.tri"
Raydium: sound: Deleting sources
Raydium: sound: Deleting buffers
Raydium: sound: Releasing OpenAL
Raydium: path: read: "/home/vova/.raydium/data"
Raydium: path: write: "/home/vova/.raydium/data"


Attachments:
File comment: screenshot of demo
Screenshot.jpg
Screenshot.jpg [ 184.51 KiB | Viewed 16129 times ]
Top
 Profile  
 
 Post subject: Re: Sound problem...
PostPosted: Wed Sep 10, 2008 4:00 pm 
Offline

Joined: Wed Sep 10, 2008 1:16 pm
Posts: 9
So it looks like precompiled version problem....
I have two further questions:
1. Can I use this compiled code with data to make a locally built game(possibly will figure it out myself, but still would be nice if answered=)
2. What was the reason and was I the only one affected and why? Quite many ppl use PulseAudio... its better this thing is fixed. I think. :|


Top
 Profile  
 
 Post subject: Re: Sound problem...
PostPosted: Wed Sep 10, 2008 6:59 pm 
Offline

Joined: Wed Sep 10, 2008 1:16 pm
Posts: 9
If I take the source code from the website... not SVN, but 1.2,

make does following:
Files created: libraydium.a libraydium.so
no .static files are created.

If I specify them explicitly:
./odyncomp.sh mania_drive.c

Code:
Files created: libraydium.a libraydium.so
rm: невозможно удалить `test': No such file or directory  ////Unable to delete "test"
Raydium: Raydium 3D Game Engine
Raydium: version 0.705
Raydium: command line args: OK
Raydium: chdir to './': OK
Raydium: using '/home/vova/.mania_drive' as home dir
Raydium: Requesting 800x600:32 mode
Raydium: Xinerama detected with 1 screens:
Raydium: *** screen 0 : 1280x1024 at (0,0)
Raydium: using Xinerama screen 0
Raydium: Found 800x600 with 24 bpp color and 24 bits zbuffer (stencil is 1)
Raydium: using GeForce 6800/AGP/SSE/3DNOW!, from NVIDIA Corporation (version 2.1.2 NVIDIA 169.12)
Raydium: Signal Handlers: OK
Raydium: OpenGL extensions: OK
Raydium: Platform "4xfloat" vector size is: 16 byte(s) long
Raydium: OpenGL implementation maximum texture size: 4096x4096
Raydium: OpenGL hardware providing 4 texture unit(s)
Raydium: vertex arrays memory: OK
Raydium: path: OK
Raydium: keyboard: OK
Raydium: mouse: OK
Raydium: /dev/input/event0: cannot open (rw), no Force Feedback.
Raydium: joy: FAILED (cannot open /dev/js0 and /dev/input/js0)
Raydium: sound: Buffer creation successfull
Raydium: sound: OK, using 'default device'
Raydium: PHP support: OK
Raydium: atexit functions: OK
Raydium: lights: OK
Raydium: fog: OK
Raydium: objects: OK
Raydium: network: OK
Raydium: timer: detection: 1 iterations: diff: 1 steps (1000000/sec)
Raydium: timecall: method accuracy = 0.001 ms (999999.94 Hz)
Raydium: timecall: Using basic gettimeofday() method
Raydium: timecall: OK (999999 Hz)
Raydium: timecall: softcall 0: 1 Hz (1000000 clocks interval)
Raydium: particle: OK
Raydium: gui: OK
Raydium: video (live): OK
Raydium: shadow: OK
Raydium: HDR: OK
Raydium: shaders: OK
Raydium: webserver: OK
Raydium: Raydium engine reseted to original state
Raydium: timecall: callback 1: 400 Hz (2500 clocks interval)
Raydium: physics: ODE Net: 10 element(s)/packet
Raydium: physics: OK
Raydium: RegAPI: OK
Raydium: Engine is now ready.
    -----------------------------------------------------------
Raydium: Using repositories to get 'murcielago.wav' file
Raydium: OK (http://fastrepo.raydium.org/)
Raydium: sound: Tried to set negative or 0 Pitch , clipped to 0.1
Segmentation fault


BUT if I take .c files from source and put them into lastest SVN, put music from data to svn music folder,
and do ./odyncomp.sh mania_drive.c ----- c the picture.
Sound and music work! Game runs!

However, I cannot do ./ostatcomp.sh mania_drive.c:
Code:
In file included from raydium/index.c:86,
                 from mania2.c:9:
raydium/sprites.c: В функции ‘raydium_sprite_load’
raydium/sprites.c:229: предупреждение: implicit declaration of function ‘raydium_ode_object_delete_name’
raydium/sprites.c:230: предупреждение: implicit declaration of function ‘raydium_ode_object_create’
raydium/sprites.c:233: предупреждение: implicit declaration of function ‘raydium_ode_object_box_add’
raydium/sprites.c:233: ошибка: ‘RAYDIUM_ODE_STANDARD’ undeclared (first use in this function)
raydium/sprites.c:233: ошибка: (Each undeclared identifier is reported only once
raydium/sprites.c:233: ошибка: for each function it appears in.)
raydium/sprites.c:235: предупреждение: implicit declaration of function ‘raydium_ode_element_move_name_3f’
raydium/sprites.c: В функции ‘raydium_sprite_move’
raydium/sprites.c:336: предупреждение: implicit declaration of function ‘raydium_ode_object_move_3f’
raydium/sprites.c: В функции ‘raydium_sprite_free’
raydium/sprites.c:461: предупреждение: implicit declaration of function ‘raydium_ode_object_delete’
./ostatcomp.sh: 21: ./test: not found



or ocomp.sh mania_drive.c:
Code:
raydium/ode.c:5178: ошибка: ‘struct raydium_ode_Element’ has no member named ‘capture_rot2’
raydium/ode.c:5180: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_move’
raydium/ode.c:5181: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_rotateq’
raydium/ode.c: В функции ‘raydium_ode_capture_internal_read_event’
raydium/ode.c:5288: ошибка: ‘dReal’ undeclared (first use in this function)
raydium/ode.c:5288: ошибка: expected ‘;’ before ‘sizes’
raydium/ode.c:5325: ошибка: ‘sizes’ undeclared (first use in this function)
raydium/ode.c:5359: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_object_box_add’
raydium/ode.c:5361: ошибка: ‘struct raydium_ode_Element’ has no member named ‘replayed’
raydium/ode.c:5377: предупреждение: passing argument 5 of ‘raydium_ode_object_sphere_add’ makes pointer from integer without a cast
raydium/ode.c:5377: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_object_sphere_add’
raydium/ode.c:5379: ошибка: ‘struct raydium_ode_Element’ has no member named ‘replayed’
raydium/ode.c: В функции ‘raydium_ode_capture_internal_read_move’
raydium/ode.c:5405: ошибка: ‘dReal’ undeclared (first use in this function)
raydium/ode.c:5405: ошибка: expected ‘;’ before ‘pos’
raydium/ode.c:5406: ошибка: expected ‘;’ before ‘rot’
raydium/ode.c:5429: ошибка: ‘pos’ undeclared (first use in this function)
raydium/ode.c:5430: ошибка: ‘rot’ undeclared (first use in this function)
raydium/ode.c:5435: ошибка: ‘struct raydium_ode_Element’ has no member named ‘capture_pos1’
raydium/ode.c:5436: ошибка: ‘struct raydium_ode_Element’ has no member named ‘capture_pos1’
raydium/ode.c:5437: ошибка: ‘struct raydium_ode_Element’ has no member named ‘capture_pos1’
raydium/ode.c:5438: ошибка: ‘struct raydium_ode_Element’ has no member named ‘capture_rot1’
raydium/ode.c:5443: ошибка: ‘struct raydium_ode_Element’ has no member named ‘capture_pos2’
raydium/ode.c:5444: ошибка: ‘struct raydium_ode_Element’ has no member named ‘capture_pos2’
raydium/ode.c:5445: ошибка: ‘struct raydium_ode_Element’ has no member named ‘capture_pos2’
raydium/ode.c:5446: ошибка: ‘struct raydium_ode_Element’ has no member named ‘capture_rot2’
raydium/ode.c: В функции ‘raydium_ode_autodisable_set’
raydium/ode.c:5469: предупреждение: implicit declaration of function ‘dWorldSetAutoDisableFlag’
raydium/ode.c:5469: ошибка: ‘raydium_ode_world’ undeclared (first use in this function)
raydium/ode.c: В функции ‘raydium_ode_autodisable_get’
raydium/ode.c:5481: предупреждение: implicit declaration of function ‘dWorldGetAutoDisableFlag’
raydium/ode.c:5481: ошибка: ‘raydium_ode_world’ undeclared (first use in this function)
raydium/ode.c: В функции ‘raydium_ode_element_disable_get’
raydium/ode.c:5497: предупреждение: implicit declaration of function ‘dBodyIsEnabled’
raydium/ode.c:5497: ошибка: ‘struct raydium_ode_Element’ has no member named ‘body’
raydium/ode.c: В функции ‘raydium_ode_element_disable_set’
raydium/ode.c:5519: предупреждение: implicit declaration of function ‘dBodyDisable’
raydium/ode.c:5519: ошибка: ‘struct raydium_ode_Element’ has no member named ‘body’
raydium/ode.c:5521: ошибка: ‘struct raydium_ode_Element’ has no member named ‘body’
In file included from raydium/ode.c:5530,
                 from raydium/index.c:84,
                 from mania_drive.c:5:
raydium/ode_net.c: В функции ‘raydium_network_nid_element_find’
raydium/ode_net.c:25: ошибка: ‘struct raydium_ode_Element’ has no member named ‘nid’
raydium/ode_net.c: В функции ‘raydium_ode_network_newdel_event’
raydium/ode_net.c:35: ошибка: ‘dReal’ undeclared (first use in this function)
raydium/ode_net.c:35: ошибка: expected ‘;’ before ‘get’
raydium/ode_net.c:36: ошибка: expected ‘;’ before ‘default_pos’
raydium/ode_net.c:63: ошибка: ‘get’ undeclared (first use in this function)
raydium/ode_net.c:75: ошибка: ‘dSphereClass’ undeclared (first use in this function)
raydium/ode_net.c:77: предупреждение: passing argument 5 of ‘raydium_ode_object_sphere_add’ makes pointer from integer without a cast
raydium/ode_net.c:77: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_object_sphere_add’
raydium/ode_net.c:79: ошибка: ‘dBoxClass’ undeclared (first use in this function)
raydium/ode_net.c:81: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_object_box_add’
raydium/ode_net.c:84: ошибка: ‘struct raydium_ode_Element’ has no member named ‘distant_owner’
raydium/ode_net.c:85: ошибка: ‘struct raydium_ode_Element’ has no member named ‘nid’
raydium/ode_net.c:86: ошибка: ‘struct raydium_ode_Element’ has no member named ‘lastnetupdate’
raydium/ode_net.c:87: ошибка: ‘default_pos’ undeclared (first use in this function)
raydium/ode_net.c:87: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_move’
raydium/ode_net.c:94: ошибка: ‘struct raydium_ode_Element’ has no member named ‘distant’
raydium/ode_net.c: В функции ‘raydium_ode_network_nidwho_event’
raydium/ode_net.c:110: ошибка: ‘struct raydium_ode_Element’ has no member named ‘distant’
raydium/ode_net.c: В функции ‘raydium_ode_network_explosion_event’
raydium/ode_net.c:131: ошибка: ‘raydium_ode_network_Explosion’ has no member named ‘radius’
raydium/ode_net.c:131: ошибка: ‘raydium_ode_network_Explosion’ has no member named ‘propag’
raydium/ode_net.c:131: ошибка: ‘raydium_ode_network_Explosion’ has no member named ‘pos’
raydium/ode_net.c:131: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_explosion_create’
raydium/ode_net.c:135: предупреждение: implicit declaration of function ‘raydium_ode_explosion_blow’
raydium/ode_net.c:135: ошибка: ‘raydium_ode_network_Explosion’ has no member named ‘radius’
raydium/ode_net.c:135: ошибка: ‘raydium_ode_network_Explosion’ has no member named ‘force’
raydium/ode_net.c:135: ошибка: ‘raydium_ode_network_Explosion’ has no member named ‘pos’
raydium/ode_net.c: В функции ‘raydium_ode_network_element_send’
raydium/ode_net.c:179: ошибка: ‘dReal’ undeclared (first use in this function)
raydium/ode_net.c:179: ошибка: expected ‘;’ before ‘q’
raydium/ode_net.c:180: ошибка: ‘p’ undeclared (first use in this function)
raydium/ode_net.c:192: ошибка: ‘struct raydium_ode_Element’ has no member named ‘nid’
raydium/ode_net.c:193: ошибка: ‘struct raydium_ode_Element’ has no member named ‘distant’
raydium/ode_net.c:197: ошибка: ‘struct raydium_ode_Element’ has no member named ‘nid’
raydium/ode_net.c:200: ошибка: ‘raydium_ode_network_Event’ has no member named ‘pos’
raydium/ode_net.c:202: ошибка: ‘q’ undeclared (first use in this function)
raydium/ode_net.c:202: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_rotq_get’
raydium/ode_net.c:203: ошибка: ‘raydium_ode_network_Event’ has no member named ‘rot’
raydium/ode_net.c:205: предупреждение: implicit declaration of function ‘raydium_ode_element_linearvelocity_get’
raydium/ode_net.c:206: ошибка: ‘raydium_ode_network_Event’ has no member named ‘vel’
raydium/ode_net.c: В функции ‘raydium_ode_network_element_send_all’
raydium/ode_net.c:232: ошибка: ‘struct raydium_ode_Element’ has no member named ‘nid’
raydium/ode_net.c: В функции ‘raydium_ode_network_element_send_random’
raydium/ode_net.c:259: ошибка: ‘struct raydium_ode_Element’ has no member named ‘nid’
raydium/ode_net.c: В функции ‘raydium_ode_network_element_send_iterative’
raydium/ode_net.c:288: ошибка: ‘struct raydium_ode_Element’ has no member named ‘nid’
raydium/ode_net.c: В функции ‘raydium_ode_network_apply’
raydium/ode_net.c:316: ошибка: ‘dReal’ undeclared (first use in this function)
raydium/ode_net.c:316: ошибка: expected ‘;’ before ‘factor’
raydium/ode_net.c:317: ошибка: ‘pos’ undeclared (first use in this function)
raydium/ode_net.c:318: ошибка: expected ‘;’ before ‘Pcross’
raydium/ode_net.c:328: ошибка: ‘struct raydium_ode_Element’ has no member named ‘lastnetupdate’
raydium/ode_net.c:332: ошибка: ‘struct raydium_ode_Element’ has no member named ‘net_last_time’
raydium/ode_net.c:333: ошибка: ‘struct raydium_ode_Element’ has no member named ‘net_last_interval’
raydium/ode_net.c:333: ошибка: ‘struct raydium_ode_Element’ has no member named ‘net_last_time’
raydium/ode_net.c:334: ошибка: ‘struct raydium_ode_Element’ has no member named ‘net_last_time’
raydium/ode_net.c:336: ошибка: ‘raydium_ode_network_Event’ has no member named ‘rot’
raydium/ode_net.c:336: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_rotateq’
raydium/ode_net.c:340: ошибка: ‘raydium_ode_network_Event’ has no member named ‘pos’
raydium/ode_net.c:340: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_move’
raydium/ode_net.c:341: ошибка: ‘struct raydium_ode_Element’ has no member named ‘netvel’
raydium/ode_net.c:341: ошибка: ‘raydium_ode_network_Event’ has no member named ‘vel’
raydium/ode_net.c:351: ошибка: ‘factor’ undeclared (first use in this function)
raydium/ode_net.c:351: ошибка: ‘struct raydium_ode_Element’ has no member named ‘net_last_interval’
raydium/ode_net.c:359: ошибка: ‘struct raydium_ode_Element’ has no member named ‘netvel’
raydium/ode_net.c:365: ошибка: ‘Pcross’ undeclared (first use in this function)
raydium/ode_net.c:365: ошибка: ‘raydium_ode_network_Event’ has no member named ‘pos’
raydium/ode_net.c:366: ошибка: ‘raydium_ode_network_Event’ has no member named ‘vel’
raydium/ode_net.c:374: ошибка: ‘struct raydium_ode_Element’ has no member named ‘netvel’
raydium/ode_net.c: В функции ‘raydium_ode_network_read’
raydium/ode_net.c:427: ошибка: ‘struct raydium_ode_Element’ has no member named ‘nid’
raydium/ode_net.c:428: ошибка: ‘struct raydium_ode_Element’ has no member named ‘distant’
raydium/ode_net.c:429: ошибка: ‘struct raydium_ode_Element’ has no member named ‘lastnetupdate’
raydium/ode_net.c: В функции ‘raydium_ode_network_element_new’
raydium/ode_net.c:461: ошибка: ‘dReal’ undeclared (first use in this function)
raydium/ode_net.c:461: ошибка: expected ‘;’ before ‘set’
raydium/ode_net.c:467: ошибка: ‘struct raydium_ode_Element’ has no member named ‘distant’
raydium/ode_net.c:469: ошибка: ‘struct raydium_ode_Element’ has no member named ‘nid’
raydium/ode_net.c:472: ошибка: ‘struct raydium_ode_Element’ has no member named ‘nid’
raydium/ode_net.c:475: ошибка: ‘struct raydium_ode_Element’ has no member named ‘geom’
raydium/ode_net.c:481: ошибка: ‘dSphereClass’ undeclared (first use in this function)
raydium/ode_net.c:482: ошибка: ‘set’ undeclared (first use in this function)
raydium/ode_net.c:482: ошибка: ‘struct raydium_ode_Element’ has no member named ‘geom’
raydium/ode_net.c:485: ошибка: ‘dBoxClass’ undeclared (first use in this function)
raydium/ode_net.c:486: ошибка: ‘struct raydium_ode_Element’ has no member named ‘geom’
raydium/ode_net.c:492: ошибка: ‘struct raydium_ode_Element’ has no member named ‘user_tag’
raydium/ode_net.c: В функции ‘raydium_ode_network_element_delete’
raydium/ode_net.c:509: ошибка: ‘struct raydium_ode_Element’ has no member named ‘nid’
raydium/ode_net.c:510: ошибка: ‘struct raydium_ode_Element’ has no member named ‘distant’
raydium/ode_net.c:513: ошибка: ‘struct raydium_ode_Element’ has no member named ‘nid’
raydium/ode_net.c: В функции ‘raydium_ode_network_element_isdistant’
raydium/ode_net.c:535: ошибка: ‘struct raydium_ode_Element’ has no member named ‘distant’
raydium/ode_net.c:536: предупреждение: control reaches end of non-void function
raydium/ode_net.c: В функции ‘raydium_ode_network_element_distantowner’
raydium/ode_net.c:550: ошибка: ‘struct raydium_ode_Element’ has no member named ‘distant_owner’
raydium/ode_net.c:551: предупреждение: control reaches end of non-void function
raydium/ode_net.c: В функции ‘raydium_ode_network_element_trajectory_correct’
raydium/ode_net.c:562: ошибка: ‘dReal’ undeclared (first use in this function)
raydium/ode_net.c:562: ошибка: expected ‘;’ before ‘pos’
raydium/ode_net.c:563: ошибка: ‘cur’ undeclared (first use in this function)
raydium/ode_net.c:588: ошибка: ‘pos’ undeclared (first use in this function)
raydium/ode_net.c:590: ошибка: ‘raydium_ode_Element’ has no member named ‘netvel’
raydium/ode_net.c:597: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_move’
In file included from raydium/index.c:86,
                 from mania_drive.c:5:
raydium/sprites.c: В функции ‘raydium_sprite_load’
raydium/sprites.c:233: ошибка: incompatible type for argument 5 of ‘raydium_ode_object_box_add’
raydium/sprites.c:233: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_object_box_add’
raydium/sprites.c:235: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_move_name_3f’
In file included from raydium/index.c:90,
                 from mania_drive.c:5:
raydium/reg_api.c: В функции ‘zif_raydium_ode_element_camera_inboard_name’
raydium/reg_api.c:105: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_camera_inboard_name’
raydium/reg_api.c: В функции ‘zif_raydium_ode_element_material_name’
raydium/reg_api.c:112: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_material_name’
raydium/reg_api.c: В функции ‘zif_raydium_ode_element_move_name_3f’
raydium/reg_api.c:113: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_move_name_3f’
raydium/reg_api.c: В функции ‘zif_raydium_ode_element_rotate_name_3f’
raydium/reg_api.c:114: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_rotate_name_3f’
raydium/reg_api.c: В функции ‘zif_raydium_ode_element_player_angle_name’
raydium/reg_api.c:117: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_player_angle_name’
raydium/reg_api.c: В функции ‘zif_raydium_ode_element_rotfriction_name’
raydium/reg_api.c:121: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_rotfriction_name’
raydium/reg_api.c: В функции ‘zif_raydium_ode_element_slip_name’
raydium/reg_api.c:123: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_slip_name’
raydium/reg_api.c: В функции ‘zif_raydium_ode_joint_attach_hinge_name’
raydium/reg_api.c:130: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_joint_attach_hinge_name’
raydium/reg_api.c: В функции ‘zif_raydium_ode_joint_attach_hinge2_name’
raydium/reg_api.c:131: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_joint_attach_hinge2_name’
raydium/reg_api.c: В функции ‘zif_raydium_ode_joint_break_force_name’
raydium/reg_api.c:133: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_joint_break_force_name’
raydium/reg_api.c: В функции ‘zif_raydium_ode_joint_hinge_limits_name’
raydium/reg_api.c:134: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_joint_hinge_limits_name’
raydium/reg_api.c: В функции ‘zif_raydium_ode_joint_suspension_name’
raydium/reg_api.c:136: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_joint_suspension_name’
raydium/reg_api.c: В функции ‘zif_raydium_ode_launcher_name_3f’
raydium/reg_api.c:137: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_launcher_name_3f’
raydium/reg_api.c: В функции ‘zif_raydium_ode_launcher_simple_name_3f’
raydium/reg_api.c:138: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_launcher_simple_name_3f’
raydium/reg_api.c: В функции ‘zif_raydium_ode_motor_angle_name’
raydium/reg_api.c:139: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_motor_angle_name’
raydium/reg_api.c: В функции ‘zif_raydium_ode_motor_power_max_name’
raydium/reg_api.c:143: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_motor_power_max_name’
raydium/reg_api.c: В функции ‘zif_raydium_ode_motor_rocket_orientation_name’
raydium/reg_api.c:144: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_motor_rocket_orientation_name’
raydium/reg_api.c: В функции ‘zif_raydium_ode_motor_rocket_set_name’
raydium/reg_api.c:146: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_motor_rocket_set_name’
raydium/reg_api.c: В функции ‘zif_raydium_ode_motor_speed_name’
raydium/reg_api.c:147: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_motor_speed_name’
raydium/reg_api.c: В функции ‘zif_raydium_ode_motor_speed_get_name’
raydium/reg_api.c:148: предупреждение: implicit declaration of function ‘raydium_ode_motor_speed_get_name’
raydium/reg_api.c: В функции ‘zif_raydium_ode_object_box_add’
raydium/reg_api.c:150: ошибка: incompatible type for argument 5 of ‘raydium_ode_object_box_add’
raydium/reg_api.c:150: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_object_box_add’
raydium/reg_api.c: В функции ‘zif_raydium_ode_object_move_name_3f’
raydium/reg_api.c:155: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_object_move_name_3f’
raydium/reg_api.c: В функции ‘zif_raydium_ode_object_rotate_name_3f’
raydium/reg_api.c:156: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_object_rotate_name_3f’
raydium/reg_api.c: В функции ‘zif_raydium_ode_object_sphere_add’
raydium/reg_api.c:157: предупреждение: passing argument 5 of ‘raydium_ode_object_sphere_add’ makes pointer from integer without a cast
raydium/reg_api.c:157: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_object_sphere_add’
mania_drive.c: На верхнем уровне:
mania_drive.c:50: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cam_angle_h’
mania_drive.c:51: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cam_angle_v’
mania_drive.c:54: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cam_pos’
mania_drive.c:84: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gears’
mania_drive.c: В функции ‘create_props’
mania_drive.c:161: ошибка: ‘dReal’ undeclared (first use in this function)
mania_drive.c:161: ошибка: expected ‘;’ before ‘p’
mania_drive.c:176: ошибка: ‘p’ undeclared (first use in this function)
mania_drive.c:176: ошибка: ‘r’ undeclared (first use in this function)
mania_drive.c:180: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_object_box_add’
mania_drive.c:181: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_move’
mania_drive.c:182: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_rotate’
mania_drive.c: В функции ‘load_boxes’
mania_drive.c:1432: ошибка: incompatible type for argument 5 of ‘raydium_ode_object_box_add’
mania_drive.c:1432: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_object_box_add’
mania_drive.c:1433: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_move_name_3f’
mania_drive.c: В функции ‘col_car_box’
mania_drive.c:1869: ошибка: ‘dReal’ undeclared (first use in this function)
mania_drive.c:1869: ошибка: expected ‘;’ before ‘vect’
mania_drive.c:1920: ошибка: ‘vect’ undeclared (first use in this function)
mania_drive.c:1923: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_object_addforce’
mania_drive.c:1931: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_object_addforce’
mania_drive.c:1939: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_object_addforce’
mania_drive.c:1949: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_object_addforce’
mania_drive.c: На верхнем уровне:
mania_drive.c:1974: ошибка: expected declaration specifiers or ‘...’ before ‘dContact’
mania_drive.c: В функции ‘draw_element_after’
mania_drive.c:2019: ошибка: ‘dReal’ undeclared (first use in this function)
mania_drive.c:2019: ошибка: ‘pos’ undeclared (first use in this function)
mania_drive.c: В функции ‘create_car’
mania_drive.c:2108: ошибка: ‘dReal’ undeclared (first use in this function)
mania_drive.c:2108: ошибка: expected ‘;’ before ‘pos’
mania_drive.c:2109: ошибка: expected ‘;’ before ‘rot’
mania_drive.c:2110: ошибка: expected ‘;’ before ‘partoffset1’
mania_drive.c:2127: ошибка: incompatible type for argument 5 of ‘raydium_ode_object_box_add’
mania_drive.c:2127: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_object_box_add’
mania_drive.c:2128: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_slip_name’
mania_drive.c:2131: ошибка: incompatible type for argument 5 of ‘raydium_ode_object_box_add’
mania_drive.c:2131: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_object_box_add’
mania_drive.c:2132: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_move_name_3f’
mania_drive.c:2137: предупреждение: passing argument 5 of ‘raydium_ode_object_sphere_add’ makes pointer from integer without a cast
mania_drive.c:2137: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_object_sphere_add’
mania_drive.c:2138: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_rotfriction_name’
mania_drive.c:2139: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_move_name_3f’
mania_drive.c:2140: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_joint_attach_hinge2_name’
mania_drive.c:2141: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_joint_break_force_name’
mania_drive.c:2142: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_joint_suspension_name’
mania_drive.c:2145: предупреждение: passing argument 5 of ‘raydium_ode_object_sphere_add’ makes pointer from integer without a cast
mania_drive.c:2145: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_object_sphere_add’
mania_drive.c:2146: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_rotfriction_name’
mania_drive.c:2147: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_move_name_3f’
mania_drive.c:2148: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_joint_attach_hinge2_name’
mania_drive.c:2149: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_joint_break_force_name’
mania_drive.c:2150: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_joint_suspension_name’
mania_drive.c:2153: предупреждение: passing argument 5 of ‘raydium_ode_object_sphere_add’ makes pointer from integer without a cast
mania_drive.c:2153: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_object_sphere_add’
mania_drive.c:2154: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_rotfriction_name’
mania_drive.c:2155: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_move_name_3f’
mania_drive.c:2156: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_joint_attach_hinge2_name’
mania_drive.c:2158: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_joint_break_force_name’
mania_drive.c:2159: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_joint_suspension_name’
mania_drive.c:2162: предупреждение: passing argument 5 of ‘raydium_ode_object_sphere_add’ makes pointer from integer without a cast
mania_drive.c:2162: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_object_sphere_add’
mania_drive.c:2163: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_rotfriction_name’
mania_drive.c:2164: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_move_name_3f’
mania_drive.c:2165: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_joint_attach_hinge2_name’
mania_drive.c:2167: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_joint_break_force_name’
mania_drive.c:2168: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_joint_suspension_name’
mania_drive.c:2180: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_motor_power_max_name’
mania_drive.c:2183: ошибка: ‘partoffset1’ undeclared (first use in this function)
mania_drive.c:2183: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_particle_offset_name’
mania_drive.c:2187: ошибка: ‘pos’ undeclared (first use in this function)
mania_drive.c:2190: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_object_move’
mania_drive.c:2194: ошибка: ‘rot’ undeclared (first use in this function)
mania_drive.c:2207: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_object_rotate_name’
mania_drive.c: В функции ‘display’
mania_drive.c:2251: ошибка: ‘dReal’ undeclared (first use in this function)
mania_drive.c:2251: ошибка: expected ‘;’ before ‘speed’
mania_drive.c:2252: ошибка: expected ‘;’ before ‘direct’
mania_drive.c:2253: ошибка: ‘tmp’ undeclared (first use in this function)
mania_drive.c:2254: ошибка: ‘pos’ undeclared (first use in this function)
mania_drive.c:2380: ошибка: ‘speed’ undeclared (first use in this function)
mania_drive.c:2381: ошибка: ‘accel’ undeclared (first use in this function)
mania_drive.c:2386: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_motor_power_max_name’
mania_drive.c:2393: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_motor_power_max_name’
mania_drive.c:2399: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_motor_power_max_name’
mania_drive.c:2403: ошибка: ‘direct’ undeclared (first use in this function)
mania_drive.c:2405: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_motor_speed_name’
mania_drive.c:2406: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_motor_angle_name’
mania_drive.c:2486: предупреждение: implicit declaration of function ‘raydium_ode_element_pos_get_name’
mania_drive.c:2497: ошибка: expected ‘;’ before ‘mpos’
mania_drive.c:2498: ошибка: ‘vel’ undeclared (first use in this function)
mania_drive.c:2499: ошибка: expected ‘;’ before ‘cam’
mania_drive.c:2500: ошибка: expected ‘;’ before ‘dist_vector’
mania_drive.c:2501: ошибка: expected ‘;’ before ‘car_to_cam_distance’
mania_drive.c:2504: предупреждение: implicit declaration of function ‘raydium_ode_element_linearvelocity_get_name’
mania_drive.c:2507: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_RelPointPos_name’
mania_drive.c:2512: ошибка: ‘mpos’ undeclared (first use in this function)
mania_drive.c:2517: ошибка: ‘dist_vector’ undeclared (first use in this function)
mania_drive.c:2517: ошибка: ‘cam_pos’ undeclared (first use in this function)
mania_drive.c:2521: ошибка: ‘car_to_cam_distance’ undeclared (first use in this function)
mania_drive.c:2543: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_camera_inboard_name’
mania_drive.c:2545: ошибка: слишком много аргументов в вызове функции ‘raydium_ode_element_camera_inboard_name’
./comp.sh: 13: ./test: not found


How do I build a runnable version based on new SVN release? It is sure, that old, yet stable 1.2 produces this audio error..


Attachments:
Screenshot.jpg
Screenshot.jpg [ 156.87 KiB | Viewed 16101 times ]
Top
 Profile  
 
 Post subject: Re: Sound problem...
PostPosted: Wed Sep 10, 2008 7:39 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2590
Location: gnniiiii (Scrat)
First, thanks for taking time for testing all this.
But then, I'm sorry, there's a bit to much informations and approximate english for me ! ;)

Let's resume thing a little bit. Correct me if anything is wrong here :
- The static binary from the official web : no sound
- Your own compilation with SVN game & engine : sound OK
- Your own compilation of 1.2 game & engine : ?
- Mixed things between 1.2, SVN, ... : I can't understand anything ;)

So, then: What do you want exactly ? A 1.3 (svn) binary of the game ? Or for 1.2 ?

Other points:

it is sure, that old, yet stable 1.2 produces this audio error..
If you mean that the trouble is due to 1.2 game & engine code, you're probably wrong. For me, it's not the code, but the linked libraries. See below.

What was the reason and was I the only one affected and why? Quite many ppl use PulseAudio...
The trouble is not PulseAudio. I've personally seen MD1.2 run OK on a PA enabled distribution (Mandriva 2008.1 Spring). It seems here that is some sort of version conflict between the official 1.2 static binary (linked with some quiet old libs) and your shiny new distribution, somewhere around ALSA. You're probably not the only one affected by this bug, but it seems unusual enough, for you to be the first one to report it.


Top
 Profile  
 
 Post subject: Re: Sound problem...
PostPosted: Thu Sep 11, 2008 11:30 am 
Offline

Joined: Wed Sep 10, 2008 1:16 pm
Posts: 9
No problem Xfennec, pleasure is all mine) I am impressed for such engine to exist!) Respect to Raydium team!!

Im sorry for overloading you with info( Yes, you got it right, and i agree too.
To summarize:
1 - Static 1.2 fullpackage runs without any SFX(thats because my first message).
2 + Raydium nightly SVN compiles and runs the testdemo6 WITH SFX.
3 + I was able to put 1.2 code(its inside (1), c files) inside of (2) and compile them with odyncomp(mania_drive.c). It run, it had SFX!! This is the last picture. However i need to dyncomp it all time i wish to play. See next point.
4 - Im unable to build those permanent *.c- > *.static executables in (3).... at all .... errors... I think thats my fault... Im doing something wrong.
5 - Same with ManiaDrive 1.2 Code only version, it wont build... Got code, put data part inside. Get segmentation fault..

So the question is... Im sitting infont of a browser: what actions should i do, to get playable game WITH sound in this environiment. =)

SFX=sound+music.


Top
 Profile  
 
PostPosted: Thu Sep 11, 2008 3:40 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2590
Location: gnniiiii (Scrat)
Quote:
3 + I was able to put 1.2 code(its inside (1), c files) inside of (2) and compile them with odyncomp(mania_drive.c).

If (1) is our "Static 1.2 fullpackage" (the one on our website), there isn't any C source file inside. I've just checked again.
So, then, what did you copy over the SVN ... ? Or it's another fullpackage you've downloaded ?


Top
 Profile  
 
PostPosted: Thu Sep 11, 2008 3:43 pm 
Offline

Joined: Mon Aug 25, 2008 1:08 pm
Posts: 67
ubuntustudio n'est peut etre pas le plus adpater pour creer des applis avec du son, j'ai deja eu des problemes avec ubuntustudio, avec tout le systeme jack, par exemple :)

_________________
Image


Top
 Profile  
 
PostPosted: Thu Sep 11, 2008 8:17 pm 
Offline

Joined: Wed Sep 10, 2008 1:16 pm
Posts: 9
@Xfennec
From your site,sorry.. (c->from SourceOnly 1.2)+(DataOnly 1.2)>>(make`d SVN 1.3); odyncomp mania_drive.c; It executed.
All data from your site. Just trying to make it run as it should :(

How can I compile from source so it runs?
SourceOnly1.2 wont run(Data package installed within)>>segmentation fault.
SVN 1.3 runs demo and SourceOnly c`s(1.2)+Data. But only in odyncomp... I cannot make static files!

@nostalgeek
https://launchpad.net/ubuntu/ if you have some problems regarding ubuntu. :D
Sure I had some problems, im using Linux since 2 months.. But eventually read several books and solved them all.
99% were my misunderstanding.


Top
 Profile  
 
PostPosted: Thu Sep 11, 2008 8:43 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2590
Location: gnniiiii (Scrat)
OK, it's way more understandable like that. This was not the binary package, but the source one :)

For you, then, the best way to play the game is to use the SVN. You'll get the latest (unreleased !) version of ManiaDrive (1.3). You don't need to generate a static binary since binaries are compiled with our own libraries.

I'll try to give you a step by step procedure. You've already done most of this, but you can restart from zero for a clean result:
- Download the latest SVN of Raydium
- Uncompress all this in "/home/where-you-want/mania_drive/" (of course, change this path to anything you want)
- ./configure && make
- ./odyncomp.sh mania_drive.c (may be long to launch the game, since it will download some data)
- Exit the game once in the menu.
- Use the mania_music folder from the data package to populate your empty one (songs are not auto-downloaded)
- "mv test mania_drive.binary"
- Create a "mania_drive.sh" file with the following content:
Code:
#!/bin/sh
cd /home/where-you-want/mania_drive/
export LD_LIBRARY_PATH=.
./mania_drive.binary

- Move this file anywhere you want, preferably in your $PATH (/usr/bin if you've no other idea)

Now you can easily launch the game using "mania_drive.sh", anytime, whatever is your current directory, create shortcuts, ... The first time you'll play the game, it will need to download data (mainly tracks and textures), so do not panic if the game seems frozen :)

You can do the same with mania2.c if you want to use the track editor.

Hope that helps !


Top
 Profile  
 
PostPosted: Fri Sep 12, 2008 6:06 pm 
Offline

Joined: Wed Sep 10, 2008 1:16 pm
Posts: 9
:wink: :wink: :wink:
thanks!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group