BRL-CAD

[BEGIN HERE] Compile and Install BRL-CAD from source code

The goal of this task is to compile and install the latest BRL-CAD from a source code checkout.

You don't need any prior experience! What you will need, though, is the ability to follow instructions and figure things out, especially if you've only ever used Windows, but we'll help you.

Before you can compile, you need to install:

  1. Subversion. https://subversion.apache.org
  2. CMake. http://cmake.org
  3. A C/C++ compiler like Visual Studio, GCC, or Clang. https://visualstudio.microsoft.com/downloads/

See http://brlcad.org/wiki/Building_from_SVN Once you have Subversion, see http://brlcad.org/wiki/Building_from_SVN and obtain a checkout from our repository. You'll use the URL at https://sourceforge.net/p/brlcad/code/HEAD/tree/brlcad/trunk/

Once you have sources, read the README and INSTALL files for additional steps. Make sure README says Release 7.30.4 at the top.

Next is compilation. Default CMake settings are recommended for later tasks, but these can help if you run into an error:

  • CMAKE_BUILD_TYPE=Release
  • BRLCAD_BUNDLED_LIBS=ON
  • BRLCAD_ENABLE_STRICT=OFF

Once installed, run "mged" or "archer", open a sample geometry file, and type "rt" on the command prompt (it should just display a usage statement).

SUBMIT:

  1. a PNG screenshot showing the rt output and your name typed on the command line.
  2. detailed notes, logs, and screenshots of your compilation progress if you are not successful. We'll likely iterate with you until the build is working.

Task tags

  • introduction
  • new
  • training
  • compile
  • install

Students who completed this task

Eryk MikoĊ‚ajek, H1manshu, BurningPhoenix, cristinon, j_gonera

Task type

  • code Code
  • chrome_reader_mode Documentation / Training

Level

Beginner
close

2019