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

After successfully install these dependencies  open 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 :)   
 It will take some time to execute.


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

About Talwinder

Believe in god and hardwork

Posted on June 7, 2013, in Ubuntu. Bookmark the permalink. Leave a comment.

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

%d bloggers like this: