#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2014-05-11

Timestamps are in GMT/BST.

00:08:31raptoryay tomcrypt and ltc errors
00:58:44raptorkaen: how did you determine the order for the tomcrypt objects to compile in the CMakeLists.txt?
01:07:09Watusimoto_ Quit (Ping timeout: 265 seconds)
01:22:21kaenraptor: iirc I took them straight from the old makefile
01:22:54kaenthere's some high-grade wonkiness... what are you running up against?
01:24:08raptorthe linker on apple doesn't pull in all the symbols from the object files into the resultant .a
01:24:38raptorbut if you run 'ranlib -c libtomcrypt.a' right after it links, it updates its index and works
01:25:03kaenweird
01:25:18raptoryeah... i think it is not a problem with tomcrypt, rather the OSX linker
01:25:29raptorso i have to search for how to replace it/ fix it
01:26:20kaenI saw the -c in the makefile for tomcrypt
01:26:48raptoryeah... cmake may be pulling in a different linker
01:27:03raptoror may just need to run the extra command for good measure
01:27:38kaenset_target_properties(tomcrypt COMPILE_FLAGS "-c") doesn't work?
01:28:02kaenI recall doing that originally but I removed it because removing it didn't break the linux build :P
01:28:44raptorno cmake handles that find, but that is for compile flags
01:28:48raptorthis is link/post-link
01:28:59kaenoh I see
01:29:11raptoryeah, the whole thing compiles and links successfully
01:29:29raptorbut when used to link against the bitfighter executable, it fails because symbols are missing
01:45:35fordcarsHi
01:46:26raptorhi
01:52:55raptoractually this may be a bug in tomcrypt...
01:57:07destroyerimo_clo has joined
02:00:35damndisconnect Quit (Ping timeout: 252 seconds)
02:13:10raptorno actually it's OSX
02:16:00raptorwas there some change recently to how resource detection/user preference updating works?
02:16:43BFLogBot Commit: 34c4813232c4 | Author: buckyballreaction | Message: Fix missing RC file resource in the Windows build
02:16:45BFLogBot Commit: 755963e7f516 | Author: buckyballreaction | Message: Remove OSX code from StackTracer as it didn't compile and OSX already gives nice stack traces
02:16:46BFLogBot 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:17BFLogBot 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:34Flynnn has joined
03:35:08Flynnn Quit (Quit: This computer has gone to sleep)
03:36:20Flynnn has joined
03:43:07fordcarsNight
03:43:09fordcars Quit (Quit: Page closed)
04:15:52Flynnn Quit (Quit: This computer has gone to sleep)
05:04:22Invisible has joined
05:18:28raptor Quit ()
06:23:20destroyerimo_clo Quit (Read error: Connection reset by peer)
06:23:47destroyerimo_clo has joined
08:15:49Invisible Quit (Ping timeout: 276 seconds)
09:25:20Platskies has joined
09:35:38Watusimoto has joined
09:40:07Watusimoto_ has joined
09:43:07Watusimoto Quit (Ping timeout: 240 seconds)
10:05:02LordDVG has joined
10:16:40LordDVG Quit (Remote host closed the connection)
10:43:22Invisible has joined
12:06:45Invisible2 has joined
12:08:58Invisible Quit (Ping timeout: 240 seconds)
12:43:18Invisible2 Quit (Ping timeout: 240 seconds)
13:05:54Watusimoto_ Quit (Ping timeout: 240 seconds)
13:06:07Invisible has joined
13:45:16Platskies Quit (Ping timeout: 258 seconds)
13:46:13Platskies has joined
13:50:45Platskies__ has joined
13:50:49Platskies Quit (Ping timeout: 252 seconds)
13:57:37Platskies__ Quit (Read error: Connection reset by peer)
14:05:23Invisible Quit (Ping timeout: 252 seconds)
14:50:29Watusimoto has joined
14:50:31Invisible has joined
15:48:47Invisible Quit (Ping timeout: 252 seconds)
17:09:40Flynnn has joined
17:21:18Flynnn Quit (Quit: This computer has gone to sleep)
18:42:54LordDVG has joined
18:43:43Invisible has joined
18:44:36Invisible Quit (Read error: Connection reset by peer)
19:44:19raptor has joined
19:44:19ChanServ sets mode +o
19:44:57raptorstar wars episode II: "the prequel-sequel that proves 'Phantom Menace' wasn't an accident"
19:45:29raptornever have the ending credits been met with so much joy
19:48:35Flynnn has joined
19:55:29damndisconnect has joined
19:58:38destroyerimo_clo Quit (Ping timeout: 265 seconds)
20:06:28Darrel Quit (Quit: IRC client killed.)
20:18:11Watusimoto_ has joined
20:19:37Flynnn Quit (Quit: Leaving)
20:19:53Flynnn has joined
20:20:57Watusimoto Quit (Ping timeout: 252 seconds)
20:27:08LordDVG Quit (Remote host closed the connection)
20:28:04Watusimoto_hi all
20:28:24raptorhi
20:32:04Watusimoto_I think I have found solutions to almost all my who-should-win questions
20:32:17Watusimoto_I am writing tests to verify that everything works
20:32:24Watusimoto_but it is complex
20:33:24raptordid you decide to go with a Manager class solution?
20:34:36Watusimoto_no
20:34:51Watusimoto_I forget --what was the manager class you suggested?
20:36:33raptorI don't remember... let me find it
20:37:17raptorOvertimeManager
20:37:40Watusimoto_oh right
20:38:06Watusimoto_I've been focusing on just this functions:
20:38:07Watusimoto_getTeamBasedGameWinner
20:38:11Watusimoto_which is a mess
20:38:25Watusimoto_Here are my header comments
20:38:26Watusimoto_/ Find winner of a team-based game
20:38:26Watusimoto_/ Team with the most points wins.
20:38:26Watusimoto_/ If multple teams are tied for most points, a tie is declared.
20:38:26Watusimoto_/ If multiple teams are tied for most points, but only one has players, that team is declared the winner.
20:38:26Watusimoto_/ If multiple teams are tied for most points, but none have players, those teams are declared winners by tie.
20:38:28Watusimoto_/ Bots are considered players for this purpose.
20:38:42raptorha
20:38:44raptorwow
20:39:06raptorsounds just like my robot balance code before you made teh RobotManager
20:39:12Watusimoto_possible statuses are:
20:39:12Watusimoto_HasWinner,
20:39:13Watusimoto_Tied,
20:39:13Watusimoto_TiedByTeamsWithNoPlayers,
20:39:13Watusimoto_OnlyOnePlayerOrTeam
20:39:31Watusimoto_only Tied will result in overtime
20:40:35Watusimoto_Finally, all tests are passing!
20:45:38raptoryay!
20:45:57raptoroh, i had a question for you -
20:46:21raptordid you change any of the game resource loading code, or the checkIfIsUpdate-related code recently?
20:46:52raptorfor 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:25Watusimoto_I don't think so
20:58:41Watusimoto_I can't think of anything that would cause that to happen :-(
21:06:53raptorok
21:07:06raptormaybe it's still some deficiency in the CMake system..
21:12:32raptorthe only way I can test on OSX is via printf statements...
21:13:24raptorrunning 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:44fordcars has joined
21:23:21Watusimoto_ok, trying the new cmake stuff
21:23:34Watusimoto_to rebuild the project manually is just cmake .., right?
21:24:51raptorcmake -G "Visual Studio 12" ..
21:25:15raptorbut remove the cmake cache first
21:25:44Watusimoto_c:\Users\Chris\Documents\bf-trunk\build>cmake -G "Visual Studio 12" ..
21:25:44Watusimoto_CMake Error: Could not create named generator Visual Studio 12
21:25:53raptoroh... uhh
21:26:02raptorwhat generator do you usually use for your IDE?
21:26:04raptori used 10
21:26:10Watusimoto_and cmake .., which is what I usually use, fails as well
21:26:14raptorVisual Studio 10
21:26:22raptorin the build directory?
21:26:38Watusimoto_yes
21:26:40raptorhttp://www.cmake.org/cmake/help/v2.8.12/cmake.html#section_Generators
21:26:43raptoruhh
21:26:46raptorno cmake installed?
21:26:47Watusimoto_c:\Users\Chris\Documents\bf-trunk\build>cmake -G "Visual Studio 10" ..
21:26:47Watusimoto_CMake Error at cmake/Platform/Win32.cmake:1 (include):
21:26:47Watusimoto_include could not find load file:
21:26:47Watusimoto_C:/Users/Chris/Documents/bf-trunk/cmake/Platform/Shared.cmake
21:26:47Watusimoto_Call Stack (most recent call first):
21:26:47Watusimoto_CMakeLists.txt:8 (include)
21:26:49Watusimoto_-- Determining system GL provider
21:26:51Watusimoto_-- Atempting to use standard OpenGL
21:26:54Watusimoto_-- Could NOT find MYSQL (missing: MYSQL_LIBRARIES MYSQL_INCLUDE_DIR)
21:26:56Watusimoto_-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
21:26:58Watusimoto_-- Could NOT find TOMCRYPT (missing: TOMCRYPT_LIBRARY TOMCRYPT_INCLUDE_DIR)
21:27:00Watusimoto_-- Could NOT find Boost
21:27:02Watusimoto_-- Could NOT find CLIPPER (missing: CLIPPER_LIBRARIES CLIPPER_INCLUDE_DIR)
21:27:05Watusimoto_-- Could NOT find LUAJIT (missing: LUAJIT_LIBRARIES)
21:27:06raptorPASTIE
21:27:07Watusimoto_CMake Warning at master/CMakeLists.txt:63 (message):
21:27:09Watusimoto_MySQL was NOT found. 'master' will only be built with SQLite
21:27:11Watusimoto_-- Configuring incomplete, errors occurred!
21:27:18Watusimoto_sorry!
21:27:20raptorremove the cache
21:27:22Watusimoto_so VS10 gives the same errors I get with just cmake ..
21:27:25raptorrm -r CMake*
21:27:30raptorin the 'build' dir
21:27:40raptorok, one moment...
21:27:46Watusimoto_I did. will try again, just to be thorough
21:28:04Watusimoto_hmmm
21:28:09Watusimoto_now its working
21:28:18Watusimoto_no, it didn't
21:28:23Watusimoto_it failed with more messages
21:28:25raptorok, sorry, just pushed a fix
21:28:34BFLogBot Commit: 3d4e6122bee1 | Author: buckyballreaction | Message: Remove reference to Shared.cmake
21:28:34raptori left a reference...
21:28:42Watusimoto_ok, will test again
21:29:31raptorif 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:40Watusimoto_http://hastebin.com/zagemerepe.txt
21:30:51Watusimoto_vs10 will work fine for me
21:30:54raptorsuccess!
21:31:03Watusimoto_is it?
21:31:08raptoryes
21:31:15raptorit's noisy... but it worked
21:31:26Watusimoto_Could NOT find LUAJIT (missing: LUAJIT_LIBRARIES) and friends are ok?
21:31:33raptoryes
21:31:42raptorit is built via external command from within VS
21:31:45Watusimoto_ok
21:31:51raptorso are the others
21:31:51Watusimoto_will load up the project!
21:32:36Watusimoto_ok, build underwat
21:32:39Watusimoto_way
21:32:44raptorunderwater!
21:39:25raptorWatusimoto_: what do you think about compiling with -O3 ?
21:39:38Watusimoto_what do we use now? -O2?
21:39:42raptoryes
21:39:50Watusimoto_and -O3 is faster somehow?
21:39:52raptori wonder if it would even compile...
21:40:00raptoryes it does crazy optimizations
21:40:03Watusimoto_I may have tried that way back
21:40:35Watusimoto_I don't think we are having performance issues...
21:40:45Watusimoto_but if O3 works... why not?
21:42:36raptortesting!
21:42:57raptortomcrypt is 5 times larger now...
21:45:49raptorwow cmake can generate sublime text 2 makefiles
21:50:14Watusimoto_I never saw a reason to update tomcrypt... the old one did what we neede
21:50:25raptorthe reason was debian
21:54:33raptorlooks like O3 induced a segfault... and there's a stack trace!
21:55:15raptoroh... no, there's a segfault with a debug compile, too
21:57:04LoneWolfy has joined
21:58:48LoneWolfy Quit (Client Quit)
22:04:29Watusimoto_are we debian complaint yet?
22:11:35raptorpretty close, i think - with this last CMake refactor, kaen really got it close
22:11:52raptorthe main issue was to use system libs for things like lua, tomcrypt, etc.
22:12:12kaenraptor actually did the last item on the checklist, which was to use SDL2
22:12:28raptorI did?
22:12:32raptorcool!
22:12:36kaenyep :)
22:12:56kaenit refused to build without libsdl2-dev
22:13:27kaenso anyway, all that's needed is to either backport it to 019c or wait for a release
22:13:51kaenand then submit it, of course
22:14:25raptorwhat do you think would be good?
22:14:50raptorI can do the backporting work... maybe create a patchset against 019c
22:15:32kaenI 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:46raptorok
22:15:55raptorwould you be able to support a patchset against 019c?
22:15:59kaenit 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:28kaenyes, that would be fine
22:16:41raptori wouldn't commit it to our repo... just provide a giant patch
22:16:47raptorfor your debian build
22:17:35kaensure, that's very common in debian packages
22:19:31raptorok, let me get to work...
22:29:46Watusimoto_wow... exciting!
22:36:16raptorkaen: do you think i'd need to actually include the tomcrypt directory changes?
22:36:29raptorbecause you're planning on grabbing the system lib anyways... correct?
22:36:36kaencorrect
22:40:42damndisconnect Quit (Read error: Connection reset by peer)
22:53:35raptorthis is getting tricksy!
22:54:08raptoralso onions on hotdogs are great
22:57:32Watusimoto_onions on anything is great!
23:25:33raptorit's compiling....
23:34:52Watusimoto has joined
23:38:04Watusimoto_ Quit (Ping timeout: 265 seconds)
23:40:02raptorso close...
23:41:50raptorIT LINKED
23:59:38Nothing_Much Quit (Quit: Konversation terminated!)

Index Search ←Prev date Next date→

These logs were automatically created by BFLogBot on irc.freenode.net.