IRC log for #brlcad on 20161216

00:54.13 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
01:17.33 *** join/#brlcad whk (3aea7102@gateway/web/freenode/ip.58.234.113.2)
01:17.56 whk wow i ran the all_build overnight
01:18.01 whk its stuck?
01:18.15 whk im not sure what happened or what to do
01:18.46 whk it's generating code for something apparently
01:18.58 whk but it doesnt seem to be working
01:31.54 *** join/#brlcad whk_ (3aea7102@gateway/web/freenode/ip.58.234.113.2)
01:38.08 *** join/#brlcad kdevtxmeqdvvidev (~armin@dslb-092-074-236-046.092.074.pools.vodafone-ip.de)
02:07.35 *** join/#brlcad whk (3aea7102@gateway/web/freenode/ip.58.234.113.2)
03:30.43 *** join/#brlcad whk (3aea7102@gateway/web/freenode/ip.58.234.113.2)
03:31.06 whk caen23: Hi I've successfully completed the task this time
03:33.07 whk oh wait
03:33.18 whk why is archer still in 7.26.0...
03:37.53 whk may i know which url to use when using svn checkout?
03:38.21 whk I should have used the provided link at the wiki http://brlcad.org/w/index.php?title=Compiling&action=edit&section=4
03:38.34 whk it says there its the latest version?
03:38.58 whk and i did not get any errors this time with the configue and INSTALL files being outdated
03:40.37 whk it says in the README that its 7.26.2...
03:50.55 *** join/#brlcad whk_ (3aea7102@gateway/web/freenode/ip.58.234.113.2)
03:51.38 *** join/#brlcad pranav (~pranav@146.88.40.33)
03:56.29 whk_ yea nvm
03:56.31 whk_ im leaving soon
03:56.37 whk_ and all the links point to 7.26.2
03:56.54 whk_ i can't get any later versions of brlcad unfortunately
03:57.05 whk_ tried both given links
03:57.12 whk_ it just doesnt give me 7.8
03:58.03 whk_ caen23: assume i'm unsuccessful since the brlcad versions i have are all outdated
03:59.05 pranav If I find something useful on GitHub, is it free to use ?(In this case an algorithmic background generator)
04:21.21 pranav No worries I found a license in the files for the project.
05:52.50 *** join/#brlcad ARChak_ (~vircuser@103.203.232.152)
06:48.22 *** join/#brlcad Apra (67cbe898@gateway/web/freenode/ip.103.203.232.152)
07:32.59 *** join/#brlcad Caterpillar (~caterpill@unaffiliated/caterpillar)
07:54.31 *** join/#brlcad teepee (~teepee@unaffiliated/teepee)
08:34.21 *** join/#brlcad ``Erik_ (~erik@pool-100-16-14-17.bltmmd.fios.verizon.net)
09:02.03 Apra http://imgur.com/a/NN5kG
09:10.20 *** join/#brlcad gcibot-afk (~gcibot@r190-134-204-204.dialup.adsl.anteldata.net.uy)
09:10.24 *** join/#brlcad gcibot_ (~gcibot@unaffiliated/ignaciouy/bot/gcibot)
10:20.03 *** join/#brlcad teepee] (bc5c2133@gateway/web/freenode/ip.188.92.33.51)
11:30.53 *** join/#brlcad KimK (~Kim__@2600:8803:7a85:6d00:717f:4d9f:677e:b163)
11:46.24 *** join/#brlcad Lord_of_Codes (~Lord_of_C@122.163.201.161)
11:55.57 *** join/#brlcad KimK (~Kim__@2600:8803:7a85:6d00:717f:4d9f:677e:b163)
12:21.35 ``Erik huh, still no 7.26.2? I thought the BoT bug was turning that into an 'emergency' or at least quick release?
12:22.50 *** join/#brlcad caen23 (~caen23@86.124.46.123)
12:36.01 caen23 brlcad: is it known/normal for brlcad not to compile with gnu make 3.81 (the default on macos)?
13:07.01 *** join/#brlcad Lord_of_Codes (~Lord_of_C@122.163.201.161)
13:55.38 *** join/#brlcad Lord_of_Codes (~Lord_of_C@122.163.139.159)
14:42.59 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
14:44.35 *** join/#brlcad arsh (3b5ee044@gateway/web/freenode/ip.59.94.224.68)
15:01.09 Notify 03BRL-CAD Wiki:Nikolay Kolev * 0 /wiki/User:Nikolay_Kolev:
15:26.40 *** join/#brlcad MikeHan (~Mike@188.175.158.32)
15:27.11 Notify 03BRL-CAD:starseeker * 69274 (brlcad/trunk/CMakeLists.txt brlcad/trunk/include/config_win.h.in and 2 others): Fixes for Visual Studio 2012. Instead of adding the replacement inttypes.h logic to pstdint.h, to handle 2012 we create an equivalent "pinttypes.h" file which we can include even if we don't need pstdint.h. Also need to define strtoll.
15:58.08 Notify 03BRL-CAD:starseeker * 69275 brlcad/trunk/src/libbu/tests/humanize_number.c: include pinttypes.h
16:07.49 *** join/#brlcad Lord_of_Codes (~Lord_of_C@122.163.234.250)
16:37.53 *** join/#brlcad uvkcbxtvjjhockqk (~armin@dslb-092-075-151-091.092.075.pools.vodafone-ip.de)
16:40.11 starseeker ``Erik: we're waiting to finalize the prep cache work
16:40.15 starseeker (for 7.26.2)
16:56.11 *** join/#brlcad whk (3aea7102@gateway/web/freenode/ip.58.234.113.2)
16:56.49 whk hi a bit urgent
16:57.07 whk whats the latest version of brlcad i can checkout using tortoisesvn
16:57.12 whk and whts the link
16:57.18 whk im not sure cos it always says 7.26.2
17:01.26 caen23 whk: when you do the svn command on the wiki, you get the latest version of the code
17:04.06 caen23 whk: but like i said on the task, you correctly downloaded the latest version in the `gci` in your Documents folder, but then proceeded to build another version of the code, found in the `brlcad` folder in your `Documents` folder
17:05.53 whk hm?
17:05.54 whk oh
17:06.14 whk not really, that was just because i was checking the urls i used
17:06.33 whk so i downloaded the versions again on different folders
17:06.40 whk couldnt afford to build them too though
17:06.59 whk but thanks
17:07.03 caen23 why couldn't you afford to build them?
17:07.06 whk no time
17:07.10 whk but now i do
17:07.36 whk so i can build with later releases of brlcad?
17:07.38 whk its like
17:07.47 whk rel-7.8.2 as i read on the wiki
17:07.53 whk how does that work
17:08.10 whk even though the downloaded brlcad itself is version 7.26.2
17:08.32 caen23 so the latest code is the one you get when you download from svn
17:08.41 caen23 you don't care about what version it says
17:10.28 *** join/#brlcad whk_ (3aea7102@gateway/web/freenode/ip.58.234.113.2)
17:10.31 whk_ apologies
17:10.35 whk_ the connection dropped
17:10.40 whk_ so i was about to say
17:10.42 whk_ its odd
17:10.54 whk_ since i definitely should have followed all the steps in that case
17:11.08 whk_ so i dont really understand why my archer version is so far behind
17:11.15 caen23 you don't care about the version number. the latest code is the one you get when you download from svn
17:11.26 whk_ and i coudlnt seem to locate it either in the file explorer
17:11.40 whk_ yea but you told me that mine isnt the latest
17:11.58 whk_ idk
17:12.13 whk_ lemme do it once more
17:12.26 caen23 you asked something about rel-7.8.2 being on the wiki, and 7.26.2 being available for download
17:13.58 whk_ yea
17:14.04 whk_ im not sure about that too
17:14.59 whk_ since i followed the steps it seems odd that archer is still in 7.26.0 when brlcad has a release version of 7.8.2 or something?
17:15.09 whk_ well at least none of the versions was 7.26.2
17:15.32 caen23 the wiki page might be out of date, you shouldn't care about that
17:15.49 caen23 i built the code recently, my version says 7.26.1
17:16.24 whk_ oh ok
17:18.10 whk_ i dunno, it seems my previous submission contained all the right files in that case :/
17:18.15 whk_ oh well ill just do it once more
17:19.30 caen23 it said 7.26.0, and the folders looked weird (where you cloned vs where you built)
17:19.46 whk_ i sppose so
17:20.00 caen23 it could be that you didn't pay attention when submitting the work, but it didn't look right
17:51.34 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
18:01.40 *** join/#brlcad Lord_of_Codes (~Lord_of_C@122.163.234.250)
18:11.06 whk_ oh
18:11.08 whk_ its done
18:11.09 whk_ but
18:11.11 whk_ it seems like
18:11.25 whk_ archer cant be found by the command prompt
18:11.25 whk_ anymre
18:11.26 whk_ somehow
18:11.56 whk_ btw on visual studio it says 7.26.1
18:15.00 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
18:17.09 caen23 whk_: that's good
18:17.24 whk_ oh really?
18:17.32 whk_ its not supposed to be found?
18:17.41 caen23 what did you specify for DCMAKE_BUILD_TYPE? :D Debug or Release?
18:19.18 caen23 when you ran cmake. if you don't remember, it's probably Release
18:25.21 Notify 03BRL-CAD:Rfmergarejo * 0 /wiki/User:Rfmergarejo:
18:29.40 whk_ release
18:30.04 whk_ its also because the task said so so i just used the line from the wiki
18:30.22 caen23 ok, so go inside the build directory, and then enter the Release\bin directory
18:30.41 caen23 there should be lots of files and exes around there
18:34.55 whk_ yep
18:35.09 whk_ no exes?
18:35.22 caen23 none?
19:04.58 whk_ no
19:07.47 *** part/#brlcad ries (~ries@D979C7EF.cm-3-2d.dynamic.ziggo.nl)
19:10.00 caen23 whk_: anyway, that's fine, compilation of the latest sources is broken on vs 2015, so you should submit a screenshot of the Release\bin folder and i'll approve the task
19:17.34 whk_ oh ok
19:17.36 whk_ sure
19:19.12 whk_ thanks so much!
19:19.36 whk_ ill be going off now
20:09.27 Notify 03BRL-CAD:starseeker * 69276 (brlcad/trunk/include/bu/namegen.h brlcad/trunk/src/libbu/CMakeLists.txt and 2 others): Go for simpler functionality in namegen.
20:12.23 starseeker caen23: vs2015 is broken?
20:12.26 starseeker arrrgh....
20:17.50 caen23 starseeker: yes, but it's easy to solve
20:19.17 caen23 starseeker: the way TMPDIR is defined here for vs 2015+ https://sourceforge.net/p/brlcad/code/HEAD/tree/brlcad/trunk/src/other/libnetpbm/pm_config.h.in
20:19.42 caen23 here is GetTempPath https://msdn.microsoft.com/en-us/library/windows/desktop/aa364992(v=vs.85).aspx
20:19.53 caen23 it doesn't return a string, and it doesn't take 0 arguments
20:20.10 caen23 but that's it, after fixing that, i got it to compile properly
20:24.58 Notify 03BRL-CAD:starseeker * 69277 (brlcad/trunk/include/bu/namegen.h brlcad/trunk/src/libbu/namegen.c): rather than rolling over count (almost never what we actually want), use width specification as a minimum.
20:34.12 Notify 03BRL-CAD:starseeker * 69278 brlcad/trunk/include/bu/namegen.h: doesn't default to zero; based on string val
20:56.12 starseeker caen23: if you want you can submit a patch
20:56.21 starseeker caen23: I'll see about applying it
21:12.26 *** join/#brlcad gcibot-afk (~gcibot@r190-134-151-179.dialup.adsl.anteldata.net.uy)
21:12.26 *** join/#brlcad gcibot (~gcibot@unaffiliated/ignaciouy/bot/gcibot)
21:49.59 *** join/#brlcad spertz (~Victor@hlfxns016cw-156034001024.dhcp-dynamic.FibreOP.ns.bellaliant.net)
21:50.04 spertz hi everyone
21:50.20 spertz I am a participant at gci and I have a question about a task I’m doing
21:50.32 spertz called “Compile BRL-CAD from source repository"
21:51.08 spertz When I try to run mged by typing into Terminal “bin/mged”, it says “no such file or directory"
22:04.55 *** join/#brlcad vasc (~vasc@bl13-105-164.dsl.telepac.pt)
22:05.15 vasc hey guys, just wanted to let you know of this https://codein.withgoogle.com/dashboard/task-instances/5232139597512704/
22:05.17 gcibot Install and run BRL-CAD || 3 days || Outreach / Research || BRL-CAD || Beginner task
22:05.48 vasc the time lapsed, one of us should have extended the deadline a bit to allow the student to reply, now that it's elapsed what can we do?
22:06.44 vasc the student apparently only forgot to put his name in he ran the app correctly.
22:06.57 vasc bbl
22:11.26 caen23 i don't think we can do anything now
22:11.50 caen23 the guy who request more work should've looked at the deadline and extend it
22:12.13 caen23 i suppose the student could reclaim it
22:12.35 caen23 spertz: did you compile successfully?
22:13.13 spertz the “make” tool reported two errors
22:13.28 spertz I don’t know if that is enough to make the compilation fail or not
22:13.40 caen23 if that's the case, then it didn't produce the executable you are supposed to run
22:13.50 caen23 could you post the errors?
22:14.51 spertz first error: “error: format specifies type ‘void *’ but the argument has type ‘uint8_t *’ (aka ‘unsigned char *’) [-Werror, Wformat-pedantic]
22:15.10 spertz second error: “error: format specifies type ‘void *”…[same as before]
22:15.28 spertz first error came from brlcad-svn-trunk/src/librt/cache.c:215:102
22:15.38 spertz second error from brlcad-svn-trunk/src/librt/cache.c:254:104:
22:16.30 Notify 03BRL-CAD:starseeker * 69279 (brlcad/trunk/misc/CMake/BRLCAD_Targets.cmake brlcad/trunk/src/libbu/CMakeLists.txt): Looking over the old astyle validation work, we need a way to skip integrated third party sources. Do some experimenting with libbu.
22:17.47 caen23 spertz: are you on macos?
22:17.51 spertz yes
22:18.09 caen23 there seems to be a problem with the default make (3.81)
22:18.45 caen23 it produces those errors, i found out today from another task, don't really know why that happens
22:19.00 caen23 do you have homebrew by any chance?
22:19.18 spertz yes I do
22:19.26 spertz i installed cmake with brew
22:19.31 caen23 ok
22:19.37 caen23 brew install homebrew/dupes/make
22:20.46 caen23 when that's done, try `gmake` instead of `make`
22:21.06 spertz For the some reason it returned every time with an error saying “Error: Running Homebrew as root is extremely dangerous and no longer supported.
22:21.06 spertz As Homebrew does not drop privileges on installation you would be giving all
22:21.07 spertz build scripts full access to your system.”
22:22.07 caen23 are you running the command as root?
22:22.15 spertz Never mind, I ran the brew without sudo and it seemed to work
22:22.17 spertz sorry
22:22.29 spertz I thought you have to run brew with sudo to work
22:22.51 caen23 it's quite the opposite, actually :D a few months ago they changed it so that running with sudo is a no-go
22:23.03 caen23 for the reason in the message (security issues)
22:23.27 spertz oh that’s surprising. :0
22:24.56 caen23 not really, you would mostly need root to install in places such as /usr/bin or /bin, but since homebrew installs in /usr/local (that is accessible by non-root users), root is not required
22:27.27 spertz ok
22:27.28 spertz thanks
22:33.59 Notify 03BRL-CAD:starseeker * 69280 (brlcad/trunk/misc/CMake/BRLCAD_Targets.cmake brlcad/trunk/src/libbu/CMakeLists.txt): put uce-dirent.h in ext subdir.
22:36.40 *** part/#brlcad spertz (~Victor@hlfxns016cw-156034001024.dhcp-dynamic.FibreOP.ns.bellaliant.net)
22:37.54 *** join/#brlcad spertz (~Victor@hlfxns016cw-156034001024.dhcp-dynamic.FibreOP.ns.bellaliant.net)
22:39.45 spertz I used gmake, but there’s still the same two errors
22:40.34 caen23 spertz: try to delete the build folder and run cmake and gmake again
22:41.18 spertz I did that, I made a new folder called “build”. Previously I built in “.build” folder.
22:41.41 spertz the new folder without the period
22:41.43 caen23 gmake --version?
22:41.56 spertz 4.2.1
22:42.38 *** join/#brlcad teepee_ (~teepee@unaffiliated/teepee)
22:43.07 caen23 cc --version?
22:43.23 spertz 8.0.0
22:43.36 spertz (clang-800.0.42.1)
22:43.43 spertz Target: x86_64-apple-darwin16.1.0
22:43.44 spertz Thread model: posix
22:43.44 spertz InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
22:45.47 caen23 how about the cmake command you ran?
22:46.02 *** join/#brlcad ries (~ries@D979C7EF.cm-3-2d.dynamic.ziggo.nl)
22:46.17 spertz 3.7.1
22:46.40 caen23 the command, not the version
22:47.31 spertz At the end of its output it said “—Configuring done”
22:47.34 spertz —Generating done
22:47.41 spertz — Build files have been written to: ...
22:47.59 caen23 yes, but i mean, what did you type? or did you run the gui?
22:49.43 spertz cmake .. -DBRLCAD_ENABLE_STRICT=NO -DBRLCAD_BUNDLED_LIBS=ON -DCMAKE_BUILD_TYPE=Release
23:01.44 Notify 03BRL-CAD:starseeker * 69281 (brlcad/trunk/misc/tools/astyle/astyle_main.cpp brlcad/trunk/misc/tools/astyle/astyle_main.h): Quick and dirty option for astyle to report how many files changed without actually doing the file writes. Should be able to use this to significantly simplifiy the style validation build logic.
23:03.08 caen23 spertz: i'm currently trying to reproduce the error
23:03.24 *** join/#brlcad merzo (~merzo@93-60-92-178.pool.ukrtel.net)
23:10.23 spertz oh, thanks man!
23:10.41 *** join/#brlcad merzo (~merzo@93-60-92-178.pool.ukrtel.net)
23:11.46 caen23 i get the same error with the make from homebrew
23:12.06 caen23 however, i'm able to build with some make i built some time ago
23:21.43 caen23 actually, i think i had an old version of the code
23:27.30 caen23 you could try modifying src/librt/cache.c, casting the fourth argument on lines 215 and 254 to (void *)
23:28.19 caen23 it should be (void *) external->ext_buf
23:28.29 caen23 hopefully that fixes it
23:41.49 *** join/#brlcad spertz (~Victor@hlfxns016cw-156034001024.dhcp-dynamic.FibreOP.ns.bellaliant.net)
23:49.33 caen23 starseeker: https://sourceforge.net/p/brlcad/patches/452/

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.