*** tpb has joined #freeorion | 00:00 | |
*** GeofftheMedio has quit IRC | 00:08 | |
*** GeofftheMedio has joined #freeorion | 01:49 | |
*** theHive has joined #freeorion | 03:45 | |
*** theHive has left #freeorion | 03:50 | |
*** theHive has joined #freeorion | 03:50 | |
*** theHive has quit IRC | 04:14 | |
*** calav3ra has joined #freeorion | 06:11 | |
*** calav3ra has quit IRC | 06:11 | |
*** theHive has joined #freeorion | 07:49 | |
*** sobczyk has joined #freeorion | 09:25 | |
sobczyk | hi | 09:26 |
---|---|---|
GeofftheMedio | hi... | 09:26 |
sobczyk | again me :) | 09:26 |
GeofftheMedio | i noticed | 09:26 |
sobczyk | how to compile the game with open al support? | 09:26 |
GeofftheMedio | http://freeorion.org/forum/viewtopic.php?p=27141#p27141 | 09:28 |
tpb | <http://ln-s.net/dlT> (at freeorion.org) | 09:28 |
GeofftheMedio | and in chmain.cpp, change all instances of FMOD to OpenAL | 09:30 |
GeofftheMedio | including the top #include, and where the variable app is declared (from HumanClientAppSoundFMod to HumanClientAppSoundOpenAL) | 09:30 |
GeofftheMedio | you'll also need the various OpenAL libraries to build against and load at runtime | 09:31 |
sobczyk | you mean the dev packages? | 09:31 |
GeofftheMedio | I assume so... you need al.h and vorbisfile.h | 09:33 |
GeofftheMedio | and alc.h and alut.h | 09:34 |
sobczyk | hmm openal utility toolkit | 09:35 |
*** theHive has left #freeorion | 09:41 | |
sobczyk | theres error in the new sconstruct | 09:42 |
GeofftheMedio | ...? | 09:42 |
sobczyk | freealut-config: not found | 09:43 |
GeofftheMedio | do you have alut? | 09:44 |
sobczyk | yes the dev package too | 09:44 |
GeofftheMedio | I don't know much about how SCons works, so I'm not sure what needs to be done | 09:45 |
sobczyk | ok I figured it out, it should be 'pkg-config freealut --cflags --libs' instead of 'freealut-config --cflags --libs' | 09:49 |
GeofftheMedio | doesn't that assume something about the presence of pkg-config? | 09:50 |
sobczyk | ? | 09:52 |
GeofftheMedio | there are a bunch of if pkg_config: checks in SConstruct | 09:52 |
GeofftheMedio | what happens if pkg_config isn't available? | 09:52 |
sobczyk | I think its in every linux platform | 09:53 |
GeofftheMedio | then why are the if's in there? | 09:53 |
sobczyk | hmm I see your pont | 09:54 |
sobczyk | build error | 09:55 |
sobczyk | undefined reference to `ov_clear' | 09:55 |
GeofftheMedio | apparently you also need libvorbis, but they didn't bother to write the scons script to check for it...? | 09:56 |
GeofftheMedio | I'm not sure if that's related | 09:57 |
GeofftheMedio | yes: it's in vorbisfile.h | 09:58 |
sobczyk | I have the dev vorbis package | 09:58 |
GeofftheMedio | but SCons doesn't know where it is...? | 09:59 |
sobczyk | yes, I know | 09:59 |
sobczyk | why search is not working on forum? | 09:59 |
GeofftheMedio | ok, I wasn't sure if you were saying you had it so it should be working, or just that you had it so it's ok | 10:00 |
GeofftheMedio | search has been finnicky since we switched the version 3 release candidate | 10:00 |
GeofftheMedio | searching for "ship" brings up a bunch of results, so it's not useless | 10:00 |
sobczyk | I found the scons part for vorbis | 10:01 |
GeofftheMedio | where does vorbisfile_version get defined? | 10:07 |
sobczyk | hehe that was tricky | 10:09 |
sobczyk | you must take it from your package :) | 10:09 |
GeofftheMedio | but how does the script know the value? | 10:09 |
GeofftheMedio | is there a command line setting I'm missing? | 10:09 |
sobczyk | I've just pasted it | 10:10 |
sobczyk | no theres none | 10:10 |
GeofftheMedio | so how does it get set? | 10:10 |
sobczyk | The author should write a comment | 10:10 |
sobczyk | i just pasted '1.1.2' | 10:10 |
sobczyk | sound working | 10:11 |
GeofftheMedio | yay... | 10:11 |
GeofftheMedio | could you post your updated sconstruct to latest thread on the subject? | 10:12 |
GeofftheMedio | http://freeorion.org/forum/viewtopic.php?p=27141#p27141 | 10:12 |
tpb | <http://ln-s.net/dlT> (at freeorion.org) | 10:12 |
sobczyk | I don't know why but in native games I've got a hum coming out of speakers | 10:13 |
GeofftheMedio | drivers? | 10:14 |
sobczyk | just the sconstruct? | 10:15 |
sobczyk | I mean the part with openal? | 10:15 |
GeofftheMedio | and vorbis | 10:15 |
sobczyk | because I deleted fmod lines | 10:15 |
GeofftheMedio | that's fine | 10:15 |
GeofftheMedio | does CheckPkg('somelib', lib_version) set the value of lib_version to the version of somelib that it finds? | 10:21 |
sobczyk | no it check if the library version is available | 10:23 |
sobczyk | if not it exits | 10:23 |
sobczyk | ex. Checking for vorbisfile >= 1.1.2... yes | 10:24 |
sobczyk | ok | 10:33 |
sobczyk | I think I got it as easy as possible | 10:33 |
GeofftheMedio | k, thanks | 10:33 |
sobczyk | I think theres some bug | 10:38 |
sobczyk | I've got 100% cpu usage | 10:38 |
GeofftheMedio | doing what? | 10:38 |
sobczyk | turn 2 | 10:39 |
sobczyk | nothing | 10:39 |
GeofftheMedio | what screen are you on? | 10:39 |
GeofftheMedio | if the planets on the sidepanel are rendering, that might explain it | 10:39 |
sobczyk | galaxy view | 10:39 |
sobczyk | oh | 10:39 |
GeofftheMedio | I don't think that code's been optimized | 10:39 |
sobczyk | it's GL? | 10:39 |
GeofftheMedio | yes | 10:39 |
*** tyreth has quit IRC | 10:49 | |
*** sobczyk has quit IRC | 11:03 | |
*** STalKer-X has quit IRC | 13:22 | |
*** Carmina has joined #freeorion | 13:22 | |
*** tyreth has joined #freeorion | 19:27 | |
*** GeofftheMedio has quit IRC | 23:11 | |
*** GeofftheMedio has joined #freeorion | 23:15 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!