01:16.54 |
*** join/#brlcad Twingy
(~justin@pcp0011643033pcs.aberdn01.md.comcast.net) |
03:42.27 |
*** join/#brlcad EricWilhelm
(~ewilhelm@adsl-65-71-168-93.dsl.tpkaks.swbell.net) |
03:43.22 |
*** join/#brlcad EricWilhelm
(~ewilhelm@adsl-65-71-168-93.dsl.tpkaks.swbell.net) |
05:32.39 |
CIA-3 |
BRL-CAD: 03lbutler *
10brlcad/src/conv/g-shell.rect.1: Since this man page was pretty
hard to read, I re-formatted it. |
06:35.47 |
Twingy |
o.O |
06:36.27 |
brlcad |
0.o |
06:36.54 |
Twingy |
it is now time to test an
optimization |
07:09.07 |
narnia |
^_^ |
10:12.12 |
*** join/#brlcad Pimpinella
(~frank@p50821747.dip0.t-ipconnect.de) |
13:39.54 |
*** join/#brlcad dir21
(~dir21@217.169.31.107) |
17:20.12 |
*** join/#brlcad tyche
(~440388b7@bz.bzflag.bz) |
17:23.21 |
tyche |
Can anyone give me a clue as to how to start
BRL-CAD. Yes, it's installed (Linux on Intel) |
17:23.39 |
brlcad |
tyche: hello :) |
17:23.56 |
brlcad |
tyche: I'd suggest reading the tutorial series
documentation |
17:24.09 |
brlcad |
what's your interest? |
17:25.21 |
tyche |
OK, That's one thing that I didn't find,
either in the downloaded package or on the website(s). I am a CAD
operator (with 15 years experience) and would like something better
than spending $1500 for AutoCAD. |
17:25.59 |
tyche |
So, where do I find the tutorial
documentation? |
17:26.47 |
brlcad |
http://brlcad.org |
17:27.19 |
brlcad |
the overview is a quick intro |
17:27.43 |
brlcad |
volume II is a very detailed tutorial on one
of the primary gui-based modelers (mged) |
17:28.16 |
brlcad |
volume III gets into more advanced
topics |
17:28.58 |
tyche |
I read it. It gave no indication as to how to
start the program. I'll try Volume II, then. A fast overview of
volume II seemed to imply that the program was already started.
I'll look again. Thanks :-) |
17:29.14 |
brlcad |
I must admit, though, that if you are
interested in CADD (drafting) as opposed to CAD (design) that there
are probably better tools, qcad comes to mind |
17:29.35 |
brlcad |
brlcad isn't a single program .. it's a suite
of tools |
17:29.49 |
brlcad |
there are over 400 specific tools that do
various things |
17:30.14 |
brlcad |
volume II focuses on 1 of them .. (albeit one
of the largest/complex of them) the modeler mged |
17:30.45 |
brlcad |
the quick n' easy start is to add
/usr/brlcad/bin to your path and then type "mged" |
17:31.01 |
tyche |
My primary interest is in 3D. The last few
years I was using AutoCAD to do solid modeling of everything from
Precast Concrete products to trucks, lift equipment, and even the
boss's back yard and LARGE pond he developed. |
17:31.08 |
brlcad |
export PATH=/usr/brlcad/bin:$PATH |
17:31.15 |
brlcad |
ahh, excellent then ;) |
17:33.59 |
tyche |
Thanks. BRB - my groceries have arrived
(isn't it nice to be decadent?) <BG> |
17:34.43 |
brlcad |
brl-cad is geared towards quite a different
construction methodology than autocad and with a much less mature
user interface, but most all of the same features are there in
terms of design capabilities |
17:41.31 |
brlcad |
what's up? |
17:42.12 |
jano |
i want to go surfing :| |
17:42.42 |
jano |
but i can't go in the sun because of these
stupid antibiotics :( |
17:45.13 |
tyche |
Dear jano :-) How EVER did you lift ALL
FIVE FEET of Unix manuals to beat poor brlcad with? (yes, I've run
a Unix machine a number of years ago) |
17:46.37 |
tyche |
brlcad > Different doesn't bother me. If
it did, I wouldn't be out of Windows and running Ubuntu Linux (a
modified Debian distro) |
17:46.54 |
brlcad |
tyche: in that light, most of brl-cad is
designed in the unix philosophy of many small tools that perform
some specific task well |
17:48.08 |
tyche |
Worse, I learned AutoCAD on my own in 2 weeks,
and was turning out drawings that were better than the college
trained person I was replacing. I am also familiar with GIMP and
other programs, and the philosophy of Unix/Linux
programming. |
17:50.39 |
tyche |
As for the groceries: I live in the
Phoenix-Metro area (now), and Albertsons is nice enough to deliver
to this second floor appartment for this poor 60 year old
draftsman. |
17:53.47 |
tyche |
OK, NOW I'm getting an error code that at
least I can understand. It appears that I need the libtcl
libraries, so I'll have to go find them and get them
installed. |
17:54.17 |
narnia |
brlcad, hello. concerning the nist scl3-2
source. since iso-10303-26 has been cancelled i am removing any
references to part26 from the source code. |
17:54.46 |
narnia |
tyche, synaptic should find libtcl
libs. |
17:55.22 |
narnia |
concerning groceries, that is what adult
children are for. ;-) |
17:55.48 |
brlcad |
tyche: brl-cad ships tcl/tk with it .. you
shouldn't have to get anything |
17:55.57 |
brlcad |
what version and how did you install
it? |
17:56.11 |
narnia |
brlcad, i forgot that. i am bad. ;-) |
17:56.24 |
brlcad |
heh |
17:57.08 |
brlcad |
sounds like it was maybe relocated |
17:57.42 |
narnia |
brlcad, the bridal veil has been relocated?
interesting. |
17:58.02 |
brlcad |
from your hands to my belly |
17:58.17 |
narnia |
brlcad, roflol |
17:58.23 |
tyche |
My adult children are 2300 miles away. I
downloaded brlcad from SourceForge. The instructions to install
assumed (and I use the term advisedly, realizing the breakdown of
the word) that I was installing from source. The downloaded file
was NOT a source file, but the Linux versions. |
17:58.49 |
brlcad |
tyche: and where is brl-cad installed
at? |
17:59.03 |
tyche |
WILL you quit playing with your veil? Do you
know where that veil has been? :-) |
17:59.09 |
narnia |
tyche, i have two adult children that moved
back in with good olde dad? i would more than happy to loan you
one. ;-) |
17:59.44 |
brlcad |
it's probably either expecting to be in
/usr/brlcad or /usr/brlcad7.0/ia32 depending on which
version |
18:00.32 |
brlcad |
if it was an error about tcl/tk initializing..
then you probably have it relocated somewhere else |
18:00.36 |
tyche |
brlcad is in /usr/brlcad/cad/. As to adult
children, we're still supporting them. WE moved away from THEM (my
wife's job promoted and transfered her) for which we are extremely
grateful. |
18:00.45 |
brlcad |
ahh, that'd be why |
18:00.46 |
narnia |
tyche, i will even pay the shipping and
handle. ;-) |
18:01.16 |
narnia |
brlcad, have i got a deal for you.
;-) |
18:01.32 |
tyche |
Ther error reads: error while loading shared
libraries: libtcl8.4.so.19: cannot open shared object file: No such
file or directory. And I don't accept unordered products
<BG> |
18:01.52 |
tyche |
What? You want to sell me waterfront property
in Arizona? |
18:01.54 |
brlcad |
does it involve small islands or beach-front
property in alabama? |
18:02.02 |
brlcad |
heh |
18:02.29 |
tyche |
Of course, with our latest flooding, that
isn't as far fetched as it would appear. |
18:02.47 |
brlcad |
tyche: yes.. relocation errors.. try: export
LD_LIBRARY_PATH=/usr/brlcad/cad/lib:$LD_LIBRARY_PATH |
18:02.59 |
brlcad |
and then: export
BRLCAD_ROOT=/usr/brlcad/cad |
18:03.09 |
tyche |
How about property in Florida, guarenteed
waterfront property - on top? |
18:03.27 |
narnia |
brlcad, you, yes you, can now have your very
own 'house guest'. the 'house guest' is housebroken, but may
require additional incentives to find outside activities.
;-) |
18:04.32 |
brlcad |
but does that house guest take care of my
tomato slicing and steel pipes cutting needs too? |
18:04.44 |
narnia |
tyche, had that in spring and summer 1996. i
wsa surrounded by water. 240 acres of farmland under water. i was
an island. |
18:05.11 |
narnia |
brlcad, depends on which model you choose.
;-) |
18:05.31 |
tyche |
"No man is an island, entire to himself. .
." |
18:05.49 |
tyche |
Or woman, either (must be politically
correct) |
18:06.03 |
tyche |
BTW, still the same error code. |
18:06.38 |
narnia |
tyche, that is odd that should have fixed
it. |
18:07.41 |
brlcad |
ls -la /usr/brlcad/cad/lib/libtcl* |
18:08.11 |
tyche |
Tried it again. Discovered a typing error.
Stand-By |
18:09.26 |
tyche |
WHEE! That went through about 10 inches of
listing! They're there. I just can't seem to reach
them. |
18:09.30 |
brlcad |
the relocation may not work at all to be
honest.. at least mged might not work without setting a slew of
tcl/tk run-time errors |
18:10.04 |
brlcad |
tcl/tk does not like to be relocated at
all |
18:10.17 |
tyche |
narnia: you may be seated. OOPS! Sorry. At
one time I was training to be a minister. |
18:10.21 |
narnia |
this is true |
18:10.22 |
brlcad |
there are like 6 environment variables that
they use |
18:10.40 |
tyche |
Is there a configuration file that holds the
env variables? |
18:11.05 |
brlcad |
no, it's all very low level
initialization |
18:11.24 |
brlcad |
it can be fixed.. but it's usually just as
easy to install it without relocating |
18:11.45 |
brlcad |
if you don't mind building, the steps are
rather simple to get and install the latest |
18:11.50 |
brlcad |
from source |
18:12.51 |
tyche |
It would have been nice if they had simply
handed me the source. So, what's the steps (BE ADVISED: I may
have to step out for a couple of minutes to take the used
kitty-litter out to the dumpster. This won't happen for at least 5
minutes) |
18:14.06 |
brlcad |
no problem |
18:14.31 |
brlcad |
cvs -d
:pserver:anonymous@cvs.sf.net:/cvsroot/brlcad login |
18:14.36 |
brlcad |
[no password] |
18:14.56 |
brlcad |
cvs -d
:pserver:anonymous@cvs.sf.net:/cvsroot/brlcad checkout -P
brlcad |
18:14.57 |
tyche |
synaptic has never heard of brlcad. Go
figure! I can't understand that such an esoteric program would not
be listed. :-) |
18:15.35 |
brlcad |
tyche: brl-cad's only been open source since
jan ;) |
18:16.47 |
tyche |
OK, brlcad, I have a minor glitch. I may not
have CVS on system. |
18:17.24 |
tyche |
I DID say that Ubuntu was modified. You can
spell that S-T-R-I-P-P-E-D |
18:18.49 |
brlcad |
heh, okay |
18:18.57 |
brlcad |
then.. |
18:19.33 |
tyche |
Installing CVS now. |
18:19.46 |
brlcad |
http://prdownloads.sourceforge.net/brlcad/brlcad-7.2.0.tar.gz?download |
18:20.24 |
brlcad |
cvs will get you the very latest
sources |
18:20.40 |
brlcad |
that link for 7.2.0 is only a couple days
off |
18:21.57 |
narnia |
brlcad, i thought you were going to a
wedding? |
18:22.35 |
tyche |
downloading now. MAN. THAT was fast. I
can't believe I got the whole thing. |
18:23.23 |
brlcad |
narnia: I decided not to go |
18:25.56 |
tyche |
Extracting files to a local directory. From
there, I'll follow the instructions that were listed? |
18:26.59 |
tyche |
BRB: Used kitty-litter run |
18:27.48 |
brlcad |
tyche: yes, the instructions listed should be
good to follow |
18:28.27 |
brlcad |
if you got it from cvs, you'll run
./autogen.sh first and then ./configure .. if not from cvs and from
that download, you can just run ./configure |
18:28.41 |
*** join/#brlcad EricWilhelm
(~ewilhelm@68.95.117.229) |
18:29.17 |
narnia |
brlcad, i find weddings depressing.
ymmv |
18:39.40 |
*** join/#brlcad ewilhelm_
(~ewilhelm@68.95.117.229) |
18:42.52 |
brlcad |
one if by land, two if by irc? |
18:46.28 |
tyche |
My appologies for the delay. You wouldn't
believe the things I've had to install to try to install
BRL-CAD |
18:48.52 |
tyche |
Well, at least now it's saying that it's
preparing to build. Autoconf, Automake and Libtools were all
missing. I wish I could have gotten Fedora Core 3 to install on
this machine. |
18:58.03 |
tyche |
Well, now I KNOW I'm loosing my mind. See,
even my computer tells me so: C++ preprocessor "gcc -E" fails
sanity check |
19:11.55 |
brlcad |
there's a slew of components required to
actually run the gnu build system |
19:12.12 |
brlcad |
that c++ error is a libtool bug |
19:12.16 |
brlcad |
easy fix is to install g++ |
19:12.41 |
brlcad |
you don't need to install of the the gnu build
system components if you didn't download from cvs |
19:13.28 |
tyche |
Installing now. Just took me a few minutes to
read the config.log and figure out what I needed. |
19:13.44 |
brlcad |
you downloaded, didn't you? |
19:13.53 |
brlcad |
that c++ problem is worked around in the
latest cvs |
19:13.59 |
brlcad |
at least it should be |
19:14.23 |
tyche |
I just got the G++ compiler. It wasn't on
system. I'm trying ./configure again. |
19:14.39 |
brlcad |
but did you download or get cvs? |
19:14.59 |
tyche |
I downloaded from the SourceForge URL you gave
me. |
19:15.51 |
brlcad |
ahh, then you didn't need to run ./autogen.sh
(meaning you didn't need to install m4, perl, autoconf, automake,
libtool, db3, etc ;) |
19:16.07 |
tyche |
This has gotten a lot further that the first
time I tried it. |
19:16.30 |
brlcad |
you're configuring now? |
19:18.12 |
tyche |
Yes, and it looks good, for a
change. |
19:18.41 |
tyche |
I REALLY do thank you for all your help and
encouragement. (Though, we're not done yet :-) ) |
19:18.52 |
brlcad |
after configure, you'll run make and then
"make install" as root |
19:19.00 |
brlcad |
no problem |
19:19.27 |
brlcad |
we need to improve the linux installation
process.. |
19:19.37 |
brlcad |
warn about relocations |
19:19.57 |
brlcad |
or figure ways around it to allow them more
easily |
19:20.46 |
tyche |
Yep. In fact, I'm doing the whole thing as
root (well, all right, sudo). Improvements would be nice. If I've
helped point out problems (I'm not too good at solving them
<BG>) then that's good |
19:22.34 |
tyche |
brlcad: Do I take it to understand that you
are someone heavily involved in the brl-cad project? Such as a
programmer? |
19:23.39 |
brlcad |
that would be a fair understanding |
19:23.45 |
brlcad |
I'm one of the project leads |
19:24.04 |
brlcad |
maintainer and developer |
19:24.50 |
narnia |
tyche, brlcad is really the chief cook and
bottle washer. ;-) |
19:25.03 |
tyche |
Then you have my profoundest compliments for
the way you've answered a newbie's questions and helped out, here.
And from the responses I'm getting off of configure, it would
appear that you've tried to answer a great many low-level
questions |
19:25.16 |
narnia |
tyche, i am a lowly bus boy. ;-) |
19:25.44 |
tyche |
narnia: don't put down chief cooks and bottle
washers. They're like good secretaries. They are the ones that
actually run things. |
19:27.02 |
CIA-3 |
BRL-CAD: 03brlcad * 10brlcad/TODO: consider
providing installation and post configuration support
scripts |
19:27.11 |
brlcad |
I'm a coffee gopher ;) |
19:27.31 |
tyche |
Hmmmm! It wanted to see if I was still here:
"checking for sqrt... yes" |
19:27.56 |
tyche |
Oh, no. That's square-root. I thought it was
an abbreviation for squirt |
19:28.04 |
brlcad |
heh |
19:28.23 |
narnia |
brlcad, the end of april there is an emc fest
at nist. not sure if i will be able to make. if by chance i do what
is your schedule like the end of april? |
19:28.35 |
tyche |
Creating MakeFiles |
19:29.04 |
brlcad |
narnia: no exact idea that far in
advance |
19:29.19 |
brlcad |
tyche: wow.. this must be a rather slow
machine? |
19:30.24 |
narnia |
brlcad, my thinking is to get brl-cad folks
and the emc folks together to brainstorm the interface between the
two. |
19:30.30 |
tyche |
Now doing "make". It's a Pentium III,
750MHz |
19:30.57 |
narnia |
tyche, how much memory is in that
box? |
19:31.10 |
brlcad |
tyche: do you have opengl
configured? |
19:31.59 |
tyche |
The only problem is that it has an NVidia
GForce 4 graphics card, and most of the Linux installers don't
understand to default to SVGA or generic NVidia (GPL'ed) drivers
for such |
19:32.19 |
tyche |
I'm maxed at 512Meg RAM |
19:32.39 |
narnia |
tyche, understand. |
19:33.08 |
tyche |
As far as I know, I have OpenGL. At least,
various screensavers that appear to make use of it operate
correctly. |
19:33.24 |
brlcad |
the build system is presently wired on the
assumption of opengl .. haven't made that build option
auto-configureable yet |
19:33.27 |
brlcad |
that's good |
19:34.25 |
tyche |
I didn't happen to see any errors (flipping in
and out of console) that looked like it couldn't find it. Make
seems to be runnning all right. |
19:35.05 |
brlcad |
if you don't have the opengl developer
libraries installed, it'll be a while before you hit an
error |
19:36.01 |
tyche |
I may not have the developer libraries
installed. If not, I presume that I can just pick up with "make"
again after installing them? |
19:36.08 |
brlcad |
yeah |
19:36.43 |
tyche |
No problem, then. Just a little more time
consuming <BG>. Good thing I have nothing else to do on a
Saturday Morning. |
19:38.22 |
brlcad |
i could still walk you through the proper
unrelocated installation of the linux binary too :) |
19:39.05 |
brlcad |
that would definitely have been less work and
would have been faster, but then where's the fun in that |
19:40.04 |
brlcad |
if you want to go that route, thought, just
let me know ;) |
19:40.06 |
tyche |
I just hit a bunch of parse errors. I wasn't
fast enough to get to the head of the list before it popped off the
top of the terminal. Sorry. The first one that I could see had to
do with tkDecls.h: |
19:40.43 |
brlcad |
tkDecls.h .. that'd be X11 headers |
19:41.17 |
tyche |
Yep. That's something I remember seeing as it
flashed by. |
19:42.15 |
brlcad |
what's your distribution? |
19:43.27 |
tyche |
Ubuntu Linux, it's a modified Debian
distribution. I think it's using XFree86 instead of X11 |
19:43.39 |
brlcad |
XFree86 is X11 |
19:45.17 |
tyche |
The development files for X11 show up in
Synaptic: libx11-dev. |
19:45.53 |
brlcad |
there are two X11 distributions
though |
19:46.16 |
brlcad |
xlibs-dev maybe? |
19:46.32 |
tyche |
I do appologize for throwing nothing but
problems at you. Let me check on that. |
19:47.07 |
brlcad |
no problem at all |
19:47.23 |
brlcad |
it might be libx11-dev, i'm not that familiar
with ubuntu's packages |
19:47.52 |
tyche |
This may take a moment. I found xlibs-dev,
and it's added about 10 more dependencies. |
19:48.26 |
tyche |
OK, THAT took. Now, how do I find the opengl
development packages? |
19:49.56 |
tyche |
I see the python-opengl binding programs
(already installed) but nothing on plain, old, ordinary
opengl |
19:51.11 |
brlcad |
no, nvidia probably already installed it if
youre using their drivers |
19:52.41 |
tyche |
I'm not sure whether it's NVidia drivers or
the Generic drivers. I had to force GRUB to accept the generic to
even see the screen to finish the installation. After it was
installed, I pulled the drivers off Synaptic, first thing. I DO
get the NVidia splash screen. |
19:53.15 |
brlcad |
yeah, you're probably good to try
continuing |
19:55.04 |
tyche |
Well, let me hit "make" again. "And away-y-y
we go. . ." |
19:56.12 |
tyche |
"Make" is making. And I'm for more coffee and
a couple of Motrin. |
19:58.56 |
tyche |
Isn't it difficult to type with your fingers
crossed? Well, maybe not. I know that I can type as well with my
eyes crossed as without. 40 mistakes a minute, with words.
:-) |
20:01.23 |
brlcad |
abg qvssvphyg ng nyy |
20:01.31 |
brlcad |
~rot13 abg qvssvphyg ng nyy |
20:01.31 |
ibot |
not difficult at all |
20:02.27 |
tyche |
Yep, that's about right <LOLROFPMP> .
Oh, BTW, I just caught a "warning": tkUnixDialog.c:64: warning:
passing arg 4 of pointer to function from incompatible pointer
type |
20:03.35 |
brlcad |
that's fine, warnings are okay ;) |
20:03.42 |
brlcad |
especially tcl/tk warnings |
20:03.53 |
brlcad |
we don't fix their code more than we have
to |
20:04.46 |
tyche |
Not when they're followed by a BUNCH of
"undefined references" and "collect2: ld returned 1 exit
statusmake[4]: *** [wish] Error 1" |
20:05.34 |
tyche |
I don't think it liked my version of the x11
header files. |
20:06.13 |
brlcad |
hrm |
20:06.21 |
brlcad |
undefined references would be
libraries |
20:06.40 |
brlcad |
what's one of the undefined
references? |
20:07.21 |
tyche |
Yep. That was the last thing installed. The
last one before "make" dropped out was:
/usr/brlcad/src/other/libtk/generic/tkCanvWind.c:903: undefined
reference to `XGetImage' |
20:07.48 |
brlcad |
hmm.. yes, that's an x11 library
symbol |
20:08.02 |
tyche |
The first one was:
/usr/brlcad/src/other/libtk/unix/tkUnixFont.c:693: undefined
reference to `XLoadQueryFont' |
20:08.24 |
brlcad |
ls -la /usr/X11R6/lib/libX11* |
20:08.40 |
brlcad |
oh, it might be configure |
20:09.05 |
brlcad |
you first ran configure without X11, so it's
probably not added /usr/X11R6 to your paths |
20:09.20 |
brlcad |
try running configure again and then make
again |
20:09.36 |
tyche |
Well, THAT can be corrected. Running
configure. |
20:10.08 |
brlcad |
either that or you really don't have your X11
libs installed (which isn't likely) |
20:10.45 |
tyche |
Oh, BTW, what is "fink" (as in: checking for
fink in /sw... not found) |
20:12.06 |
tyche |
(I DO hope you're not getting writer's cramp
from writing down all the mistakes I'm making <G>) |
20:13.13 |
brlcad |
no no :) |
20:13.27 |
brlcad |
fink is an optional package mangement system
on mac os x |
20:13.40 |
brlcad |
if fink is found, configure automatically
searches there for libraries and header files too |
20:14.17 |
tyche |
Ah, then I can ignore that. This DEFINITELY
isn't a Mac. |
20:14.34 |
tyche |
Configure seems to be resolving MUCH faster
than it did before. |
20:14.39 |
brlcad |
shame ;) |
20:14.50 |
brlcad |
yeah, configure will used cached results where
it can |
20:15.11 |
tyche |
3 minutes instead of 16. That's some
savings. |
20:15.57 |
brlcad |
16 is incredible.. |
20:16.59 |
tyche |
That's what the last one was. BTW, "make"
just exited again with errors. One of them (the first I could
reach) was: Option.c:1619: undefined reference to
`XFree'./.libs/libtk.a(tkOption.o)(.text+0x1cb7):/usr/brlcad/src/other/libtk/generic/tk |
20:17.39 |
brlcad |
hrm, same problem |
20:17.46 |
tyche |
It obviously still doesn't like my library
files. |
20:18.02 |
brlcad |
so you have /usr/X11R6/lib/libX11* |
20:20.11 |
tyche |
I have a hunch that either Debian or Ubuntu
doesn't use the standard path. |
20:20.32 |
tyche |
What I have (pardon the formatting) is:
-rw-r--r-- 1 root root 1357972 2004-11-17 07:31
/usr/X11R6/lib/libX1 1.alrwxrwxrwx 1 root root 11
2005-03-12 12:47 /usr/X11R6/lib/libX1 1.so ->
libX11.so.6lrwxrwxrwx 1 root root 13 2005-02-20
16:34 /usr/X11R6/lib/libX1 1.so.6 -> libX11.so.6.2-rw-r--r--
1 root root 789104 2004-11-17 07:31 /usr/X11R6/lib/libX1
1.so.6.2 |
20:20.48 |
brlcad |
that's good |
20:21.08 |
tyche |
Two of those are simlinks |
20:21.26 |
brlcad |
try "make LDFLAGS="-L/usr/X11R6/lib -lX11"
CPPFLAGS="-I/usr/X11R6/include" |
20:25.23 |
tyche |
OK, that was better. BUT. . . make[5]:
Entering directory `/usr/brlcad/src/other/incrTcl/itcl/generic'
/bin/sh ../../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../../../../../include/bin/sh ../../../../../libtool
--mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../../../include
-I/usr/X11R6/includelibtool: compile: cannot determine name of
library object from `include' -I/usr/X11R6/include libtool:
compile: cannot determine n |
20:25.36 |
narnia |
brlcad, link for emc fest at nist.
http://www.linuxcnc.org/EMC_news_history/Programmers-Fest2005.html |
20:29.33 |
tyche |
* tyche wonders how narnia managed to pick the
lock on the manicals and escape from the dungeon. |
20:33.58 |
brlcad |
tyche: that's good -- make clean |
20:34.15 |
tyche |
Ah, I see (said the blind man). A blind
programmer, working in braille. Talk about a double
translation. |
20:34.16 |
brlcad |
then: ./configure LDFLAGS="-L/usr/X11R6/lib
-lX11" CPPFLAGS="-I/usr/X11R6/include" |
20:34.36 |
tyche |
OK, brlcad, make clean on it's way. |
20:35.01 |
narnia |
tyche, not blind, just have multiple physical
challenges that tom helps with. |
20:35.45 |
tyche |
You're fortunate. Mine are mental and don't
show. So people can't accept that I have any. |
20:36.49 |
tyche |
And now running ./configure (etc.) |
20:38.12 |
narnia |
my were caused by a large rack of electronic
equipment trying it's best to flatten my body like a
pancake. |
20:38.55 |
tyche |
If you can't stand the heat, stay out of the
NOC <BG> |
20:39.25 |
narnia |
brlcad, speaking of service animals, if by
chance i do make it out to maryland the end of april what are your
facilities rules on service animals? |
20:39.49 |
tyche |
Creating Makefiles |
20:40.27 |
tyche |
I'll take 2 |
20:40.59 |
tyche |
And now engaging "make" |
20:43.20 |
tyche |
Sorry, wrong number. Error Code 1, following:
gcc -pipe -fno-strict-aliasing -fno-common -fPIC -g -pipe
-fno-strict-aliasing -fno-common -fPIC -g -o .libs/pngtest
pngtest.o -L/usr/X11R6/lib -lX11 ./.libs/libpng.so -ldl -lm
-Wl,--rpath -Wl,/usr/brlcad/lib followed by a bunc of undefined
references starting with: ./.libs/libpng.so: undefined reference
to `deflate' |
20:46.51 |
tyche |
I just installed the libpng-dev files. I take
it I should "make clean" again, then ./configure and
make? |
20:48.12 |
brlcad |
ahh, close |
20:49.02 |
brlcad |
./configure LDFLAGS="-L/usr/X11R6/lib -lX11
-lpng -lz -lpthread" CPPFLAGS="-I/usr/X11R6/include" |
20:49.23 |
narnia |
close only counts in horseshoes, grenades, and
thermo-nuclear devices. |
20:50.02 |
tyche |
Accepted. Sorry, I didn't include all the
flags on my statement, but would have grabbed them from the
previous text. My bad. |
20:50.43 |
tyche |
Now configuring. |
20:51.15 |
tyche |
I AM glad that it can't find the fink
<BG> |
20:52.36 |
narnia |
tyche, fink is used with macos-x. |
20:52.55 |
tyche |
Oh, yes. That junoir version of BSD |
20:55.12 |
tyche |
And now engaging "make" |
20:58.58 |
tyche |
This is encouraging. It hasn't errored out
yet. |
20:59.09 |
brlcad |
ugh.. hopefully :) |
21:02.42 |
brlcad |
if this doesn't work, we should just install
the binary :) |
21:03.21 |
tyche |
I really need to learn programming. After
all, who but a hungry programmer would think to define "words" in
bytes, bits, and nibbles? |
21:03.43 |
brlcad |
I can have a binary built and posted by the
time it takes your configure to run using some of my better
resources ;) |
21:03.54 |
tyche |
brlcad: we may do that. But I have hope for
this one. |
21:04.56 |
tyche |
I have no doubt that you COULD. But,
considering that this is a 3 year old home-built system, I don't
think it's doing too bad. And think of all the things you're
teaching me. |
21:05.09 |
brlcad |
:) |
21:06.38 |
tyche |
Of course, I already knew how to swear. 4
years Air Force and about 20 years driving truck (bus and anything
else with wheels). (And for fun, you should try the SR101 around
Phoenix at 6:00 AM. Can you spell "dodge-um"?) |
21:11.53 |
tyche |
I have seen a bunch of warnings, but "make" is
still running. |
21:12.31 |
brlcad |
good news then :) |
21:13.18 |
tyche |
BTW, that "dodge-um" on the 101 was at 70 MPH.
Every weekday morning. In a Jeep Wrangler. |
21:13.59 |
tyche |
entering brlcad/src/libn |
21:15.37 |
brlcad |
should be smooth sailing at least until
src/burst |
21:16.06 |
tyche |
Yes, but I don't know how far down the list
that is. |
21:17.27 |
brlcad |
a ways.. |
21:27.33 |
tyche |
OK, it just errorred again: if_ogl.c:66:20:
GL/glx.h: No such file or directory |
21:28.31 |
tyche |
Looks like it's glitching on OpenGL or
Glade. |
21:28.31 |
brlcad |
there we go.. mesagl-dev headers :) |
21:28.37 |
brlcad |
yep, opengl |
21:29.50 |
tyche |
Mesagl-dev is not showing up in
Synaptic |
21:30.08 |
tyche |
I also tried variations on that, and no
luck |
21:33.24 |
brlcad |
xlibmesa-gl-dev |
21:34.30 |
tyche |
I didn't even think about mesa. Shame on
me. |
21:35.16 |
tyche |
xlibmesa-gl-dev installed. make clean and
"redo from start" |
21:35.26 |
brlcad |
just try make |
21:35.34 |
brlcad |
"should" keep going |
21:36.32 |
tyche |
Good point. I forgot that it'll test to see
what's done. |
21:38.35 |
tyche |
into usr/brlcad/src/optical |
21:41.11 |
brlcad |
excellent |
21:41.28 |
jano |
your butt is wide.. well mine is too |
21:41.30 |
brlcad |
i think you've hit just about every problem
possible |
21:41.32 |
jano |
just watch your mouth |
21:41.34 |
jano |
or I'll sit on you |
21:41.53 |
tyche |
I just saw a "make all", which leads me to
believe that we may be in the final stages. |
21:42.16 |
brlcad |
only problem you haven't hit yet is curses
library I think :) |
21:42.23 |
brlcad |
so there may be one more still :) |
21:42.45 |
brlcad |
I'll need to see if I can get access to a
fresh ubuntu box to make all of these checks automatic |
21:43.09 |
tyche |
The note was "make all in conv" followed by:
entering /usr/brlcad/src/conv |
21:43.24 |
brlcad |
yes, it'll say something similar to that in
every dir |
21:44.17 |
tyche |
I don't know if it would be worth it. There
should be a new version of Ubuntu out shortly. Currently it's
"Warty Warthog", and the next is "Hoary Hedgehog". |
21:44.32 |
brlcad |
by the way, conv is about directory #10 out of
about 40 |
21:44.42 |
tyche |
Hoary is currently in the final
stages. |
21:45.12 |
brlcad |
i generally run gentoo on my own hardware
given a choice |
21:45.34 |
brlcad |
RHEL and debian at work from time to
time |
21:45.54 |
brlcad |
bsd's tend to be my primary |
21:46.35 |
tyche |
I couldn't get Gentoo to work. BTW, glitched
again. Entering directory `/usr/brlcad/src/fbserv' followed by:
../../src/libfb/.libs/libfb.so: undefined reference to
`XextAddDisplay' and exit |
21:47.22 |
brlcad |
i more libs.. |
21:47.31 |
brlcad |
cd src/fbserv |
21:47.39 |
brlcad |
make LIBS="-lX11 -lXext" |
21:48.49 |
tyche |
OK, then back out and "make" again? |
21:50.29 |
tyche |
It still didn't like it. Same
result. |
21:51.21 |
tyche |
This time it was in
`/usr/brlcad/src/rt |
21:53.42 |
tyche |
I'm doing the same thing we did to src/fbserv,
then I'll try "make" again. |
21:57.23 |
tyche |
It appears to be running free, again. Still
checking. |
21:58.35 |
tyche |
Yup. It glitched on "burst". Once more with
the "quick fix" |
22:00.57 |
tyche |
OK, the "quick fix" didn't take. Now it's
arguing about: Sc.o(.text+0x65): In function
`ScLoadTP':/usr/brlcad/src/burst/Sc.c:123: undefined reference to
`tgetnum' |
22:01.14 |
tyche |
Among others. |
22:01.57 |
brlcad |
yep, that's the curses problem |
22:02.01 |
brlcad |
so congrats.. |
22:02.04 |
brlcad |
you hit them all |
22:02.21 |
brlcad |
i think this is a first :) |
22:02.24 |
tyche |
Somehow I don't feel properly grateful
:-) |
22:02.38 |
brlcad |
let's see |
22:02.42 |
brlcad |
do you have ncurses installed? |
22:03.12 |
tyche |
Yes, but not the development
packages. |
22:03.42 |
brlcad |
yes, ncurses-dev |
22:04.44 |
tyche |
libncurses-dev is the closest I could
get. |
22:05.13 |
brlcad |
that's it |
22:06.52 |
tyche |
It apparently doesn't like my "cursing" at it.
Still the same result in src/burst |
22:11.30 |
tyche |
It almost looks like src/burst didn't accept
the changes made to src/fbserv: make LIBS="-lX11 -lXext" |
22:11.49 |
brlcad |
make LIBS="-lncurses" |
22:13.20 |
tyche |
I get the same references to undefined terms
in ../../src/libfb/.libs/libfb.so |
22:14.03 |
brlcad |
hmm.. where are you? |
22:14.26 |
tyche |
PWD /usr/brlcad/src/burst |
22:14.53 |
brlcad |
ahh, lesse |
22:15.42 |
brlcad |
same unresolved symbols? |
22:17.20 |
tyche |
../../src/libfb/.libs/libfb.so: undefined
reference to `XextAddDisplay'../../src/libfb/.libs/libfb.so:
undefined reference to
`XextFindDisplay'../../src/libfb/.libs/libfb.so: undefined
reference to `XextCreateExtension'../../src/libfb/.libs/libfb.so:
undefined reference to
`XextRemoveDisplay'../../src/libfb/.libs/libfb.so: undefined
reference to `XMissingExtension' |
22:17.28 |
tyche |
Pardon the formatting |
22:17.50 |
brlcad |
ahh |
22:18.00 |
brlcad |
make LIBS="-lncurses -lX11 -lXext" |
22:18.50 |
tyche |
OK, that finished successfully |
22:19.34 |
tyche |
Back out to /usr/brlcad/src and
"make"? |
22:19.42 |
brlcad |
back out and |
22:19.47 |
brlcad |
same make as burst |
22:20.27 |
brlcad |
might still need the others too.. but you'll
find out easily enough |
22:21.36 |
tyche |
That apparently took care of burst.
Unfortunately, bwish just glitched. |
22:21.49 |
brlcad |
argh |
22:21.54 |
brlcad |
my apologies tyche |
22:22.24 |
brlcad |
i've only had the chance to test ubuntu once
before this .. otherwise you wouldn't be experiencing all these
problems |
22:23.24 |
tyche |
No problem. When I realized it wouldn't be a
quick fix (about 4 hours ago), I figured that anything I could show
you as happening would only help - - if you wanted my
help. |
22:23.58 |
tyche |
I'm not a programmer, but I'm a GREAT
stumbling block :-) |
22:24.44 |
tyche |
And one can't expect a developer to have ALL
the OS's |
22:25.21 |
brlcad |
only about 10, but not ubuntu :) |
22:25.51 |
brlcad |
how about we try the binary install just for
sake of getting it working? :) |
22:27.39 |
tyche |
Some of my experiences with Ubuntu have led me
to believe that I should unbundle the Fedora core iso and see if I
could force it to accept the NVidia generic drivers. Yes, if you
want to try the binaries, I'd be happy to try. I still have the
tgz file brlcad-7.0_ia32.tgz |
22:28.16 |
tyche |
I'll have to strip out the /usr/brlcad
directory, first, of course. |
22:28.31 |
brlcad |
strip out? |
22:29.13 |
tyche |
Remove all that we've been working on, and the
source code, so it doesn't confuse the binary
installation |
22:29.47 |
brlcad |
where have you been doing this
compile? |
22:29.57 |
brlcad |
in your home directory, yes? |
22:30.41 |
tyche |
If I did it in my home directory, I wouldn't
be able to reach it as a user. I've been operating as
root. |
22:30.55 |
tyche |
PWD /usr/brlcad |
22:31.12 |
brlcad |
heh, hmm |
22:31.25 |
brlcad |
that would probably have caused some
interesting side effects.. |
22:31.31 |
brlcad |
mv /usr/brlcad /usr/brlcad.backup |
22:31.47 |
tyche |
Yep, I heard that tone of voice. What do you
expect from a newbie. |
22:32.26 |
tyche |
Done |
22:33.14 |
brlcad |
where's the brlcad-7.0_ia32.tgz? |
22:33.34 |
tyche |
That IS in my home directory:
/home/craig |
22:33.55 |
brlcad |
cd /home/craig |
22:34.10 |
brlcad |
tar zxvf brlcad-7.0_ia32.tgz |
22:34.25 |
brlcad |
mv usr/brlcad* /usr/. |
22:34.47 |
brlcad |
ls -la /usr/brlcad* |
22:37.38 |
tyche |
Listing of /usr/brlcad7.0 is ia32 (a
directory) |
22:37.59 |
brlcad |
export
PATH=/usr/brlcad7.0/ia32/bin:$PATH |
22:38.08 |
brlcad |
unset BRLCAD_ROOT |
22:38.11 |
brlcad |
mged |
22:38.31 |
brlcad |
actually, mged -n test.g |
22:39.35 |
tyche |
And it asks if I want to create a new database
(I finally caught up with you) |
22:39.43 |
brlcad |
yes |
22:40.18 |
tyche |
"attach (nu|X|ogl)[nu]?" |
22:40.20 |
brlcad |
don't worry .. fast typing is a blessing and a
curse :) RSI sucks |
22:40.24 |
brlcad |
X |
22:40.42 |
brlcad |
should pop up a big black window |
22:41.26 |
tyche |
With 2 enclosed in yellow boxes, one saying
Viewing, and the other saying Button Menu |
22:41.46 |
brlcad |
yep, great |
22:41.50 |
tyche |
Looks like you did it. |
22:41.51 |
brlcad |
go ahead and quit |
22:41.59 |
brlcad |
one more test |
22:43.01 |
tyche |
OK, go ahead. |
22:43.05 |
brlcad |
mged test.g |
22:43.37 |
brlcad |
should get maybe some Xlib extension warnings
and two windows should pop up |
22:45.06 |
tyche |
NO Xlib extension warnings. Two windows:
MGED Graphics and MGED Command |
22:45.22 |
tyche |
This is looking VERY promising. |
22:46.42 |
brlcad |
excellent |
22:46.57 |
tyche |
You even have a good "Getting Started" help
file. This is great. Thanks. |
22:47.15 |
brlcad |
in the mged command window type "make sphere
sph" |
22:47.38 |
brlcad |
then "rt -F/dev/Xl" |
22:48.05 |
CIA-3 |
libIRC: 03jeffm2501 * 10libirc/ (5 files in 2
dirs): provide a quit handaler message |
22:49.11 |
tyche |
It ended with "Raytrace Complete" |
22:49.40 |
brlcad |
you have a window show up? |
22:50.10 |
brlcad |
with a sphere in it |
22:51.10 |
tyche |
No. But that may be my fault. It looked like
the last of that command was an X followed by a "pipe"
(|) |
22:51.26 |
brlcad |
ahh, you closed the window |
22:51.28 |
brlcad |
i think |
22:51.47 |
brlcad |
try the rt line again and wait for
it |
22:51.52 |
tyche |
What was following the X? |
22:53.23 |
tyche |
I saw the window form, and then dropped
out. |
22:54.33 |
brlcad |
a lowercase "ell" .. l |
22:54.46 |
brlcad |
rt -F/dev/Xl |
22:55.11 |
brlcad |
like linger (which is what the ell means
;) |
22:55.36 |
tyche |
We have Sphere! And a new window named Frame
Buffer |
22:55.45 |
brlcad |
alternatively, go to
File->Raytrace |
22:55.50 |
brlcad |
excellent |
22:56.37 |
tyche |
GREAT! |
22:56.58 |
brlcad |
in another terminal type: asc2g
/usr/brlcad.backup/db/havoc.asc /home/craig/havoc.g |
22:57.15 |
tyche |
That works better than POV-Ray. I wish there
were something like this for Windows a few years ago. |
22:58.06 |
brlcad |
it's only very recently that pov-ray has had
features that brl-cad has had since the late 80's |
22:58.25 |
brlcad |
pov-ray still does very good on global
illumination models, though |
22:58.45 |
brlcad |
it's nowhere near as optimized as brl-cad is
for huge models, though |
22:58.48 |
brlcad |
or csg |
22:58.52 |
tyche |
I know. BTW, my system doesn't recognize
asc2g |
22:59.06 |
brlcad |
it's that PATH line |
22:59.12 |
brlcad |
you use bash? |
22:59.42 |
brlcad |
edit your ~/.bash_profile and add "export
PATH=/usr/brlcad7.0/ia32/bin:$PATH" |
23:01.15 |
brlcad |
then you'll be able to run asc2g and company
in new terminal windows |
23:05.42 |
tyche |
BRL-CAD blows AutoCAD rendering out of the
water. bash still doesn't recognize asc2g |
23:06.51 |
brlcad |
the path will only go into effect on new
windows |
23:07.05 |
brlcad |
unless you type ". ~/.bash_profile" |
23:07.17 |
brlcad |
to reload the profile |
23:10.32 |
brlcad |
asc2g is one of the file converters.. there's
a model of a havoc helicopter in the source distribution that
should be nice to see |
23:22.15 |
tyche |
OK, I finally got the file converted. And I
also checked out that I could open mged from a user terminal
(rather than root). The file is loaded, how do I get it into the
graphic window? |
23:26.22 |
brlcad |
mged ~/havoc.g |
23:27.35 |
brlcad |
then run Tools->GeometryBrowser |
23:27.44 |
brlcad |
and double-click the name of the
havoc |
23:27.52 |
brlcad |
(once) |
23:30.34 |
tyche |
This must be a large database. The scrollbar
is taking forever to respond. |
23:31.27 |
brlcad |
it's "small" as var as brl-cad database for a
real model (like a tank) get, but it's got some detail to
it |
23:32.04 |
tyche |
That's rather obvious, seeing how far down I
had to go to get to the name |
23:32.24 |
brlcad |
hmm? |
23:32.37 |
brlcad |
shouldn't have had to "go down" .. |
23:32.50 |
brlcad |
you're in the geometry browser or something
else? |
23:33.21 |
tyche |
There are a lot of objects listed in the
Geometry Browser. Near the end is the havoc folder. |
23:34.52 |
brlcad |
okay |
23:35.14 |
brlcad |
that's suspicious but okay |
23:35.24 |
brlcad |
does the havoc show if you select
it? |
23:36.09 |
tyche |
THis is not that fast a system (I'd love to
have had one of those SGI computers), but it eventually gets there.
The havoc wireframe is in the graphics window. |
23:36.54 |
tyche |
raytrace may take a while. |
23:36.59 |
brlcad |
unless you're dishing out for one of sgi's
supercomputers, they're not the best graphics boxes out
there |
23:37.42 |
brlcad |
the dual g5 macs are pretty much the best
price-performance-point right now |
23:37.42 |
tyche |
For my purposes, this little old 750MHz P3 is
good enough. |
23:38.49 |
brlcad |
brl-cad will run on just about anything only
limited by the model complexity |
23:39.03 |
brlcad |
that havoc is probably the most detailed
you'll see outside of military uses |
23:39.42 |
brlcad |
though one of our modelers did create a
complete inside-out model of a walkie talkie that is really
impressive |
23:39.47 |
brlcad |
very detailed |
23:40.31 |
brlcad |
using the photorealistic global illumination
renderer, it looks very much like the real thing |
23:41.00 |
tyche |
Now I'm getting excited. There's this
"Warthog" I wouldn't mind modeling :-) |
23:41.41 |
brlcad |
I'd suggest going through volumes II and III
of the tutorials -- that covers most of the basics of
modeling |
23:43.44 |
tyche |
I definitely will. As well as the help files.
I'm a great one for believing in reading the manuals. When I ran
a SUN Spark Workstation, I read all 5 feet of the manuals
:-) |
23:44.05 |
brlcad |
egads :) |
23:44.28 |
brlcad |
well, brl-cad's got about that much
documentation, so try to pace yourself? :) |
23:44.45 |
brlcad |
400 tools .. you've seen 2 ;) |
23:44.59 |
tyche |
I will have to remember some of the tricks you
taught me, today. Especially the PATH tricks. BTW, It took about
2 weeks on the job to read them all. |
23:45.16 |
brlcad |
the PATH should be a 1-time thing if you put
it into your ~/.bash_profile |
23:45.33 |
brlcad |
that's a shell thing, not a brl-cad thing (man
bash, for example) |
23:46.19 |
tyche |
When I got done, I was able to do what the
college trained UNIX Administrator the company hired couldn't
figure out how to do. I even forced them to respect that I needed
su to be able to do backups on the drawing files. |
23:47.01 |
brlcad |
the documentation on the website is the most
accurate and well written |
23:47.05 |
tyche |
I was nasty, and removed the password for root
when they wouldn't give it to me. And they hadn't supplied a
script that would do tape backups. |
23:47.17 |
brlcad |
hehe |
23:47.26 |
tyche |
I've already downloaded the pdf's from the
website. |
23:47.44 |
tyche |
Now, I've got some reading to do besides
Science Fiction |
23:48.08 |
tyche |
Thanks again for your help. |
23:49.06 |
brlcad |
and off into the sunset he rode |