01:06.34 |
CIA-5 |
BRL-CAD: 03johnranderson *
10brlcad/src/libbn/vectfont.c: |
01:06.34 |
CIA-5 |
BRL-CAD: Added new symbols: plus/minus,
degree, and centerline. |
01:06.34 |
CIA-5 |
BRL-CAD: Corrected tp_setup() method (it was
over-writing the symbols) |
01:11.33 |
pra5ad |
whoa |
01:14.06 |
CIA-5 |
BRL-CAD: 03johnranderson *
10brlcad/src/librt/nmg_misc.c: |
01:14.06 |
CIA-5 |
BRL-CAD: Added a new method: nmg_vlist_to_eu(
struct bu_list *vlist, struct shell *s ) |
01:14.06 |
CIA-5 |
BRL-CAD: creates wire edges in the specified
shell. The edges correspond to line segments in the |
01:14.06 |
CIA-5 |
BRL-CAD: list of "bn_vlist" structures passed
in. Used in "dxf-g" to handle tet strings. |
01:15.53 |
pra5ad |
hey sean |
01:16.13 |
pra5ad |
configure isn't setting some vars in config.h
correctly |
01:16.25 |
brlcad |
such as? |
01:16.26 |
pra5ad |
do i need something extra in .ac |
01:16.31 |
pra5ad |
PACKAGE and VERSION |
01:16.35 |
pra5ad |
even tho AC_INIT has em |
01:17.40 |
brlcad |
huh? |
01:17.59 |
brlcad |
#define PACKAGE "brlcad" |
01:18.23 |
brlcad |
#define VERSION "7.6.1" |
01:18.26 |
CIA-5 |
BRL-CAD: 03johnranderson *
10brlcad/src/conv/dxf-g.c: |
01:18.26 |
CIA-5 |
BRL-CAD: Added rudimentary text handling. Uses
vector font in libbn (vectfont.c) and |
01:18.26 |
CIA-5 |
BRL-CAD: nmg_vlist_to_eu() to create wire
edges to represent the text. |
01:18.33 |
pra5ad |
AC_INIT(blah, 1.0) <<--
configure.ac |
01:18.49 |
pra5ad |
#define PACKAGE "Package" <<-
config.h |
01:18.59 |
pra5ad |
shouldn't configure fill it in
correctly? |
01:19.07 |
pra5ad |
since it's creating config.h from
config.h.in |
01:19.33 |
brlcad |
AC_INIT doesn't create config.h |
01:20.07 |
pra5ad |
soo i need to AC_SUBST(PACKAGE) ? |
01:20.36 |
brlcad |
no |
01:20.38 |
brlcad |
AM_CONFIG_HEADER |
01:21.03 |
pra5ad |
config.status: creating
src/memory/Makefile |
01:21.03 |
pra5ad |
config.status: creating
include/config/config.h |
01:21.03 |
pra5ad |
config.status: include/config/config.h is
unchanged |
01:21.03 |
pra5ad |
config.status: executing depfiles
commands |
01:21.28 |
pra5ad |
i have AC_CONFIG_HEADER |
01:21.42 |
pra5ad |
docs said AM_CONFIG_HEADER is
obsolete |
01:22.54 |
brlcad |
meh, those idiots make just about everything
obsolete every other version |
01:23.19 |
brlcad |
ac_config_header([config.h]), yes? |
01:23.31 |
pra5ad |
upper case, yes |
01:23.52 |
pra5ad |
i run autoheader and ./configure |
01:24.00 |
pra5ad |
config.h doesnt have the right subst |
01:24.01 |
brlcad |
er, include/config.h |
01:24.09 |
pra5ad |
er, yes |
01:24.11 |
pra5ad |
:) |
01:24.30 |
pra5ad |
AC_CONFIG_HEADER([include/config/config.h]) |
01:24.52 |
brlcad |
kill your autom4te cache and run autoreconf
(or snarf autogen.sh) |
01:25.54 |
pra5ad |
#define PACKAGE "package" |
01:26.32 |
brlcad |
try the long version of ac_init |
01:27.01 |
brlcad |
ac_init(long, version, url,
shortname) |
01:31.11 |
pra5ad |
hehe think i found the prob |
01:31.30 |
pra5ad |
was doing ac_init([var],...) |
01:33.39 |
pra5ad |
hrm nm |
01:33.51 |
pra5ad |
thought it was just subst with 'var' |
01:35.44 |
pra5ad |
grr |
01:36.19 |
pra5ad |
./* Name of package */ |
01:36.19 |
pra5ad |
#define PACKAGE "PACKAGE_SHORT_NAME" |
01:36.39 |
pra5ad |
AC_INIT(PACKAGE_LONG_NAME,VERSION,PACKAGE_URL,PACKAGE_SHORT_NAME) |
01:37.56 |
brlcad |
yep |
01:38.12 |
pra5ad |
what am i doing wrong |
01:38.40 |
brlcad |
i'm not sure what you think you're doing
wrong |
01:39.00 |
pra5ad |
i define PACKAGE_SHORT_NAME="blah
blah" |
01:39.08 |
brlcad |
package is the short name |
01:39.11 |
Twingy |
use scons :) |
01:39.35 |
brlcad |
package_name is the long name |
01:39.47 |
pra5ad |
shouldnt that line in config.h be: #define
PACKAGE "blah blah" |
01:39.48 |
pra5ad |
??? |
01:40.03 |
brlcad |
short_name shouldn't ahve spaces |
01:40.18 |
brlcad |
i dont' think eitehr is supposed to have
spaces |
01:41.20 |
pra5ad |
i thought PACKAGE would be #defined to be a
string, so code can use it in cout, etc |
01:41.38 |
brlcad |
it is a string |
01:41.51 |
pra5ad |
right.. |
01:41.58 |
pra5ad |
so why isnt configure subst it
correctly |
01:41.59 |
brlcad |
that doesn't mean it can have spaces .. that's
up to autoconf |
01:42.10 |
pra5ad |
ok fine, look at this |
01:42.38 |
pra5ad |
PACKAGE_SHORT_NAME="yats" |
01:42.42 |
pra5ad |
that's what is in my code |
01:42.56 |
pra5ad |
"blah blah" was my example.. |
01:43.18 |
brlcad |
pra5ad: what's your exact AC_INIT
line? |
01:43.30 |
pra5ad |
AC_INIT(PACKAGE_LONG_NAME,VERSION,PACKAGE_URL,PACKAGE_SHORT_NAME) |
01:43.37 |
brlcad |
heh, that's no good |
01:43.46 |
brlcad |
put the values |
01:43.55 |
pra5ad |
why not? |
01:44.01 |
brlcad |
even if you were trying to use variables,
that's wrong |
01:44.09 |
pra5ad |
how would i use a var |
01:44.29 |
brlcad |
well, for AC_INIT in particular, you can't use
shell variables |
01:44.37 |
brlcad |
you'd have to use an m4 variable |
01:44.42 |
brlcad |
s/variable/define/ |
01:45.17 |
pra5ad |
argh |
01:45.17 |
pra5ad |
ok |
01:45.25 |
brlcad |
but if it was allowed, it'd be something like
AC_INIT([$PACKAGE_LONG_NAME], ... |
01:47.32 |
brlcad |
but it's not, so don't bother ;) |
01:48.10 |
brlcad |
ac_init must occur before variables, otherwise
they're not technically set when AC_INIT is processed |
01:48.26 |
pra5ad |
righto |
01:48.28 |
pra5ad |
works now |
01:48.31 |
brlcad |
m4 macros aren't like c preprocessor
macros |
01:48.33 |
pra5ad |
tanx |
01:48.36 |
brlcad |
it's not substitution |
01:51.10 |
pra5ad |
anyone know of a good SDL
replacement? |
01:51.33 |
brlcad |
what aspect of sdl? |
01:51.46 |
brlcad |
graphics/windowing? |
01:52.18 |
pra5ad |
+ kb/mouse at least |
01:52.30 |
pra5ad |
+ opengl support |
01:52.41 |
pra5ad |
*(support for opengl contexts) |
01:52.51 |
brlcad |
clanlib is similarly geared in that
regard |
01:52.58 |
brlcad |
probably the only other full-fledged
api |
01:55.15 |
brlcad |
otherwise you start gearing towards a
platform |
01:55.55 |
brlcad |
like gtk, cocoa, and qt |
01:56.10 |
brlcad |
kdelibs |
01:56.24 |
pra5ad |
hrm |
01:56.25 |
brlcad |
openstep |
01:56.49 |
pra5ad |
sdl mac port is unsupported |
01:56.56 |
pra5ad |
sorted concerned |
01:56.59 |
pra5ad |
sorta* |
01:57.04 |
brlcad |
it works fine |
01:57.09 |
pra5ad |
yea? |
01:57.17 |
pra5ad |
alrighty then |
01:58.01 |
brlcad |
replaced bz's custom cocoa+carbon platform
code with sdl platform code relatively easily |
01:58.26 |
pra5ad |
im | | close to getting this project compiled
in cygwin, but cygwin's gcc isn't linking to the sdl libs
correctly |
01:58.54 |
Twingy |
fozhizzle |
01:58.55 |
pra5ad |
msg boards say gcc-mingw will work |
01:58.56 |
brlcad |
very slight performance hit (< 2% probably)
.. but well worth it in the extra features it provided for free
(like full-screen/window toggles, resizing, events) |
01:58.59 |
pra5ad |
too lazy to try yet |
01:59.50 |
pra5ad |
toggle only works on x11 no? |
02:00.04 |
pra5ad |
so says sdl header |
02:01.40 |
brlcad |
no, never would use that on x11 unless I had
to |
02:23.36 |
pra5ad |
dammit |
02:23.56 |
pra5ad |
where's tegtmeyer |
02:24.03 |
pra5ad |
need his vast template expertise |
05:04.44 |
Maloeran |
SDL's fullscreen toggle couldn't work on
windows for ogl, it requires destroying and recreating the context
due to some limitations |
05:05.23 |
Maloeran |
There wouldn't be a problem for mere 2d
rendering, but that's probably why it's only for x11 in any
case |
06:37.17 |
*** join/#brlcad PKMOBILE
(n=Apathy@pcp0011645240pcs.aberdn01.md.comcast.net) |
13:46.21 |
brlcad |
Maloeran, we use SDL's fullscreen toggle on
ogl windows in bz just fine (on all platforms, x11 or otherwise).
it does require an ogl state reinit inside your code, but that's
generally not a problem since you have to do that anyways at least
once. |
14:25.57 |
*** join/#brlcad d_rossberg
(n=c28bf505@bz.bzflag.bz) |
14:28.17 |
CIA-5 |
BRL-CAD: 03d_rossberg *
10brlcad/src/libbn/bn_tcl.c: initialize scale structure |
14:30.44 |
CIA-5 |
BRL-CAD: 03d_rossberg *
10brlcad/TODO: |
14:30.44 |
CIA-5 |
BRL-CAD: new section: oddities |
14:30.44 |
CIA-5 |
BRL-CAD: why is there a scale in
bn_cmd_noise_slice? |
16:45.00 |
*** join/#brlcad DTRemenak
(n=DTRemena@DHCP-170-143.caltech.edu) |
17:25.16 |
*** join/#brlcad Obscene_CNN
(n=DiscoBan@66.15.214.167) |
20:44.02 |
*** join/#brlcad ibot
(i=ibot@pdpc/supporter/active/TimRiker/bot/apt) |
20:44.02 |
*** topic/#brlcad is http://brlcad.org/ || BRL-CAD is now Open
Source! || Release 7.6.0 is now being prepared |
20:44.14 |
BigIslandVegan |
i typed ``Erik's command and it came back with
the command prompt, I assume that is a good thing |
20:44.18 |
brlcad |
no X11 running and it's not an "app" in to
Finder without going through some hoops (like shoving the binary
into a .app or making a .script that execs x11 and mged) |
20:44.35 |
``Erik |
BigIslandVegan: yes, you can do "cat
~/.bashrc" to see if it worked, it should give you the export line
back |
20:44.36 |
brlcad |
BigIslandVegan: yes, now close the window and
open a new xterm |
20:45.01 |
brlcad |
type "rt" to see if it worked |
20:45.13 |
brlcad |
you should get a usage block of info about
rt |
20:45.25 |
BigIslandVegan |
do i need to quit x11 and mged entirely or
just close this particular x11 window and open a new one? |
20:45.38 |
``Erik |
just the xterm window |
20:45.39 |
brlcad |
just the xterm window |
20:45.42 |
brlcad |
damn |
20:45.43 |
BigIslandVegan |
ok |
20:45.49 |
``Erik |
and you don't really need to close it, you
could 'source' the file instead |
20:46.03 |
BigIslandVegan |
new x11 terminal window |
20:46.29 |
BigIslandVegan |
rt gave me brl-cad info and switch
options |
20:46.42 |
``Erik |
sweet, it works, now you can run
"mged" |
20:46.49 |
BigIslandVegan |
hmm |
20:46.54 |
BigIslandVegan |
what is "rt"? |
20:46.58 |
``Erik |
raytracer |
20:47.00 |
BigIslandVegan |
raytrace something? |
20:47.02 |
BigIslandVegan |
ok |
20:47.06 |
brlcad |
makes pretty pictures |
20:47.16 |
``Erik |
mine makes ugly pictures :( |
20:47.18 |
BigIslandVegan |
YAY! |
20:47.27 |
brlcad |
there are over 400 commands like that in
BRL-CAD .. |
20:47.29 |
BigIslandVegan |
too soon |
20:47.32 |
BigIslandVegan |
:-) |
20:47.43 |
BigIslandVegan |
hmm, brl-cad is heavy on command
line? |
20:47.49 |
brlcad |
though much that you'll initially care about
is available through mged |
20:48.20 |
brlcad |
there's an expectation of minimal command line
familiarity if you get into advanced modeling |
20:48.28 |
BigIslandVegan |
ok |
20:48.29 |
brlcad |
otherwise, you can model and render using
mged |
20:48.46 |
BigIslandVegan |
hopefully |
20:48.49 |
Twingy |
all I know how to make is sphere's |
20:48.52 |
brlcad |
BigIslandVegan: suggest going through the mged
tutorial series (available on the website) if you haven't started
yet |
20:48.55 |
BigIslandVegan |
I will explore it a big |
20:48.59 |
Twingy |
I think dwayne is the arb8
specialist |
20:49.15 |
BigIslandVegan |
that is the pdf file on mged that i mentioned
earlier, right? |
20:49.35 |
brlcad |
BigIslandVegan: in the mged command window
type: opendb /usr/brlcad/share/brlcad/7.6.0/db/havoc.g |
20:49.41 |
brlcad |
e havoc |
20:49.46 |
brlcad |
rt -F/dev/Xl |
20:49.57 |
*** join/#brlcad Linux_User
(n=c8140b7a@bz.bzflag.bz) |
20:50.00 |
brlcad |
BigIslandVegan: yes |
20:50.33 |
Linux_User |
hi |
20:51.02 |
Linux_User |
i canr intall the brlcad in my linux i cant
find the scripit for instalation |
20:51.23 |
Linux_User |
*i cant install the brlcad in my linux i cant
find the scripit for instalation- sorry for bad english |
20:51.31 |
Linux_User |
someone can helpe me? |
20:52.00 |
BigIslandVegan |
brlcad: I typed the firt line ending in
havoc.g and got "Error invalid command name..." |
20:52.07 |
BigIslandVegan |
firt - first |
20:52.31 |
``Erik |
BigIslandVegan: the big grey window that
popped up when you ran mged, not the xterm |
20:52.38 |
BigIslandVegan |
yes, that's what i used |
20:53.05 |
BigIslandVegan |
the MGED 7.6.0 Command Window (id-0),
etc |
20:53.24 |
brlcad |
Linux_User: which download are you trying to
install? binary or source? |
20:53.47 |
brlcad |
BigIslandVegan: that command goes into mged,
not into xterm |
20:53.52 |
Linux_User |
source of source page |
20:53.55 |
Linux_User |
ops source forge i download from
here |
20:53.58 |
brlcad |
Linux_User: and you compiled? |
20:54.09 |
BigIslandVegan |
yes, i typed that command into the MGED
command window, grey one |
20:54.21 |
brlcad |
"opendb" |
20:54.33 |
*** join/#brlcad MikeC1
(n=mcaruso@pool-138-88-91-62.res.east.verizon.net) |
20:54.47 |
BigIslandVegan |
opendb by itself |
20:54.47 |
MikeC1 |
Hi |
20:54.51 |
MikeC1 |
Twingy you there? |
20:54.52 |
brlcad |
howdy bub |
20:54.59 |
brlcad |
BigIslandVegan: sure |
20:55.09 |
brlcad |
BigIslandVegan: either by itself of with the
path after it |
20:55.09 |
Twingy |
sorta |
20:55.15 |
MikeC1 |
brlcad: Im trying to compile adrt |
20:55.34 |
brlcad |
Twingy: "W" was looking for you but said
she'll talk to you Tuesday |
20:55.53 |
Twingy |
okie |
20:55.55 |
Linux_User |
brlcad: copiled i extracted and i didint find
the script how i copile? |
20:55.59 |
MikeC1 |
brlcad: and i am running autocnf to generate
the necessary conf files but it says there is a missing required
file config.guess and config.sub |
20:56.16 |
MikeC1 |
brlcad: actually automake |
20:56.30 |
BigIslandVegan |
READ ONLY BRL_GSI Paris Air Show Soviet HAVOC
Helicopter, etc |
20:56.32 |
brlcad |
Linux_User: run ./autogen.sh for starters then
./configure |
20:56.40 |
brlcad |
BigIslandVegan: that's good |
20:56.55 |
BigIslandVegan |
what did that command do? |
20:56.55 |
brlcad |
BigIslandVegan: now 'e havoc' |
20:57.10 |
brlcad |
BigIslandVegan: you just opened a sample
geometry database that was part of the install |
20:57.16 |
BigIslandVegan |
done |
20:57.38 |
brlcad |
'e havoc' means edit the havoc object, which
happens to be something mildly interesting |
20:58.13 |
brlcad |
MikeC1: run autogen.sh instead of the steps
manually |
20:58.48 |
MikeC1 |
brlcad: ok so cd src/adrt; ../autogen.sh;
? |
20:58.55 |
BigIslandVegan |
I see a wireframe helicopter |
20:59.03 |
BigIslandVegan |
greem amd greu |
20:59.13 |
BigIslandVegan |
green |
20:59.19 |
brlcad |
MikeC1: no, at the top-level |
20:59.27 |
MikeC1 |
brlcad: I did that already |
20:59.29 |
brlcad |
BigIslandVegan: that's a start |
20:59.37 |
brlcad |
MikeC1: and it succeeded or failed? |
20:59.46 |
MikeC1 |
succeeded and I did a make after
that |
20:59.54 |
brlcad |
BigIslandVegan: File->Raytrace |
20:59.55 |
MikeC1 |
and after installation I did not see the adrt
binary |
21:00.04 |
brlcad |
MikeC1: after autogen.sh you have to run
configure |
21:00.12 |
MikeC1 |
brlcad: Yes I did that too |
21:00.16 |
Linux_User |
brlcad: where is the floder where i musth do
this? |
21:00.26 |
MikeC1 |
brlcad: sh autogen.sh; ./configure; make; make
install; |
21:00.27 |
BigIslandVegan |
i see the raytrace control panel |
21:00.31 |
brlcad |
MikeC1: did the configure summary say adrt was
enabled? |
21:00.37 |
MikeC1 |
brlcad: yes |
21:00.51 |
brlcad |
MikeC1: then you cd'd to src/adrt |
21:00.57 |
brlcad |
? |
21:01.07 |
brlcad |
BigIslandVegan: hit the raytrace button
;) |
21:01.17 |
MikeC1 |
brlcad: well before I ran autogen.sh I cd'd
into adrt and I thought I could build adrt by itself |
21:01.28 |
MikeC1 |
brlcad: I tried running autoconf, automake etc
and faield |
21:01.37 |
MikeC1 |
brlcad: then i went to the top level and found
autogen.sh |
21:01.45 |
MikeC1 |
brlcad: I ran that and it did say adrt was
enabled |
21:02.02 |
MikeC1 |
brlcad: did a configure and make and make
isntall and looked in the installation directory |
21:02.07 |
MikeC1 |
brlcad: and did not find the adrt
birnary |
21:02.09 |
brlcad |
BigIslandVegan: to hide the wireframe, you can
select Framebuffer -> Underlay/Overlay to hide/unhide |
21:02.25 |
MikeC1 |
brlcad: the adrt libraries are not in the
installation lib directory either |
21:02.40 |
brlcad |
MikeC1: there is no 'adrt' binary.. it's a
collection of binaries like 'isst_observer' |
21:02.52 |
BigIslandVegan |
I see, hmm |
21:02.58 |
BigIslandVegan |
neato |
21:03.17 |
MikeC1 |
brlcad: i dont see an isst_observer in the bin
installation directory |
21:03.24 |
brlcad |
BigIslandVegan: not incredibly purdy, but
slightly more interesting than most of the other "freebies" that
get installed |
21:03.44 |
brlcad |
MikeC1: cd to src/adrt and make .. what does
it say/do? |
21:04.18 |
``Erik |
I d'no, sphereflake is kinda nifty... m35 is
ok... moss world is a pretty normal looking 'first raytrace
demo' |
21:04.50 |
MikeC1 |
brlcad: it is going through configure right
now |
21:04.52 |
brlcad |
dunno why |
21:05.06 |
brlcad |
MikeC1: okay, that means you did something out
of order ;) |
21:05.17 |
MikeC1 |
brlcad: ok Im going to start over |
21:05.25 |
brlcad |
it should be fine to let it finish |
21:05.42 |
BigIslandVegan |
what i would like to do is digitally represent
a housing project I have in my mind, using ~30' diameter steel
reinforced concrete domes arranged in close proximity, surrounded
by a retaining wall, the domes would be covered with soil, each
dome would have a cupola sticking above the soil. You think brl-cad
would be good or should I try to learn blender instead? I'm new to
both |
21:06.29 |
brlcad |
BigIslandVegan: it depends on what your intent
of the modeling is -- if it's just to make some pictures, blender
will probably be better |
21:06.57 |
brlcad |
if it's to perform any sort of analysis,
compute values/weights, etc, brl-cad should be better |
21:06.59 |
BigIslandVegan |
raytrace complete |
21:07.06 |
brlcad |
both are going to have a steep learning
curve |
21:07.18 |
Linux_User |
brlcad i cant find the autogen please reply me
where is it? |
21:07.19 |
BigIslandVegan |
i figured that last part to be true |
21:07.37 |
brlcad |
Linux_User: autogen.sh .. it's at the top
level ./autogen.sh |
21:08.11 |
MikeC1 |
brlcad: also I got the source from
CVS |
21:08.15 |
Linux_User |
brl cad in usr ? |
21:08.31 |
Linux_User |
where is the past of it? |
21:08.33 |
brlcad |
Linux_User: you said you downloaded source not
binary, right? |
21:08.39 |
brlcad |
Linux_User: hablas español? |
21:08.57 |
Linux_User |
i downlloaded the file of source forge
.net |
21:09.02 |
Linux_User |
si |
21:09.06 |
brlcad |
Linux_User: brl-cad installs into /usr/brlcad
by default, you'd have to add /usr/brlcad/bin to your
path |
21:09.33 |
Linux_User |
how i didi it? |
21:09.37 |
Linux_User |
como eu faco isso?: |
21:09.56 |
brlcad |
Linux_User: si prefieres, escribame en español
y te contesto en ingles o español |
21:10.34 |
BigIslandVegan |
oh wow, multilingual even :-o |
21:11.07 |
BigIslandVegan |
Thanks``Erik and brlcad, very much! |
21:11.21 |
brlcad |
BigIslandVegan: you're quite welcome, happy
modeling |
21:11.28 |
BigIslandVegan |
;_) |
21:11.51 |
brlcad |
Linux_User: ls -lad /usr/brlcad tienes algo
alli? |
21:12.11 |
MikeC1 |
brlcad: is there a repository of .g files
somwhere other than the ones that come from share/db? |
21:13.03 |
Linux_User |
brlcad: oly pastes the bin include man and
share |
21:13.04 |
brlcad |
MikeC1: there are many repositories, though
most are restricted distribution or only available to certain
groups for a fee or not available without a
clearance..etc |
21:13.20 |
Linux_User |
and lib too |
21:13.38 |
brlcad |
Linux_User: so it sounds like it's installed..
which is good |
21:13.56 |
brlcad |
Linux_User: run "export
PATH=/usr/brlcad/bin:$PATH" si usas bash/sh |
21:14.11 |
brlcad |
and then "mged" |
21:16.32 |
pra5ad |
``Erik, if i go with DEBUG(asd << asd
<< asd); ... can i do multiline <<
operations? |
21:16.34 |
brlcad |
MikeC1: I've been trying to get the air force
to release a couple tank models to me for inclusion, that will be
very nice if/when it happens |
21:16.50 |
``Erik |
yes |
21:16.52 |
MikeC1 |
brlcad: that would be cool |
21:16.52 |
brlcad |
heh |
21:17.08 |
``Erik |
gcc -E will show you what it does |
21:17.26 |
MikeC1 |
brlcad: it seems isst_observer or any other
supporting adrt things are not part of the 7.6.0 linux binary
distribution? |
21:17.34 |
brlcad |
very cool, one in particular is the T72,
beautiful and externally detailed model |
21:18.01 |
brlcad |
MikeC1: that is correct, not included by
default in the binary distributions |
21:18.21 |
MikeC1 |
brlcad: understoof |
21:18.24 |
MikeC1 |
brlcad: understood* |
21:18.36 |
Linux_User |
brlcad: eu escrvi e dei enter mas nada se
passou |
21:18.43 |
brlcad |
adrt makes use of a couple external resources
that aren't included/includable, so adrt ends up getting disabled
during configure |
21:18.54 |
pra5ad |
DEBUG(asd << |
21:18.56 |
pra5ad |
asd); |
21:19.00 |
pra5ad |
should work fine? |
21:19.06 |
Linux_User |
era apra ter usado o comado onde? |
21:19.10 |
``Erik |
yes, prasad... |
21:19.13 |
brlcad |
Linux_User: cuando escribes el export o
mged? |
21:19.20 |
pra5ad |
hrm |
21:20.34 |
brlcad |
Linux_User: solo escribe el export una vez..
despuez escribe mged |
21:22.29 |
brlcad |
Linux_User: type "/usr/brlcad/bin/rt" .. what
does it say? command not found? or a usage message about
BRL-CAD? |
21:24.07 |
AchiestDragon |
what about user submitted .g files for
inclusion as examples , shurely there must be someone with
some |
21:24.35 |
brlcad |
AchiestDragon: I'd happily include new ones
if/when people provide them |
21:24.35 |
MikeC1 |
brlcad: I deleted my brlcad build and
installation directories, checked out code from CVS, ran sh
autogen.sh, ran ./configure and it says adrt is enabled, is there
anything I can look for in the src/adrt directory to verify that
adrt will be built? |
21:24.49 |
``Erik |
pra5ad: http://smluc.org/~erik/nuts.cc
(for shits and giggles, hit it with g++ -E nuts.cc | tail -n
20) |
21:25.36 |
Linux_User |
brlcad: i dont find rt |
21:26.08 |
Linux_User |
no such a file or directori |
21:26.41 |
brlcad |
MikeC1: just compilation success, no errors --
run make and then ls -la
src/adrt/isst/observer/isst_observer |
21:26.51 |
MikeC1 |
ok |
21:27.20 |
MikeC1 |
im building the debug version of
brlcad |
21:27.39 |
brlcad |
Linux_User: hmmm .. that means you didn't
install fully or correctly |
21:28.03 |
brlcad |
Linux_User: you downloaded the source or
binary distribution? |
21:28.28 |
brlcad |
MikeC1: that should be fine, just to make sure
everything works |
21:29.58 |
Linux_User |
i will downladed the compressed file of
souceforge.net version 7.6.0 |
21:30.16 |
Linux_User |
i dont know if this is binary or
source |
21:30.33 |
brlcad |
what's the name of what you
downloaded? |
21:30.49 |
brlcad |
the file |
21:32.42 |
AchiestDragon |
well into day 4 or 5 of the render of m35.g
here , lost count , still no percentage indication shown |
21:33.03 |
MikeC1 |
Achiest are you rendering an
animation? |
21:33.24 |
Linux_User |
<PROTECTED> |
21:34.44 |
AchiestDragon |
no single frame , photonmap , with lots of
photons 4194304 |
21:35.18 |
brlcad |
Linux_User: that's a binary
distribution |
21:35.37 |
Linux_User |
ok and now waht i do? |
21:35.59 |
brlcad |
Linux_User: you unzipped and
untarred? |
21:39.12 |
AchiestDragon |
and cpu still trickleing at 25% usage
, |
21:39.48 |
Linux_User |
unziped yes untarred... waht is
untarred? |
21:40.28 |
brlcad |
bunzip2
brlcad-7.6.0_linux_ia32.tar.bz2 |
21:40.34 |
brlcad |
tar xvf brlcad-7.6.0_linux_ia32.tar |
21:40.49 |
brlcad |
sudo cp -R usr/brlcad /usr/. |
21:41.09 |
AchiestDragon |
question does the raytracer have a throttle
back function that would allow me to set the max percentage total
cou usage, would be usefull on some machines where the cooling is
not up to 100% cpu for more than a hr or so |
21:41.36 |
brlcad |
AchiestDragon: with that many photons, I doubt
it will finish for weeks .. not worth it |
21:42.10 |
brlcad |
AchiestDragon: by default, rt renices itself
so that it doesn't take over the system's performance |
21:42.38 |
Linux_User |
yes it is in the paste user now |
21:42.50 |
AchiestDragon |
well ether it finishes before archer for linux
is in cvs or it gets stoped while i cvs up |
21:42.58 |
brlcad |
Linux_User: no errors? |
21:43.21 |
brlcad |
AchiestDragon: yeah, archer for linux will be
available before that finishes :) |
21:44.19 |
Linux_User |
nao mas o atrquivo configure e autogen nao
constavam aonde deviam estar nem no zip file |
21:44.27 |
*** join/#brlcad Obscene_CNN
(n=DiscoBan@66.15.214.167) |
21:44.28 |
Linux_User |
i am redonwloading it |
21:45.30 |
brlcad |
Linux_User: there is no configure/autogen.sh..
that's a binary distribution that is just ready to use |
21:45.41 |
AchiestDragon |
was reading some grid computer forums , the
grid software used any spare cpu capacaty (same way as brlcad does)
, but there was concern that some systems (especialy over clocked
ones) tended to overheat and run the risk of burning out the
cpu |
21:45.59 |
Linux_User |
how i execute the progam |
21:45.59 |
Linux_User |
? |
21:46.08 |
brlcad |
Linux_User: try /usr/brlcad/bin/rt
again |
21:46.58 |
Linux_User |
no such a valid file or directori |
21:47.02 |
Linux_User |
i donwloaded this now
brlcad-7.6.0_linux_ia32.tar.bz2 |
21:47.26 |
Linux_User |
im extracting |
21:47.34 |
AchiestDragon |
so it was sugested that thay include a max
continuous percentage usage , so the cpu could run continuously at
70% |
21:49.13 |
AchiestDragon |
only realy affects some sytems where the
cooling on alot of desktops and laptops is only rated for a
constant 70 to 75% cpu ,laptops are worse , alot worse |
21:50.06 |
Linux_User |
man its very low the extract |
21:51.04 |
brlcad |
ls -la /usr/brlcad what does it
show? |
21:51.31 |
brlcad |
AchiestDragon: one might say those are
fundamentally flawed systems ;) |
21:51.45 |
AchiestDragon |
yes aggrees |
21:52.30 |
AchiestDragon |
but lots of people have them , and most dont
know about it |
21:52.30 |
Linux_User |
bin include man lib share |
21:52.46 |
brlcad |
I don't see a reason to not accept a cpu
throttling patch to the tracers, but I don't think I'll be writing
it until I have a massive cluster that requires it at my disposal
;) |
21:52.59 |
brlcad |
Linux_User: ls -la
/usr/brlcad/bin/rt* |
21:54.32 |
AchiestDragon |
may be worth a note about the 100% usage in
the documentation and that the system cooling should be up to
it |
21:55.07 |
Linux_User |
no such a valide file or directori |
21:55.21 |
Linux_User |
i m redonwloading this file
brlcad-7.6.0_linux_ia32.tar.g |
21:55.50 |
Linux_User |
myu conection its hight speed |
21:56.06 |
Linux_User |
but i cant fint this rt |
21:56.11 |
Linux_User |
in bin |
21:56.35 |
AchiestDragon |
or you may get the following bug reports from
some users :- works fine but when doing a long trace the system
crashes after XX hrs |
21:56.45 |
Linux_User |
ops |
21:56.46 |
Linux_User |
i find |
21:57.30 |
brlcad |
Linux_User: ls -la /usr/brlcad/bin .. just
what is in there? |
21:57.51 |
Linux_User |
very much executable files |
21:58.02 |
Linux_User |
i find rt in grafic mode but i can run
it |
21:58.14 |
brlcad |
Linux_User: you mean mged works? |
21:58.36 |
Linux_User |
i dont know aht is mged? |
21:58.39 |
brlcad |
ls -la /usr/brlcad/bin/m* |
21:58.52 |
brlcad |
mged is the primary modeler
application |
22:00.26 |
Linux_User |
i cant find mged |
22:00.43 |
Linux_User |
no its here butt dont start |
22:00.49 |
Linux_User |
how i star the program? |
22:02.19 |
Linux_User |
i find mged and rt but they dont start when i
clic in they how i start the program? |
22:02.39 |
brlcad |
Linux_User: you start them on the command
line |
22:02.46 |
brlcad |
export PATH=/usr/brlcad/bin:$PATH |
22:02.47 |
brlcad |
mged |
22:03.49 |
Linux_User |
comand not found |
22:04.09 |
Linux_User |
i tip export like you mean and tipo mged and
the console said comand not found |
22:05.01 |
brlcad |
what shell do you use? |
22:05.08 |
brlcad |
bash, tcsh, zsh? |
22:05.11 |
Linux_User |
kurumin |
22:05.25 |
Linux_User |
kde |
22:06.04 |
brlcad |
that's the distribution.. and the gui.. what's
the command line? |
22:06.18 |
brlcad |
type: echo $SHELL |
22:07.04 |
Linux_User |
is /bin/bash |
22:07.34 |
brlcad |
then something isn't adding up with what
you're telling me |
22:08.00 |
brlcad |
if there are lots of executables in
/usr/brlcad/bin, there should be an rt and mged minimally |
22:08.27 |
Linux_User |
i type shenm and aperare it:
/bin/bash |
22:08.29 |
brlcad |
if you can find them through kde yet cannot on
the command line, it sounds like you might not be using the command
line correctly.. ? |
22:09.13 |
Linux_User |
i use the grafic mode to execute ant he dont
work too |
22:09.35 |
brlcad |
that won't work |
22:09.50 |
brlcad |
but the fact that you find them in graphic
mode yet cannot on the command line is wrong |
22:09.58 |
Linux_User |
there are very much executables in bin i tiped
export PATH=/usr/brlcad/bin:$PATH 10 times and
PATH=/usr/brlcad/bin:$PATH 5 time and wont work |
22:10.13 |
brlcad |
echo $PATH |
22:10.16 |
Linux_User |
yes sorry for english you speak
portuguese? |
22:10.22 |
brlcad |
I wish I did :) |
22:10.40 |
brlcad |
I can understand it usually, but cannot
write/speak |
22:11.23 |
brlcad |
echo $PATH |
22:11.25 |
Linux_User |
ok look eu escrevi echo $PATH e apareceu
muitas coisas |
22:11.38 |
brlcad |
paste them here |
22:11.42 |
Linux_User |
usr/brlcad/bin:usr/brlcad/bin:/usr/brlcad/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/games |
22:11.46 |
Linux_User |
is this |
22:12.01 |
brlcad |
okay, that's good |
22:12.31 |
brlcad |
the first two are wrong.. missing the "/" in
front of usr, but the third is right so you should be fine..
:) |
22:12.48 |
brlcad |
that's all of it? |
22:12.52 |
MikeC1 |
brlcad: I jsut finished a make and I do not
see a src/adrt/isst/observer/isst_observer |
22:13.25 |
brlcad |
MikeC1: did you get any error after
make? |
22:13.25 |
Linux_User |
usr/brlcad/bin:usr/brlcad/bin:/usr/brlcad/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/games |
22:13.31 |
Linux_User |
yes it is all of it |
22:13.38 |
brlcad |
Linux_User: okay, good |
22:13.47 |
Linux_User |
therea re not hte / in the frist usr |
22:13.47 |
brlcad |
Linux_User: type: which brlman |
22:13.52 |
MikeC1 |
brlcad: make continue all the way through and
did not stop if there was an error |
22:14.07 |
brlcad |
MikeC1: what version are you working
with? |
22:14.18 |
MikeC1 |
BRL-CAD Release 7.6.1, Build
20051007 |
22:14.20 |
Linux_User |
i tiped now? |
22:14.21 |
MikeC1 |
downloaded from CVS |
22:14.42 |
brlcad |
Linux_User: yes, type "which brlman" .. what
does it say? |
22:14.50 |
brlcad |
MikeC1: ah, okay, should be good |
22:14.58 |
brlcad |
MikeC1: so now cd src/adrt and make |
22:15.15 |
brlcad |
copy-paste the output to pastebin |
22:15.19 |
Linux_User |
nothing its like pat olni jump one
line |
22:15.28 |
brlcad |
Linux_User: okay.. hrmm |
22:15.37 |
MikeC1 |
brlcad: it is compiling now |
22:18.45 |
Linux_User |
man thanks for help if you find the solution
for me send for acheicaleb@gmail.com i must go now tanks |
22:19.06 |
brlcad |
Linux_User: okay, sorry I'm not sure what's
going on in your situation |
22:19.11 |
brlcad |
like it's untarring wrong |
22:21.25 |
Linux_User |
n this case send me the link where i find a
diferent version |
22:22.12 |
CIA-5 |
BRL-CAD: 03brlcad * 10brlcad/configure.ac: oh
yeah, twingy disabled ADRT permanently, though I forget why.
re-enable it. |
22:22.19 |
brlcad |
MikeC1: I forget exactly why, but adrt was
disabled even though it says it wasn't |
22:22.27 |
MikeC1 |
brlcad: oh ok |
22:22.37 |
brlcad |
cd'ing to the directory is a simple workaround
though (or editing configure.ac |
22:22.42 |
MikeC1 |
brlcad: I'm having a python issue, im going to
fix that |
22:22.55 |
MikeC1 |
brlcad: yea thanks at least i can get it to
compile to some level now |
22:23.39 |
brlcad |
MikeC1: k, you might have to edit the
Makefile.am's to get the build to complete correctly, or pass
CFLAGS/LDFLAGS etc (make CFLAGS="...") |
22:23.47 |
pra5ad |
``Erik, whats the easiest way in sh script to
traverse a dir tree |
22:23.52 |
MikeC1 |
brlcad: understood |
22:23.55 |
brlcad |
pra5ad: find |
22:24.20 |
pra5ad |
the captured output is in array
form? |
22:25.04 |
brlcad |
pra5ad: sudo find /tmp -type f -exec rm -rf {}
\; |
22:25.28 |
brlcad |
pra5ad: what are you trying to do? |
22:25.47 |
brlcad |
find is the tool regardless .. it can output
file/dir lists or run commands on files/dirs recursively |
22:25.55 |
pra5ad |
run anything with _test in the directory tree
+ wait for user input between each exec |
22:28.28 |
brlcad |
wait for user input? |
22:28.35 |
brlcad |
what sort of waiting? |
22:29.15 |
pra5ad |
<press c to quit; any key to
continue> |
22:29.20 |
pra5ad |
something like that |
22:29.52 |
brlcad |
ahh, you'll probably want to script the sucker
then |
22:30.06 |
pra5ad |
yea |
22:30.12 |
brlcad |
echo "read blah" > wait |
22:30.13 |
pra5ad |
trying to figure out the dir
traversal |
22:30.20 |
brlcad |
otherwise something like: find dir_tree -name
\*_test -exec echo "ready to run {}" \; -exec sh wait \; -exec {}
\; |
22:31.04 |
brlcad |
files="`find dir_tree -name
\*_test`" |
22:31.16 |
brlcad |
for file in $files ; do |
22:31.27 |
brlcad |
echo "<press c to quit; any key to
continue>" |
22:31.34 |
brlcad |
read quit |
22:32.08 |
brlcad |
[ "x$quit" = "xc" ] && exit
0 |
22:32.11 |
brlcad |
$file |
22:32.12 |
brlcad |
done |
23:21.38 |
*** join/#brlcad Obscene_CNN
(n=DiscoBan@66.15.214.167) |