00:26.47 |
*** join/#brlcad crazy_imp
(~mj@a89-182-155-87.net-htp.de) |
01:27.36 |
bhinesley |
I'm getting a compile error with cmake:
http://pastebin.mozilla.org/1246735 |
01:27.46 |
bhinesley |
glu.h doesn't exist |
01:40.13 |
bhinesley |
I disabled GL, and was able to
compile. |
02:08.05 |
bhinesley |
disregard... I cleaned the build directory and
it's working with GL enabled now, too. |
02:17.02 |
CIA-61 |
BRL-CAD: 03bhinesley * r44876
10/brlcad/trunk/src/proc-db/sketch.c: Applied patch 3247828,
submitted by myself. Fixed sketch usage statment so that it isn't
always printed, and clarified the output when an argument is
mistakenly provided |
02:40.11 |
brlcad |
dloman: hehe |
02:40.16 |
brlcad |
where'd that pic come from? |
02:43.49 |
CIA-61 |
BRL-CAD: 03bhinesley * r44877
10/brlcad/trunk/src/tclscripts/archer/ArcherCore.tcl: |
02:43.49 |
CIA-61 |
BRL-CAD: Applied patch 3309910, submitted by
myself. It makes Archer's opendb command |
02:43.49 |
CIA-61 |
BRL-CAD: behave like more mged when no
arguments are supplied. It prints the database |
02:43.49 |
CIA-61 |
BRL-CAD: name if it is in memory only, or it
prints the path to and name of the database |
02:43.49 |
CIA-61 |
BRL-CAD: if it is saved on disk. |
02:50.03 |
*** join/#brlcad Ralith
(~ralith@S010600221561996a.vc.shawcable.net) |
02:50.09 |
CIA-61 |
BRL-CAD: 03bhinesley * r44878
10/brlcad/trunk/src/tclscripts/archer/ArcherCore.tcl: Applied patch
3309107, submitted by myself. It adds a closedb command to Archer,
which simply loads an empty database in memory, like when Archer is
first started. |
02:57.57 |
CIA-61 |
BRL-CAD: 03bhinesley * r44879
10/brlcad/trunk/src/tclscripts/archer/ArcherCore.tcl: Applied patch
3267991, submitted by myself. The commands 'q' and 'exit' are
already available in Archer; this adds the 'quit'
synonym. |
02:59.20 |
CIA-61 |
BRL-CAD: 03brlcad * r44880
10/brlcad/trunk/NEWS: bhinesley made Archer's opendb command behave
like mged when no arguments are supplied. It prints the name if the
database is in memory only, or it prints the absolute path if the
database is saved on disk. |
03:00.28 |
CIA-61 |
BRL-CAD: 03brlcad * r44881
10/brlcad/trunk/BUGS: opening a database with the same name as a
command (in archer) reportedly (by bhinesley) doesn't
work |
03:01.33 |
CIA-61 |
BRL-CAD: 03brlcad * r44882
10/brlcad/trunk/NEWS: bhinesley added the missing closedb command
to archer as well, calls Load '' which closes the current database
and opens an empty one like when archer first starts up. |
03:17.46 |
CIA-61 |
BRL-CAD: 0399.144.90.118 07http://brlcad.org * r2917
10/wiki/User:Bhinesley: /* Log */ today, and plan
tomorrow |
03:33.51 |
*** part/#brlcad Ralith
(~ralith@S010600221561996a.vc.shawcable.net) |
06:52.01 |
*** join/#brlcad Stattrav
(~Stattrav@122.167.241.15) |
06:52.01 |
*** join/#brlcad Stattrav
(~Stattrav@unaffiliated/stattrav) |
08:17.03 |
*** join/#brlcad mafm
(~mafm@183.Red-81-32-97.dynamicIP.rima-tde.net) |
09:29.44 |
*** join/#brlcad Stattrav
(~Stattrav@111.93.134.142) |
09:29.44 |
*** join/#brlcad Stattrav
(~Stattrav@unaffiliated/stattrav) |
14:00.55 |
*** join/#brlcad merzo
(~merzo@193.254.217.44) |
15:00.55 |
*** join/#brlcad mafm
(~mafm@183.Red-81-32-97.dynamicIP.rima-tde.net) |
15:25.00 |
*** join/#brlcad Stattrav
(~Stattrav@122.172.247.68) |
15:25.00 |
*** join/#brlcad Stattrav
(~Stattrav@unaffiliated/stattrav) |
16:09.35 |
brlcad |
mm, some nice features coming in the
subversion 1.7 update |
16:23.32 |
CIA-61 |
BRL-CAD: 03brlcad * r44883 10/brlcad/trunk/
(42 files in 25 dirs): convert about 180 calls to NEAR_ZERO() to
NEAR_EQUAL() where the intent seems (via the a - b = 0 trick) to be
comparing for equality. improves readability. |
16:24.07 |
starseeker |
brlcad: are they close to releasing
1.7? |
16:28.02 |
CIA-61 |
BRL-CAD: 03brlcad * r44884
10/brlcad/trunk/doc/deprecation.txt: BU_EXTERN and BU_ARGS are
pre-c89 accommodations, no longer needed and minimally impacting to
remove them |
16:42.18 |
CIA-61 |
BRL-CAD: 03brlcad * r44885
10/brlcad/trunk/doc/deprecation.txt: BU_EXTERN() is a macro and a
bit more tricky to isolate properly, but still minimally
impacting. |
16:48.39 |
CIA-61 |
BRL-CAD: 03starseeker * r44886
10/brlcad/trunk/src/tclscripts/archer/ArcherCore.tcl: Archer's use
of the search command needed updating after the syntax change -
fixed highlighting of related items in Archer. |
16:51.35 |
CIA-61 |
BRL-CAD: 03starseeker * r44887
10/brlcad/trunk/NEWS: |
16:51.36 |
CIA-61 |
BRL-CAD: Archer's tree widget can optionally
highlight combinations that would be |
16:51.36 |
CIA-61 |
BRL-CAD: impacted by the editing of the
currently selected component - that feature |
16:51.36 |
CIA-61 |
BRL-CAD: relied on search, and the syntax
change threw it off. Fixed syntax, behavior |
16:51.36 |
CIA-61 |
BRL-CAD: restored. |
17:09.15 |
CIA-61 |
BRL-CAD: 03brlcad * r44888
10/brlcad/trunk/doc/deprecation.txt: have been using emacs syntax
to date, but change over to perl syntax so we can easily show users
how to apply a minimally impacting regex to their file(s) |
17:15.27 |
CIA-61 |
BRL-CAD: 03brlcad * r44889
10/brlcad/trunk/doc/deprecation.txt: untested, but this should swap
them from emacs regexp quoting to perl quoting |
17:17.17 |
CIA-61 |
BRL-CAD: 03brlcad * r44890
10/brlcad/trunk/doc/deprecation.txt: meant slurp mode, not code
7 |
17:34.49 |
*** join/#brlcad mafm
(~mafm@193.153.199.74) |
17:44.24 |
bhinesley |
starseeker: You said that it's possible to run
Archer from the build directory uninstalled... but it's still using
the installed tcl scripts for me. What's the trick? |
17:45.04 |
bhinesley |
I did a cmake build out of the source
directory |
17:46.26 |
bhinesley |
*outside of |
17:50.36 |
*** join/#brlcad Stattrav
(~Stattrav@111.93.134.142) |
17:50.36 |
*** join/#brlcad Stattrav
(~Stattrav@unaffiliated/stattrav) |
18:15.58 |
starseeker |
bhinesley: if you have an installed BRL-CAD in
the same directory as your CMAKE_INSTALL_PREFIX, BRL-CAD will look
there first for dat |
18:16.01 |
starseeker |
data even |
18:16.16 |
bhinesley |
oh, alright :) |
18:16.37 |
starseeker |
you can either a) re-build BRL-CAD with
CMAKE_INSTALL_PREFIX set to a directory where there is no BRL-CAD
or b) remove the installed version |
18:16.46 |
starseeker |
I get bit by that once in a while
too |
18:17.18 |
``Erik |
starseeker: "Consider a Spherical Cow: A
Course in Environmental Problem Solving" by John Harte ( http://en.wikipedia.org/wiki/Spherical_cow
) |
18:17.19 |
bhinesley |
anything to save time testing |
18:17.20 |
starseeker |
usually what I'll do is pass
-DCMAKE_BUILD_TYPE=Debug - that sets the install directory to
../brlcad-install relative to the build directory (IIRC) |
18:17.31 |
starseeker |
``Erik: heh, yep :-) |
18:18.00 |
starseeker |
bhinesley: then, as long as you don't have the
brlcad-install actually installed, you can run successfully from
the build directory |
18:18.13 |
starseeker |
or brlcad-install actually populated
rather |
18:18.39 |
bhinesley |
alright, I'll give that a go |
18:18.40 |
``Erik |
"wanted dead or alive: schrödinger's
cat" |
18:19.00 |
starseeker |
<snort> I think that's wanted dead AND
alive :-O |
18:19.12 |
starseeker |
:-P |
18:19.37 |
``Erik |
"a seminar on time travel will be held two
weeks ago" |
18:19.45 |
``Erik |
there's pretty corny :D |
18:20.04 |
starseeker |
sooo... you found the bottom of the internet?
:-P |
18:20.20 |
``Erik |
it's not as bad as /b/ |
18:23.11 |
*** join/#brlcad athena0
(~ed@ppp-70-226-169-88.dsl.mdsnwi.ameritech.net) |
18:26.48 |
starseeker |
hmm - an auction company in Dallas, TX called
Heritage Auctions is selling dinosaur skeletons |
18:27.00 |
starseeker |
just the thing to put up in the living room
:-P |
18:27.29 |
starseeker |
(talk about an efficient way to scare little
kids...) |
18:29.36 |
bhinesley |
psh... not my kids. They'd be all over
it. |
18:36.29 |
athena0 |
I'm having a brain-fart... brlcad is
complaining about a missing library before compile, and I can't
seem to resolve it. |
18:36.46 |
athena0 |
$ grep "Xi library" config.log |
18:36.53 |
athena0 |
configure:28705: WARNING: X11 support is
enabled but the Xi library was not found. |
18:37.00 |
bhinesley |
mesagl, I believe |
18:37.09 |
bhinesley |
hold on |
18:37.16 |
athena0 |
$ sudo aptitude search libxi | grep "X11
Input" |
18:37.21 |
athena0 |
i libxi-dev - X11
Input extension library (development h |
18:37.30 |
athena0 |
i libxi6 - X11
Input extension library |
18:37.38 |
athena0 |
p libxi6-dbg - X11
Input extension library (debug package |
18:38.11 |
athena0 |
Have I forgotten something obvious
here? |
18:42.47 |
*** join/#brlcad EricZZZ
(~EricZZZ@ppp-70-226-169-88.dsl.mdsnwi.ameritech.net) |
18:44.17 |
bhinesley |
athena0: I'm pretty sure there is a mesa
library missing, but I'm having trouble proving that. |
18:44.29 |
bhinesley |
I've had that warning before |
18:46.22 |
athena0 |
I don't suppose there'd be any harm in just
installing xlibmesa-gl and xlibmesa-gl-dev and giving it another
shot |
18:46.36 |
bhinesley |
nods |
18:46.39 |
bhinesley |
sorry I can't say for sure |
18:52.45 |
*** part/#brlcad bhinesley
(~bhinesley@99.144.90.118) |
18:52.51 |
*** join/#brlcad bhinesley
(~bhinesley@99.144.90.118) |
18:53.55 |
athena0 |
Arg. No dice. Still complaining about Xi
library not found |
18:54.12 |
bhinesley |
athena0: Yeah, I see it now. The message is
coming from configure.ac:1220 |
18:54.18 |
bhinesley |
libxi, allegedly |
18:55.00 |
bhinesley |
so maybe you need to do a "make clean" or
something |
18:56.10 |
athena0 |
Worth a shot. ... |
18:57.23 |
athena0 |
No, still complaining during ./configure
after a make clean |
18:57.37 |
bhinesley |
:-/ |
18:58.33 |
athena0 |
My system seems pretty convinced it's got the
libxi packages. Any chance it's just hid them away in some strange
directory structure? Maybe this could be solved with a well-placed
"ln -s" |
19:01.36 |
bhinesley |
do a `sudo updatdb && locate
libXi.so` |
19:01.45 |
bhinesley |
mine are in /usr/lib and /usr/lib64 |
19:03.39 |
CIA-61 |
BRL-CAD: 03kunigami * r44891
10/brlcad/trunk/src/liboptical/ (5 files): Discovered that
OSLRender only leaks memory if called by sh_osl. I've copied the
osl raytracer into osl_rt in such a way that it calls OSLRender
class. Valgrind did not identified the memory leaks present in the
rt run |
19:03.54 |
athena0 |
$ sudo updatedb && locate
libXi.so |
19:04.16 |
athena0 |
<PROTECTED> |
19:04.21 |
athena0 |
<PROTECTED> |
19:04.27 |
athena0 |
<PROTECTED> |
19:13.14 |
bhinesley |
athena0: do you have libx11-dev
installed? |
19:16.07 |
athena0 |
Yep. |
19:16.08 |
athena0 |
$ sudo updatedb && locate
libx11-dev |
19:16.12 |
athena0 |
<PROTECTED> |
19:16.49 |
athena0 |
(output truncated ...) |
19:17.03 |
bhinesley |
yeah, I believe ya |
19:19.41 |
athena0 |
Would it be possible for the .deb file
available for download to work on my machine when the source
doesn't look like it's going to compile? |
19:20.08 |
bhinesley |
yeah |
19:20.24 |
athena0 |
ah. Then I'm gonna give that a
shot. |
19:21.01 |
bhinesley |
good idea :) |
19:44.22 |
CIA-61 |
BRL-CAD: 03bhinesley * r44892
10/brlcad/trunk/src/tclscripts/archer/ (Archer.tcl
CombEditFrame.tcl): |
19:44.22 |
CIA-61 |
BRL-CAD: Adding '-sorted' to lsearch's in few
places where it's clear that the given list |
19:44.22 |
CIA-61 |
BRL-CAD: was A) sorted '-increasing' B) sorted
as ASCII text C) was not modified before |
19:44.22 |
CIA-61 |
BRL-CAD: the search D) not sorted with any of
'-all'/'-not'/'-glob'/'-regexp'. This |
19:44.22 |
CIA-61 |
BRL-CAD: option results in increased
performance, since it forces lsearch to do a binary |
19:44.22 |
CIA-61 |
BRL-CAD: search, rather than the default
linear search. |
19:44.23 |
CIA-61 |
BRL-CAD: Of all 58 instances of lsort in
BRL-CAD tcl scripts that were inspected, only 3 obvious cases of
missing 'lsearch -sorted' options were found following
them. |
20:00.57 |
*** join/#brlcad roberthl
(~robert@v1.rhl.me.uk) |
20:00.57 |
*** join/#brlcad roberthl
(~robert@mediawiki/RobertL) |
20:04.24 |
athena0 |
Seems to work! |
20:04.45 |
athena0 |
bhinesley: Thanks very much for your
help. |
20:05.14 |
bhinesley |
athena0: no problem, I wish could have helped
more |
20:10.40 |
*** join/#brlcad Stattrav
(~Stattrav@117.192.142.11) |
20:10.40 |
*** join/#brlcad Stattrav
(~Stattrav@unaffiliated/stattrav) |
20:21.58 |
CIA-61 |
BRL-CAD: 03bhinesley * r44893
10/brlcad/trunk/src/tclscripts/archer/ArcherCore.tcl: Realigned the
definition of mArcherCoreCommands, which was getting a little out
of hand |
20:47.31 |
CIA-61 |
BRL-CAD: 03bhinesley * r44894
10/brlcad/trunk/src/tclscripts/archer/ArcherCore.tcl: Indented a
multi-line string. |
21:03.21 |
CIA-61 |
BRL-CAD: 03starseeker * r44895
10/brlcad/trunk/TODO: Archer search usage fixed, note problems
being seen with rtwizard. |
21:05.58 |
starseeker |
I think with that can't find Xi libs thing you
might to call out the x11 location using --with-x11 or some such...
I ran into something similar once. |
21:06.07 |
starseeker |
wonder if CMake build would have
worked |
21:07.35 |
starseeker |
really needs to have another
go at getting RamDebugger running and see if it would help the
Tcl/Tk development process... |
21:10.51 |
bhinesley |
starseeker: I had the problem once before too,
but I can't remember what I did. I thought it was due it some
package I installed, because once it was fixed it never came
back. |
21:12.50 |
bhinesley |
RamDebugger looks neat |
21:17.51 |
starseeker |
bhinesley: heh - don't be tempted to waste too
much time on it though - I have a feeling getting it working with
BRL-CAD could be a bit of a trick |
21:18.30 |
bhinesley |
I'm sure |
21:19.44 |
starseeker |
I'd have to start by hooking it all into our
CMake tclscripts logic, and then fixing whatever needs
fixing |
21:19.56 |
starseeker |
and figure out which pieces (e.g. tkcvs) we
could ditch |
21:20.27 |
bhinesley |
Speaking of which, is there any chance of
distcc working? I've tried, but it complained that it wasn't a
valid compiler. |
21:20.57 |
bhinesley |
it worked alright with automake |
21:21.13 |
starseeker |
urm |
21:22.20 |
bhinesley |
not that it's a big deal :) |
21:22.32 |
starseeker |
looking over CMake list archives... |
21:22.57 |
starseeker |
CC=distcc gcc" cmake ../brlcad ? |
21:23.13 |
bhinesley |
yeah, it dies |
21:23.25 |
starseeker |
dies how? |
21:23.54 |
bhinesley |
something about distcc not passing compiler
checks... I'll try it again in a bit and let you know. I'm doing
another build right now. |
21:24.06 |
starseeker |
huh. k |
21:24.50 |
starseeker |
looks like distcc has come up before:
http://www.cmake.org/pipermail/cmake/2008-January/019292.html |
21:35.03 |
bhinesley |
starseeker: http://pastebin.mozilla.org/1247430 |
21:35.33 |
starseeker |
erm. distcc works in isolation? |
21:36.01 |
bhinesley |
it uses gcc/g++ |
21:36.19 |
starseeker |
I mean if you run the line # |
21:36.20 |
starseeker |
I mean if you run the line /usr/bin/distcc gcc
-o CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -c |
21:36.23 |
starseeker |
#
/home/bhinesley/brlcad-trunk/build/cmake-withogl-distcc/CMakeFiles/CMakeTmp/testCCompiler.c |
21:36.47 |
starseeker |
and then linke it: # |
21:36.47 |
starseeker |
and then linke it: /usr/bin/distcc gcc
CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -o |
21:36.50 |
starseeker |
# cmTryCompileExec -rdynamic |
21:36.54 |
starseeker |
er link it even |
21:38.00 |
bhinesley |
I'm not sure if the "gcc" is supposed to be
there or not |
21:38.49 |
starseeker |
bhinesley: maybe not - I'd experiment with it
"in isolation" to make sure you can get it to work, first |
21:42.22 |
bhinesley |
oh, I see what you mean |
21:44.41 |
starseeker |
hrm... looks like tktreectrl would need a
CMake build file... |
21:44.47 |
starseeker |
fights the
temptation... |
22:03.33 |
bhinesley |
what does the debug flag do besides change the
install directory? |
22:50.27 |
*** join/#brlcad Yoshi47
(~jan@d72-39-60-53.home1.cgocable.net) |
23:07.27 |
starseeker |
bhinesley: adds -g flag, few other compiler
flags |
23:19.11 |
*** join/#brlcad mafm
(~mafm@95.Red-88-22-160.staticIP.rima-tde.net) |
23:32.58 |
CIA-61 |
BRL-CAD: 03brlcad * r44896 10/brlcad/trunk/
(10 files in 6 dirs): stop using BU_ARGS, just list the arguments.
c89/posix lets us move forward. |
23:50.15 |
*** join/#brlcad archivist_emc
(~archivist@host81-149-189-98.in-addr.btopenworld.com) |