Finally, I installed BRLCAD from source.
There are two two types of installation and readme files: one for make and other for cmake. Either of two can be used for compilation. Earlier, I did’t know this thing and got confused to follow which file(s).
Since each documentation has full details, so earlier I found it difficult to grasp. I did’t know the significance of “make & cmake utility” and makefiles which made me to read about them too.
Also, by following the documentation and reading from web, I found the sequence of execution of commands as:
sh autogen.sh > ./configure > make > make benchmark > make test > sudo make install
autogen.sh produces configure file. configure create suitable makefiles which are further used by make.
There was minor problem of enabling libpng, which was fixed by me. But the actual problem was of warnings. Sean suggested my the way to pass through warnings. With configure script use option: –disable-strict
Earlier I run configure with option of –enable-optimized. Later, I dropped it also, and finally run configure script as:
./configure –enable-libpng-build –disable-strict
which ran successfully without any error. Later, all commands make, make benchmark, make test, make install run successfully.