IRC log for #brlcad on 20170418

00:19.14 *** join/#brlcad infobot (ibot@rikers.org)
00:19.14 *** topic/#brlcad is GSoC students: if you have a question, ask and wait for an answer ... responses may take minutes or hours. Ask and WAIT. ;)
00:23.12 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
00:34.27 starseeker DaRock: there is a way to do hybrid
00:34.57 starseeker if libpng is the problem, override with (iirc) -DBRLCAD_PNG=SYSTEM
00:35.03 starseeker when configuring with CMake
00:35.59 starseeker generally speaking, you get the situation you're describing when system libraries are used that depend on the system libpng15, but BRL-CAD's libraries are also built using our bundled libpng16
01:39.27 DaRock thats strange. My system is using libpng16, and brlcad is building libpng15. I'll try that and see if it helps anyway. Thanks
02:22.00 DaRock I'm getting a different error as well: error: Tk 8.6 must be compiled with tcl.h from Tcl 8.6 or better
02:23.07 DaRock no diarrhea on this one. Googling is not exactly revealing any answers either...
02:41.56 starseeker DaRock: does doing -DENABLE_ALL=ON help?
02:42.42 starseeker DaRock: which version of BRL-CAD are you building? our trunk build has 1.6.23
02:43.10 DaRock don't know... I'll have to give it a go. What does that one do? And where are all these knobs documented?
02:43.37 starseeker DaRock: if you run cmake-gui and do a configure you'll see them listed in the GUI
02:44.07 starseeker there's also the top level INSTALL file
02:44.31 starseeker ENABLE_ALL uses (as much as possible) the src/other versions of libraries
02:44.59 DaRock honestly no idea - I'm building out of freebsd ports system, as it helps with most stuff on the system, but this particular port is deprecated and refuses to build without urt - which is unavailable anymore. So I found that urt is incorp in brlcad anyway, and trying to get it to build.
02:45.18 starseeker ah
02:45.28 starseeker ``Erik: any ideas on this?
02:46.08 DaRock Seems to succeed, except for the png issue - runs from the staging dir but not once installed. builtin libpng seems to be in the stage area (libpng15), and doesn't get installed obviously
02:46.09 starseeker no wonder you're not using ENABLE_ALL - an integrated OS build usually doesn't like doing that
02:46.47 starseeker -DENABLE_ALL=ON -DBRLCAD_PNG=SYSTEM -DBRLCAD_ZLIB=SYSTEM might work
02:46.50 DaRock I have been fiddling, so maybe it was in the original and got wiped somewhere too :)
02:47.12 starseeker (if you're going with system png you almost always want system zlib too)
02:47.19 DaRock but where are the knobs located - I always seem to get stuck on a cmake system :)
02:47.27 starseeker nah - the OS guys hate that we bundle libs
02:47.39 starseeker it'a a major sticking point for Fedora/Redhat
02:47.43 starseeker Debian too, iirc
02:48.11 starseeker DaRock: the knobs are suppled to the CMake command line
02:48.15 DaRock if urt is needed, I can't see the complaint. Buuut... we'd be better off using the system libs as much as possible
02:48.21 starseeker if you prefer, you can try the configure wrapper script
02:48.38 DaRock I know that :) but where are they documented?
02:48.44 starseeker INSTALL
02:48.47 starseeker top level text file
02:48.54 starseeker in the source tree
02:49.11 starseeker starting about line 345
02:49.44 DaRock I'll have a look then. Will enable_all still use the builtin urt though?
02:49.55 starseeker yes
02:50.01 starseeker it uses built in everything by default
02:50.38 DaRock I think I might try and find an original copy that Makefile then - I think I've screwed up somewhere :D
02:50.59 DaRock then I can simply comment out the urt dependency
02:51.07 DaRock see how that goes
02:51.27 DaRock but at least I'll have the right starting point
02:51.37 starseeker if ``Erik pops in, he's our BSD expert
02:52.05 DaRock then I can take good look at all those knobs and see what will tickle its fanny enough to get it running
02:52.36 DaRock thanks for the help with this starseeker - Erik's probably our porter
02:52.44 starseeker we use (and test with) tcl/tk 8.5 - 8.6 may work, but itcl/itk 4 are known not to work
02:52.49 starseeker np
02:54.24 DaRock unfortunately, brlcad's deprecated due to this dependency to urt which will be removed shortly, so I'm trying to find a way around it. If it does get removed, I'll know what to do and keep a copy of the tree stub and maintain it for my own personal use :)
02:56.01 DaRock again, thanks for the help - you've shone a light on where the real problems are; tk wasn't an issue before, and png should have been either
03:47.06 *** join/#brlcad DaRock (~Thunderbi@mail.unitedinsong.com.au)
05:15.45 *** join/#brlcad DaRock (~Thunderbi@mail.unitedinsong.com.au)
05:30.52 DaRock where is urt knobs? Is it even needed at all anymore?
06:34.04 *** join/#brlcad gabbar1947 (uid205515@gateway/web/irccloud.com/x-pztecamwdfsfulvw)
06:42.13 *** join/#brlcad teepee_ (~teepee@unaffiliated/teepee)
07:12.00 *** join/#brlcad Caterpillar (~caterpill@unaffiliated/caterpillar)
08:03.43 *** join/#brlcad elpea (~chatzilla@dsl-hkibrasgw5-58c04d-211.dhcp.inet.fi)
08:15.21 *** join/#brlcad teepee (~teepee@unaffiliated/teepee)
08:30.38 *** join/#brlcad merzo (~merzo@user-94-45-58-139.skif.com.ua)
08:32.05 *** join/#brlcad teepee] (bc5c2134@gateway/web/freenode/ip.188.92.33.52)
08:43.52 *** join/#brlcad teepee (~teepee@unaffiliated/teepee)
09:10.55 *** join/#brlcad teepee (~teepee@p50883F56.dip0.t-ipconnect.de)
09:10.57 *** join/#brlcad teepee (~teepee@unaffiliated/teepee)
09:37.27 *** join/#brlcad teepee (~teepee@unaffiliated/teepee)
12:37.34 *** join/#brlcad yorik (~yorik@2804:431:f721:afd0:290:f5ff:fedc:3bb2)
13:04.23 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
13:09.29 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
13:47.10 *** join/#brlcad elpea (~chatzilla@dsl-hkibrasgw5-58c04d-211.dhcp.inet.fi)
15:54.13 *** join/#brlcad elpea (~chatzilla@dsl-hkibrasgw5-58c04d-211.dhcp.inet.fi)
16:21.27 Notify 03BRL-CAD:starseeker * 69647 brlcad/trunk/src/external/CREO/CMakeLists.txt: tweaks
16:25.22 Notify 03BRL-CAD:starseeker * 69648 (brlcad/trunk/src/external/CREO/main.cpp brlcad/trunk/src/external/CREO/util.cpp): build cleanups
16:25.37 Notify 03BRL-CAD:starseeker * 69649 brlcad/trunk/src/libbu/namegen.c: use the ret variable
16:25.40 Notify 03BRL-CAD Wiki:Michelsilva * 0 /wiki/User:Michelsilva:
16:25.42 Notify 03BRL-CAD Wiki:Icaroblue1974 * 0 /wiki/User:Icaroblue1974:
16:25.44 Notify 03BRL-CAD Wiki:Marianabz26 * 0 /wiki/User:Marianabz26:
16:25.46 Notify 03BRL-CAD Wiki:Troncosoft * 0 /wiki/User:Troncosof:
16:28.49 Notify 03BRL-CAD:brlcad * 69650 brlcad/trunk/src/librt/primitives/tgc/tgc.c: document and replace several of the tgc magic math values with meaningful (and generally equivalent) constructs, or at least documented constructs. tighten up some of the debug printing as well.
16:40.58 *** join/#brlcad LordOfBikes (~armin@dslb-088-066-159-033.088.066.pools.vodafone-ip.de)
17:32.16 Notify 03BRL-CAD:starseeker * 69651 (brlcad/trunk/src/external/CMakeLists.txt brlcad/trunk/src/external/CREO/main.cpp and 3 others): Get things building with the shim header.
17:54.37 *** join/#brlcad teepee (~teepee@unaffiliated/teepee)
19:22.44 *** join/#brlcad infobot (ibot@rikers.org)
19:22.44 *** topic/#brlcad is GSoC students: if you have a question, ask and wait for an answer ... responses may take minutes or hours. Ask and WAIT. ;)
19:47.49 Notify 03BRL-CAD:brlcad * 69652 brlcad/trunk/src/librt/primitives/tgc/tgc.c: quell an incorrect warning being issued by gcc 6.2.1 (possibly going back as far as gcc 4.8.0), hopefully in a way that doesn't trigger a dead code warning by any other tools (e.g., coverity). the issue (reported as GCC Bug 80406 - 'Reduced false positive test case for -Warray-bounds with -O3') seems to be the optimizer taking bounds information
19:47.51 Notify away from the warning system, causing it to think there's a way to exceed k[] and hit_type[] bounds even though that should be logically possible (even if we assume the root solver misbehaves horribly).
19:47.53 Notify ...
20:06.54 Notify 03BRL-CAD:n_reed * 69653 brlcad/trunk/src/tclscripts/checker/check.tcl: Enable any draw triggered by a change in checklist selection to robustly supersede an in-progress draw.
20:08.44 *** join/#brlcad nmz787_i (ntmccork@nat/intel/x-bxzmlwdrczoijgto)
20:10.10 nmz787_i anyone in here want to make some money, writing some simple models for me (using my python-brlcad-tcl framework/library)? I want models for each class/type of valve described in this paper www.mdpi.com/2072-666X/2/2/179/pdf
21:09.25 *** join/#brlcad merzo (~merzo@59-38-133-95.pool.ukrtel.net)
22:17.18 Notify 03BRL-CAD:starseeker * 69654 brlcad/trunk/src/external/CREO/resources/creo_brl.res: Add new file input row to GUI resource file (untested)
22:18.24 Notify 03BRL-CAD:starseeker * 69655 brlcad/trunk/src/external/CREO/README.txt: not using nmake anymore
22:28.32 Notify 03BRL-CAD:starseeker * 69656 (brlcad/trunk/src/external/CREO/creo-brl.h brlcad/trunk/src/external/CREO/main.cpp): remove unused container
22:32.09 Notify 03BRL-CAD:starseeker * 69657 brlcad/trunk/src/external/CREO/main.cpp: we're strduping in the creation, so we'll need to free.
22:35.04 Notify 03BRL-CAD:starseeker * 69658 brlcad/trunk/src/external/CREO/main.cpp: ws
22:38.55 Notify 03BRL-CAD:starseeker * 69659 brlcad/trunk/src/external/CREO/part.cpp: use ret
22:47.54 Notify 03BRL-CAD:starseeker * 69660 (brlcad/trunk/src/external/CREO/main.cpp brlcad/trunk/src/external/CREO/part.cpp brlcad/trunk/src/external/CREO/shim.h): use the return code to identify non-existing or empty parts
22:48.14 *** join/#brlcad kintel (~kintel@unaffiliated/kintel)
22:54.57 Notify 03BRL-CAD:starseeker * 69661 (brlcad/trunk/src/external/CREO/creo-brl.h brlcad/trunk/src/external/CREO/main.cpp): use output file for toplevel comb name
23:04.00 Notify 03BRL-CAD:starseeker * 69662 (brlcad/trunk/src/external/CREO/creo-brl.h brlcad/trunk/src/external/CREO/main.cpp brlcad/trunk/src/external/CREO/util.cpp): see if we can parameterize the message dialog function.
23:07.06 nmz787_i brlcad: have you ever worked at a big company? I wonder if the military is better organized than the average mega-corp
23:08.26 Notify 03BRL-CAD:starseeker * 69663 brlcad/trunk/src/external/CREO/main.cpp: if this works, go with it.
23:30.14 Notify 03BRL-CAD:starseeker * 69664 brlcad/trunk/src/external/CREO/assembly.cpp: comment tweak
23:34.01 Notify 03BRL-CAD:starseeker * 69665 brlcad/trunk/src/external/CREO/assembly.cpp: don't forget to preserve creo name...
23:39.23 Notify 03BRL-CAD:starseeker * 69666 brlcad/trunk/src/external/CREO/part.cpp: fix returns in comment
23:45.34 *** join/#brlcad teepee (~teepee@unaffiliated/teepee)

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