#gemrb@irc.freenode.net logs for 30 Jun 2013 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage


[00:01:53] <-- pickle_ has left #gemrb ("Konversation terminated!")
[06:22:55] --> Eli2 has joined #gemrb
[06:23:53] <-- Eli2_ has left IRC (Ping timeout: 245 seconds)
[08:22:04] --> fizzle has joined #gemrb
[15:19:36] --> Yoshimo has joined #gemrb
[17:26:12] <fizzle> um, I guess it's not good if casting Identify applies a permanent "set lore to 0" effect to the entire party...?
[17:26:50] <-- nutron|w has left IRC (Remote host closed the connection)
[19:04:44] --> Cable_ has joined #gemrb
[19:08:22] <-- |Cable| has left IRC (Ping timeout: 256 seconds)
[20:08:16] <-- Yoshimo has left IRC (Quit: Yoshimo)
[20:51:23] --- ermo^ is now known as ermo
[21:08:53] <-- fizzle has left #gemrb
[21:13:57] --> vampi-the-frog has joined #gemrb
[22:34:18] --- ermo is now known as ermo^
[23:44:41] --> alephone has joined #gemrb
[23:47:31] <alephone> hey folks. I checked out and built the current git version of gemrb on osx lion with gcc 4.2.1. Ran into a couple issues. First, I noticed colors were WAY off, everything was bright yellow and green. Commenting out line 173 of SDL12VideoDriver.cpp seems to have fixed the problem. The offending line is: SDL_SetGamma(0.8+brightness/50.0,0.8+brightness/50.0,0.8+brightness/50.0);
[23:48:26] --> brada has joined #gemrb
[23:48:42] <brada> qlephone: building on lion with gcc? o_O
[23:48:44] <brada> why?
[23:49:14] <alephone> second, I noticed that building with clang++ does not work, because clang does not like the following line: if (setjmp(png_jmpbuf(inf->png_ptr))) {
[23:49:33] <alephone> which is in PNGImporter.cpp
[23:49:47] <alephone> that one I didn't feel as safe about commenting out
[23:50:23] <alephone> that line actually occurs twice in that file
[23:51:11] <alephone> brada: well, it says it supports OSX. So I thought I'd test that theory ;-)
[23:51:16] <brada> clang builds png importer fine
[23:51:24] <brada> well i prolly have a more recent clang
[23:51:50] <brada> cant tell you anything unless you say why it doesnt build
[23:51:58] <brada> but the png importer is completely optional anyway
[23:52:03] <brada> and only used by mods
[23:52:35] <alephone> I didn't see an easy way to disable it.
[23:52:53] <brada> cmake or xcode?
[23:53:00] <alephone> cmake
[23:53:07] <brada> i dont know about cmake
[23:53:42] <brada> i find it dubios that the line you cited is an actual problem
[23:53:55] <brada> as i have been building on mac since 10.6 with that line no problem
[23:53:56] <alephone> Ill get you a compile error in a second...
[23:54:10] <brada> but i have been using xcode and clang to build so....
[23:54:36] <brada> alephone: could you post a screenshot of before and after?
[23:55:26] <brada> seems like only the people building with gcc 4.2 on mac have that color problem
[23:55:33] <brada> but they also are using cmake
[23:55:41] <brada> and all have older 10.6 systems
[23:55:51] <brada> so who knows
[23:57:52] <alephone> heres a link to the error: http://pastebin.com/n1x3aZLn
[23:57:54] <Seniorita> /Users/alephone/home/gemrb/gemrb/plugins/PNGImporter/PNGImporter.cpp:164:13: err - Pastebin.com
[23:59:08] <alephone> clang version is Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn)
[23:59:33] <alephone> know of anywhere to post a screenshot ?