Download and install BRL-CAD from source (for ubuntu)

First install these dependencies on your system,

$sudo aptitude install build-essential make cmake
$sudo aptitude install sed byacc flex xsltproc
$sudo aptitude install libncursesw5-dev libfontconfig-dev 
$sudo aptitude install xserver-xorg-dev
$sudo aptitude install libx11-dev libxi-dev libxt-dev libxau-dev libxext-dev libxmu-dev libxmu-headers

Fire the terminal and run these commands:

$sudo apt-get install subversion
 (if not installed)
$svn co https://svn.code.sourceforge.net/p/brlcad/code/brlcad/trunk brlcad
It will create a folder in home named "brlcad".  This is your source code.
$cd brlcad/
$mkdir .build
$cd .build
$cmake .. -DBRLCAD_BUNDLED_LIBS=ON
$time make          //note the time taken to compile
$make test
$sudo make install
$ls -la /usr/brlcad
$/usr/brlcad/*/bin/mged      //to execute the software

enjoy :)

When I was compiling its source code, it took this time:
time-brl-make

Note: Get updated for compilation steps from here: http://brlcad.org/wiki/Compiling
Advertisements

About Jasleen Kaur

Hi, I am Jasleen kaur, a Computer Science Student.
This entry was posted in BRL-CAD. Bookmark the permalink.

4 Responses to Download and install BRL-CAD from source (for ubuntu)

  1. bhattigurjot says:

    Installed! And its running.. but there were 8 errors after running ‘make test’ command. Don’t know why!

    • Jasleen Kaur says:

      It is installed with errors?
      Were you able to solve those errors?

      • bhattigurjot says:

        Yes it is installed with errors! 😛
        But its running smoothly right now.. no problem or any glitches that I’ve come across so far!
        Actually after that 8 error display I ran the next command and the installation finished so I couldn’t do anything to resolve them. 😀

  2. Pingback: Don’t Delay! | bhattigurjot

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s