Hello,

I have noticed a few problems that are making it difficult for me to use
brlcad.

1) There seems to be a difference in operation between the tools provided
by brlcad-7.20.4-0_i386.deb and brlcad-7.20.4-0_amd64.deb.

  Example:
          I made a file "out.mged" with the following lines in it:

          in c1.s rcc 0.0 0.0 0.0 0.0 2.5 0.0 0.1
          in c2.s rcc 0.0 2.5 0.0 1.2 3.0 0.0 0.1
          r r1.r u c1.s u c2.s

          and then I ran:

          mged -c dbase < out.mged

          followed by:

          g-stl -o out.stl dbase r1.r

           In 64 bit mode the result was an appropriate stl file while in
i386 the final command wrote:

            {c1.s} u {c2.s}
            cut_unimonotone(): infinite loop 956e7c0

            cut_unimonotone(): infinite loop

            FAILED in triangulator: /r1.r
            0 triangles written

           to stdout and it filled the out.stl file with just one line:
           solid r1.r

       2) Then I thought the problem might be with a bad i386 build so I
attempted to build from source. I tried with the source distribution
.tar.bz2 file as well as with the code from svn. In both cases I followed
the instructions in the file: INSTALL

          gunzip
brlcad-X.Y.Z.tar.gz
          tar -xvf
brlcad-X.Y.Z.tar
          mkdir
brlcad-build
          cd
brlcad-build
          cmake ../brlcad-X.Y.Z -DBRLCAD_BUNDLED_LIBS=ON
-DCMAKE_BUILD_TYPE=Release
          make

          In each case the file /src/librt/primatives/nmg/nmg_tri.c gave
warnings that were treated as errors and the build stopped.

          I tried fixing these warnings (the first few were simple and only
involved some variables being declared and initialized but never used) but
there were some problems with unused function parameters. I did not feel
like changing a function interface just to compile code.

          I suggest that the brlcad source be put in a state that it can be
compiled right out of the box by a somewhat competent programmer. I am will
to help with this but I am not sure where to start. What do you usually do
to compile this code???

          By the way, I am using:
          3.0.0-17-generic-pae #30-Ubuntu SMP Thu Mar 8 17:53:35 UTC 2012
i686 athlon i386 GNU/Linux
          and
          gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1

I hope this helps,
Karl Edler
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to