Hi
I'm trying to compile BRL-CAD following this guide:
http://brlcad.org/wiki/Compiling

When I run 'make' command it gives me the following error:

[ 13%] Building C object src/libbn/CMakeFiles/libbn.dir/obr.c.o
/home/scott/brlcad/src/libbn/obr.c: In function ‘bn_obr’:
/home/scott/brlcad/src/libbn/obr.c:581:28: error: variable ‘dmax2’ set
but not used [-Werror=unused-but-set-variable]
/home/scott/brlcad/src/libbn/obr.c:567:9: error: variable ‘dim’ set
but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make[2]: *** [src/libbn/CMakeFiles/libbn.dir/obr.c.o] Error 1
make[1]: *** [src/libbn/CMakeFiles/libbn.dir/all] Error 2
make: *** [all] Error 2

My System info is given below:
(Using 'lsb_release -a' command)

LSB Version: 
core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID: LinuxMint
Description: Linux Mint 15 Olivia
Release: 15
Codename: olivia


How would this be resolved?


-- 
Gurjot Singh
Blog: http://bhattigurjot.wordpress.com

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to