Friday, 2007-06-22

*** tpb has joined #freeorion00:00
*** GeofftheMedio has quit IRC00:08
*** GeofftheMedio has joined #freeorion01:49
*** theHive has joined #freeorion03:45
*** theHive has left #freeorion03:50
*** theHive has joined #freeorion03:50
*** theHive has quit IRC04:14
*** calav3ra has joined #freeorion06:11
*** calav3ra has quit IRC06:11
*** theHive has joined #freeorion07:49
*** sobczyk has joined #freeorion09:25
sobczykhi09:26
GeofftheMediohi...09:26
sobczykagain me :)09:26
GeofftheMedioi noticed09:26
sobczykhow to compile the game with open al support?09:26
GeofftheMediohttp://freeorion.org/forum/viewtopic.php?p=27141#p2714109:28
tpb<http://ln-s.net/dlT> (at freeorion.org)09:28
GeofftheMedioand in chmain.cpp, change all instances of FMOD to OpenAL09:30
GeofftheMedioincluding the top #include, and where the variable app is declared (from HumanClientAppSoundFMod to HumanClientAppSoundOpenAL)09:30
GeofftheMedioyou'll also need the various OpenAL libraries to build against and load at runtime09:31
sobczykyou mean the dev packages?09:31
GeofftheMedioI assume so... you need al.h and vorbisfile.h09:33
GeofftheMedioand alc.h and alut.h09:34
sobczykhmm openal utility toolkit09:35
*** theHive has left #freeorion09:41
sobczyktheres error in the new sconstruct09:42
GeofftheMedio...?09:42
sobczykfreealut-config: not found09:43
GeofftheMediodo you have alut?09:44
sobczykyes the dev package too09:44
GeofftheMedioI don't know much about how SCons works, so I'm not sure what needs to be done09:45
sobczykok I figured it out, it should be 'pkg-config freealut --cflags --libs' instead of 'freealut-config --cflags --libs'09:49
GeofftheMediodoesn't that assume something about the presence of pkg-config?09:50
sobczyk?09:52
GeofftheMediothere are a bunch of if pkg_config: checks in SConstruct09:52
GeofftheMediowhat happens if pkg_config isn't available?09:52
sobczykI think its in every linux platform09:53
GeofftheMediothen why are the if's in there?09:53
sobczykhmm I see your pont09:54
sobczykbuild error09:55
sobczykundefined reference to `ov_clear'09:55
GeofftheMedioapparently you also need libvorbis, but they didn't bother to write the scons script to check for it...?09:56
GeofftheMedioI'm not sure if that's related09:57
GeofftheMedioyes: it's in vorbisfile.h09:58
sobczykI have the dev vorbis package09:58
GeofftheMediobut SCons doesn't know where it is...?09:59
sobczykyes, I know09:59
sobczykwhy search is not working on forum?09:59
GeofftheMediook, 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 ok10:00
GeofftheMediosearch has been finnicky since we switched the version 3 release candidate10:00
GeofftheMediosearching for "ship" brings up a bunch of results, so it's not useless10:00
sobczykI found the scons part for vorbis10:01
GeofftheMediowhere does vorbisfile_version get defined?10:07
sobczykhehe that was tricky10:09
sobczykyou must take it from your package :)10:09
GeofftheMediobut how does the script know the value?10:09
GeofftheMediois there a command line setting I'm missing?10:09
sobczykI've just pasted it10:10
sobczykno theres none10:10
GeofftheMedioso how does it get set?10:10
sobczykThe author should write a comment10:10
sobczyki just pasted '1.1.2'10:10
sobczyksound working10:11
GeofftheMedioyay...10:11
GeofftheMediocould you post your updated sconstruct to latest thread on the subject?10:12
GeofftheMediohttp://freeorion.org/forum/viewtopic.php?p=27141#p2714110:12
tpb<http://ln-s.net/dlT> (at freeorion.org)10:12
sobczykI don't know why but in native games I've got a hum coming out of speakers10:13
GeofftheMediodrivers?10:14
sobczykjust the sconstruct?10:15
sobczykI mean the part with openal?10:15
GeofftheMedioand vorbis10:15
sobczykbecause I deleted fmod lines10:15
GeofftheMediothat's fine10:15
GeofftheMediodoes CheckPkg('somelib', lib_version) set the value of lib_version to the version of somelib that it finds?10:21
sobczykno it check if the library version is available10:23
sobczykif not it exits10:23
sobczykex. Checking for vorbisfile >= 1.1.2... yes10:24
sobczykok10:33
sobczykI think I got it as easy as possible10:33
GeofftheMediok, thanks10:33
sobczykI think theres some bug10:38
sobczykI've got 100% cpu usage10:38
GeofftheMediodoing what?10:38
sobczykturn 210:39
sobczyknothing10:39
GeofftheMediowhat screen are you on?10:39
GeofftheMedioif the planets on the sidepanel are rendering, that might explain it10:39
sobczykgalaxy view10:39
sobczykoh10:39
GeofftheMedioI don't think that code's been optimized10:39
sobczykit's GL?10:39
GeofftheMedioyes10:39
*** tyreth has quit IRC10:49
*** sobczyk has quit IRC11:03
*** STalKer-X has quit IRC13:22
*** Carmina has joined #freeorion13:22
*** tyreth has joined #freeorion19:27
*** GeofftheMedio has quit IRC23:11
*** GeofftheMedio has joined #freeorion23:15

Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!