Sunday, November 4, 2012

Fedora BRL-CAD Compile Notes


I have not had good luck with the Boolean operations in FreeCAD as I had hoped (seems to be a problem with the underlying OpenCascade libraries) so I am compiling BRL-CAD.



Get the libraries needed to build BRL-CAD; this seems to be everything necessary:

[ruted00d@diode ]$ yum install itk-devel tk-devel tcl-devel itcl-devel tclx-devel tcl-zlib-devel zlib-devel libpng-devel tntnet-devel libSM-devel libXmu-devel libXext-devel libXau-devel libXt-devel xorg-X11-xtrans-devel libXi-devel xorg-x11-server-devel ncurses* libxslt* sed byacc flex make cmake


With the development libraries installed, the latest revision of BRL-CAD source can be downloaded and configuration configuration accomplished with,


svn checkout https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk brlcad
cd brlcad
mkdir .build
cd .build
cmake .. -DBRLCAD_ENABLE_STRICT=OFF


After that it is a simple one-liner to make


make && make test


Run the geometry editor with


./bin/mged

Or install to your favorite location.



1 comment:

  1. Updating to the latest source to get the new alpha release of Archer, BRL-CAD's graphical geometry editor: BRL-CAD Release 7.24.0, Archer Alpha

    ReplyDelete