Timestamps are in GMT/BST.
| 00:08:31 | raptor | yay tomcrypt and ltc errors |
| 00:58:44 | raptor | kaen: how did you determine the order for the tomcrypt objects to compile in the CMakeLists.txt? |
| 01:07:09 | | Watusimoto_ Quit (Ping timeout: 265 seconds) |
| 01:22:21 | kaen | raptor: iirc I took them straight from the old makefile |
| 01:22:54 | kaen | there's some high-grade wonkiness... what are you running up against? |
| 01:24:08 | raptor | the linker on apple doesn't pull in all the symbols from the object files into the resultant .a |
| 01:24:38 | raptor | but if you run 'ranlib -c libtomcrypt.a' right after it links, it updates its index and works |
| 01:25:03 | kaen | weird |
| 01:25:18 | raptor | yeah... i think it is not a problem with tomcrypt, rather the OSX linker |
| 01:25:29 | raptor | so i have to search for how to replace it/ fix it |
| 01:26:20 | kaen | I saw the -c in the makefile for tomcrypt |
| 01:26:48 | raptor | yeah... cmake may be pulling in a different linker |
| 01:27:03 | raptor | or may just need to run the extra command for good measure |
| 01:27:38 | kaen | set_target_properties(tomcrypt COMPILE_FLAGS "-c") doesn't work? |
| 01:28:02 | kaen | I recall doing that originally but I removed it because removing it didn't break the linux build :P |
| 01:28:44 | raptor | no cmake handles that find, but that is for compile flags |
| 01:28:48 | raptor | this is link/post-link |
| 01:28:59 | kaen | oh I see |
| 01:29:11 | raptor | yeah, the whole thing compiles and links successfully |
| 01:29:29 | raptor | but when used to link against the bitfighter executable, it fails because symbols are missing |
| 01:45:35 | fordcars | Hi |
| 01:46:26 | raptor | hi |
| 01:52:55 | raptor | actually this may be a bug in tomcrypt... |
| 01:57:07 | | destroyerimo_clo has joined |
| 02:00:35 | | damndisconnect Quit (Ping timeout: 252 seconds) |
| 02:13:10 | raptor | no actually it's OSX |
| 02:16:00 | raptor | was there some change recently to how resource detection/user preference updating works? |
| 02:16:43 | | BFLogBot Commit: 34c4813232c4 | Author: buckyballreaction | Message: Fix missing RC file resource in the Windows build |
| 02:16:45 | | BFLogBot Commit: 755963e7f516 | Author: buckyballreaction | Message: Remove OSX code from StackTracer as it didn't compile and OSX already gives nice stack traces |
| 02:16:46 | | BFLogBot Commit: df205aa49470 | Author: buckyballreaction | Message: Fix static libtomcrypt archive index on OSX by using the '-c' flag to ranlib to mimic ranlib behavior on other platforms |
| 02:22:17 | | BFLogBot Commit: a1223e4c6148 | Author: buckyballreaction | Message: Fix OSX 64bit building since the CMake refactor. Seems to work fine.. except for the immediate shutdown that occurs because it can't find the lua scripts. |
| 02:53:34 | | Flynnn has joined |
| 03:35:08 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 03:36:20 | | Flynnn has joined |
| 03:43:07 | fordcars | Night |
| 03:43:09 | | fordcars Quit (Quit: Page closed) |
| 04:15:52 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 05:04:22 | | Invisible has joined |
| 05:18:28 | | raptor Quit () |
| 06:23:20 | | destroyerimo_clo Quit (Read error: Connection reset by peer) |
| 06:23:47 | | destroyerimo_clo has joined |
| 08:15:49 | | Invisible Quit (Ping timeout: 276 seconds) |
| 09:25:20 | | Platskies has joined |
| 09:35:38 | | Watusimoto has joined |
| 09:40:07 | | Watusimoto_ has joined |
| 09:43:07 | | Watusimoto Quit (Ping timeout: 240 seconds) |
| 10:05:02 | | LordDVG has joined |
| 10:16:40 | | LordDVG Quit (Remote host closed the connection) |
| 10:43:22 | | Invisible has joined |
| 12:06:45 | | Invisible2 has joined |
| 12:08:58 | | Invisible Quit (Ping timeout: 240 seconds) |
| 12:43:18 | | Invisible2 Quit (Ping timeout: 240 seconds) |
| 13:05:54 | | Watusimoto_ Quit (Ping timeout: 240 seconds) |
| 13:06:07 | | Invisible has joined |
| 13:45:16 | | Platskies Quit (Ping timeout: 258 seconds) |
| 13:46:13 | | Platskies has joined |
| 13:50:45 | | Platskies__ has joined |
| 13:50:49 | | Platskies Quit (Ping timeout: 252 seconds) |
| 13:57:37 | | Platskies__ Quit (Read error: Connection reset by peer) |
| 14:05:23 | | Invisible Quit (Ping timeout: 252 seconds) |
| 14:50:29 | | Watusimoto has joined |
| 14:50:31 | | Invisible has joined |
| 15:48:47 | | Invisible Quit (Ping timeout: 252 seconds) |
| 17:09:40 | | Flynnn has joined |
| 17:21:18 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 18:42:54 | | LordDVG has joined |
| 18:43:43 | | Invisible has joined |
| 18:44:36 | | Invisible Quit (Read error: Connection reset by peer) |
| 19:44:19 | | raptor has joined |
| 19:44:19 | | ChanServ sets mode +o |
| 19:44:57 | raptor | star wars episode II: "the prequel-sequel that proves 'Phantom Menace' wasn't an accident" |
| 19:45:29 | raptor | never have the ending credits been met with so much joy |
| 19:48:35 | | Flynnn has joined |
| 19:55:29 | | damndisconnect has joined |
| 19:58:38 | | destroyerimo_clo Quit (Ping timeout: 265 seconds) |
| 20:06:28 | | Darrel Quit (Quit: IRC client killed.) |
| 20:18:11 | | Watusimoto_ has joined |
| 20:19:37 | | Flynnn Quit (Quit: Leaving) |
| 20:19:53 | | Flynnn has joined |
| 20:20:57 | | Watusimoto Quit (Ping timeout: 252 seconds) |
| 20:27:08 | | LordDVG Quit (Remote host closed the connection) |
| 20:28:04 | Watusimoto_ | hi all |
| 20:28:24 | raptor | hi |
| 20:32:04 | Watusimoto_ | I think I have found solutions to almost all my who-should-win questions |
| 20:32:17 | Watusimoto_ | I am writing tests to verify that everything works |
| 20:32:24 | Watusimoto_ | but it is complex |
| 20:33:24 | raptor | did you decide to go with a Manager class solution? |
| 20:34:36 | Watusimoto_ | no |
| 20:34:51 | Watusimoto_ | I forget --what was the manager class you suggested? |
| 20:36:33 | raptor | I don't remember... let me find it |
| 20:37:17 | raptor | OvertimeManager |
| 20:37:40 | Watusimoto_ | oh right |
| 20:38:06 | Watusimoto_ | I've been focusing on just this functions: |
| 20:38:07 | Watusimoto_ | getTeamBasedGameWinner |
| 20:38:11 | Watusimoto_ | which is a mess |
| 20:38:25 | Watusimoto_ | Here are my header comments |
| 20:38:26 | Watusimoto_ | / Find winner of a team-based game |
| 20:38:26 | Watusimoto_ | / Team with the most points wins. |
| 20:38:26 | Watusimoto_ | / If multple teams are tied for most points, a tie is declared. |
| 20:38:26 | Watusimoto_ | / If multiple teams are tied for most points, but only one has players, that team is declared the winner. |
| 20:38:26 | Watusimoto_ | / If multiple teams are tied for most points, but none have players, those teams are declared winners by tie. |
| 20:38:28 | Watusimoto_ | / Bots are considered players for this purpose. |
| 20:38:42 | raptor | ha |
| 20:38:44 | raptor | wow |
| 20:39:06 | raptor | sounds just like my robot balance code before you made teh RobotManager |
| 20:39:12 | Watusimoto_ | possible statuses are: |
| 20:39:12 | Watusimoto_ | HasWinner, |
| 20:39:13 | Watusimoto_ | Tied, |
| 20:39:13 | Watusimoto_ | TiedByTeamsWithNoPlayers, |
| 20:39:13 | Watusimoto_ | OnlyOnePlayerOrTeam |
| 20:39:31 | Watusimoto_ | only Tied will result in overtime |
| 20:40:35 | Watusimoto_ | Finally, all tests are passing! |
| 20:45:38 | raptor | yay! |
| 20:45:57 | raptor | oh, i had a question for you - |
| 20:46:21 | raptor | did you change any of the game resource loading code, or the checkIfIsUpdate-related code recently? |
| 20:46:52 | raptor | for some reason the OSX build cannot seem to find the lua scripts anymore... and it doesn't seem to copy over resources to the user's preference directory |
| 20:57:25 | Watusimoto_ | I don't think so |
| 20:58:41 | Watusimoto_ | I can't think of anything that would cause that to happen :-( |
| 21:06:53 | raptor | ok |
| 21:07:06 | raptor | maybe it's still some deficiency in the CMake system.. |
| 21:12:32 | raptor | the only way I can test on OSX is via printf statements... |
| 21:13:24 | raptor | running an IDE in a VM on an OS that tries to make things pretty instead of functional makes debugging slow to the point of aggravation |
| 21:13:44 | | fordcars has joined |
| 21:23:21 | Watusimoto_ | ok, trying the new cmake stuff |
| 21:23:34 | Watusimoto_ | to rebuild the project manually is just cmake .., right? |
| 21:24:51 | raptor | cmake -G "Visual Studio 12" .. |
| 21:25:15 | raptor | but remove the cmake cache first |
| 21:25:44 | Watusimoto_ | c:\Users\Chris\Documents\bf-trunk\build>cmake -G "Visual Studio 12" .. |
| 21:25:44 | Watusimoto_ | CMake Error: Could not create named generator Visual Studio 12 |
| 21:25:53 | raptor | oh... uhh |
| 21:26:02 | raptor | what generator do you usually use for your IDE? |
| 21:26:04 | raptor | i used 10 |
| 21:26:10 | Watusimoto_ | and cmake .., which is what I usually use, fails as well |
| 21:26:14 | raptor | Visual Studio 10 |
| 21:26:22 | raptor | in the build directory? |
| 21:26:38 | Watusimoto_ | yes |
| 21:26:40 | raptor | http://www.cmake.org/cmake/help/v2.8.12/cmake.html#section_Generators |
| 21:26:43 | raptor | uhh |
| 21:26:46 | raptor | no cmake installed? |
| 21:26:47 | Watusimoto_ | c:\Users\Chris\Documents\bf-trunk\build>cmake -G "Visual Studio 10" .. |
| 21:26:47 | Watusimoto_ | CMake Error at cmake/Platform/Win32.cmake:1 (include): |
| 21:26:47 | Watusimoto_ | include could not find load file: |
| 21:26:47 | Watusimoto_ | C:/Users/Chris/Documents/bf-trunk/cmake/Platform/Shared.cmake |
| 21:26:47 | Watusimoto_ | Call Stack (most recent call first): |
| 21:26:47 | Watusimoto_ | CMakeLists.txt:8 (include) |
| 21:26:49 | Watusimoto_ | -- Determining system GL provider |
| 21:26:51 | Watusimoto_ | -- Atempting to use standard OpenGL |
| 21:26:54 | Watusimoto_ | -- Could NOT find MYSQL (missing: MYSQL_LIBRARIES MYSQL_INCLUDE_DIR) |
| 21:26:56 | Watusimoto_ | -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) |
| 21:26:58 | Watusimoto_ | -- Could NOT find TOMCRYPT (missing: TOMCRYPT_LIBRARY TOMCRYPT_INCLUDE_DIR) |
| 21:27:00 | Watusimoto_ | -- Could NOT find Boost |
| 21:27:02 | Watusimoto_ | -- Could NOT find CLIPPER (missing: CLIPPER_LIBRARIES CLIPPER_INCLUDE_DIR) |
| 21:27:05 | Watusimoto_ | -- Could NOT find LUAJIT (missing: LUAJIT_LIBRARIES) |
| 21:27:06 | raptor | PASTIE |
| 21:27:07 | Watusimoto_ | CMake Warning at master/CMakeLists.txt:63 (message): |
| 21:27:09 | Watusimoto_ | MySQL was NOT found. 'master' will only be built with SQLite |
| 21:27:11 | Watusimoto_ | -- Configuring incomplete, errors occurred! |
| 21:27:18 | Watusimoto_ | sorry! |
| 21:27:20 | raptor | remove the cache |
| 21:27:22 | Watusimoto_ | so VS10 gives the same errors I get with just cmake .. |
| 21:27:25 | raptor | rm -r CMake* |
| 21:27:30 | raptor | in the 'build' dir |
| 21:27:40 | raptor | ok, one moment... |
| 21:27:46 | Watusimoto_ | I did. will try again, just to be thorough |
| 21:28:04 | Watusimoto_ | hmmm |
| 21:28:09 | Watusimoto_ | now its working |
| 21:28:18 | Watusimoto_ | no, it didn't |
| 21:28:23 | Watusimoto_ | it failed with more messages |
| 21:28:25 | raptor | ok, sorry, just pushed a fix |
| 21:28:34 | | BFLogBot Commit: 3d4e6122bee1 | Author: buckyballreaction | Message: Remove reference to Shared.cmake |
| 21:28:34 | raptor | i left a reference... |
| 21:28:42 | Watusimoto_ | ok, will test again |
| 21:29:31 | raptor | if you don't have the VS 12 generator, then you may be using an old version of cmake - but i suspect the VS 10 will work fine, too |
| 21:30:40 | Watusimoto_ | http://hastebin.com/zagemerepe.txt |
| 21:30:51 | Watusimoto_ | vs10 will work fine for me |
| 21:30:54 | raptor | success! |
| 21:31:03 | Watusimoto_ | is it? |
| 21:31:08 | raptor | yes |
| 21:31:15 | raptor | it's noisy... but it worked |
| 21:31:26 | Watusimoto_ | Could NOT find LUAJIT (missing: LUAJIT_LIBRARIES) and friends are ok? |
| 21:31:33 | raptor | yes |
| 21:31:42 | raptor | it is built via external command from within VS |
| 21:31:45 | Watusimoto_ | ok |
| 21:31:51 | raptor | so are the others |
| 21:31:51 | Watusimoto_ | will load up the project! |
| 21:32:36 | Watusimoto_ | ok, build underwat |
| 21:32:39 | Watusimoto_ | way |
| 21:32:44 | raptor | underwater! |
| 21:39:25 | raptor | Watusimoto_: what do you think about compiling with -O3 ? |
| 21:39:38 | Watusimoto_ | what do we use now? -O2? |
| 21:39:42 | raptor | yes |
| 21:39:50 | Watusimoto_ | and -O3 is faster somehow? |
| 21:39:52 | raptor | i wonder if it would even compile... |
| 21:40:00 | raptor | yes it does crazy optimizations |
| 21:40:03 | Watusimoto_ | I may have tried that way back |
| 21:40:35 | Watusimoto_ | I don't think we are having performance issues... |
| 21:40:45 | Watusimoto_ | but if O3 works... why not? |
| 21:42:36 | raptor | testing! |
| 21:42:57 | raptor | tomcrypt is 5 times larger now... |
| 21:45:49 | raptor | wow cmake can generate sublime text 2 makefiles |
| 21:50:14 | Watusimoto_ | I never saw a reason to update tomcrypt... the old one did what we neede |
| 21:50:25 | raptor | the reason was debian |
| 21:54:33 | raptor | looks like O3 induced a segfault... and there's a stack trace! |
| 21:55:15 | raptor | oh... no, there's a segfault with a debug compile, too |
| 21:57:04 | | LoneWolfy has joined |
| 21:58:48 | | LoneWolfy Quit (Client Quit) |
| 22:04:29 | Watusimoto_ | are we debian complaint yet? |
| 22:11:35 | raptor | pretty close, i think - with this last CMake refactor, kaen really got it close |
| 22:11:52 | raptor | the main issue was to use system libs for things like lua, tomcrypt, etc. |
| 22:12:12 | kaen | raptor actually did the last item on the checklist, which was to use SDL2 |
| 22:12:28 | raptor | I did? |
| 22:12:32 | raptor | cool! |
| 22:12:36 | kaen | yep :) |
| 22:12:56 | kaen | it refused to build without libsdl2-dev |
| 22:13:27 | kaen | so anyway, all that's needed is to either backport it to 019c or wait for a release |
| 22:13:51 | kaen | and then submit it, of course |
| 22:14:25 | raptor | what do you think would be good? |
| 22:14:50 | raptor | I can do the backporting work... maybe create a patchset against 019c |
| 22:15:32 | kaen | I think we should pick a stable-ish point (019c might be a good choice) and submit it to unstable right now, just to get the wheels turning |
| 22:15:46 | raptor | ok |
| 22:15:55 | raptor | would you be able to support a patchset against 019c? |
| 22:15:59 | kaen | it only takes like a week to go from unstable -> testing, so there's really no need to wait for a release, I just realized |
| 22:16:28 | kaen | yes, that would be fine |
| 22:16:41 | raptor | i wouldn't commit it to our repo... just provide a giant patch |
| 22:16:47 | raptor | for your debian build |
| 22:17:35 | kaen | sure, that's very common in debian packages |
| 22:19:31 | raptor | ok, let me get to work... |
| 22:29:46 | Watusimoto_ | wow... exciting! |
| 22:36:16 | raptor | kaen: do you think i'd need to actually include the tomcrypt directory changes? |
| 22:36:29 | raptor | because you're planning on grabbing the system lib anyways... correct? |
| 22:36:36 | kaen | correct |
| 22:40:42 | | damndisconnect Quit (Read error: Connection reset by peer) |
| 22:53:35 | raptor | this is getting tricksy! |
| 22:54:08 | raptor | also onions on hotdogs are great |
| 22:57:32 | Watusimoto_ | onions on anything is great! |
| 23:25:33 | raptor | it's compiling.... |
| 23:34:52 | | Watusimoto has joined |
| 23:38:04 | | Watusimoto_ Quit (Ping timeout: 265 seconds) |
| 23:40:02 | raptor | so close... |
| 23:41:50 | raptor | IT LINKED |
| 23:59:38 | | Nothing_Much Quit (Quit: Konversation terminated!) |