I've downloaded source files from using svn
https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk
then run
./autogen.sh
./configure
I got error related libpng. I installed libpng12-dev in my ubuntu.
again run ./configure --enable-png-build
It was successfully configured.
I tried running make command and getting following error :
make[2]: Entering directory `/home/sony/work/brlcad/src/librt'
/bin/bash ../../libtool --silent --tag=CC --silent --mode=link gcc
-pedantic -W -Wall -Wundef -Wfloat-equal -Wshadow -Winline -Wno-long-long
-Werror -pipe -fno-strict-aliasing -fno-common -fexceptions -ggdb3
-D_FORTIFY_SOURCE=2 -pedantic -W -Wall -Wundef -Wfloat-equal -Wshadow
-Winline -Wno-long-long -L/usr/local/lib -pipe -fno-strict-aliasing
-fno-common -fexceptions -ggdb3 -D_FORTIFY_SOURCE=2 -pedantic -W -Wall
-Wundef -Wfloat-equal -Wshadow -Winline -Wno-long-long -o nurb_example
nurb_example.o librt.la ../../src/libbn/libbn.la
../../src/libbu/libbu.la-L../../src/other/tcl/unix -ltcl8.5 -ldl -lm
../../src/other/libpng/
libpng15.la -lm -lc -lpthread -L../../src/other/tcl/unix -ltcl8.5 -ldl
-lm -lm ../../src/libbu/libbu.la -L../../src/other/tcl/unix -ltcl8.5 -ldl
-lm ../../src/other/libpng/libpng15.la -lm -lc -lpthread -lc -lm
../../src/libsysv/libsysv.la ../../src/other/openNURBS/libopenNURBS.la
-lstdc++
/home/sony/work/brlcad/src/other/openNURBS/.libs/libopenNURBS.so: undefined
reference to `deflateInit_'
/home/sony/work/brlcad/src/other/openNURBS/.libs/libopenNURBS.so: undefined
reference to `deflate'
/home/sony/work/brlcad/src/other/openNURBS/.libs/libopenNURBS.so: undefined
reference to `deflateEnd'
/home/sony/work/brlcad/src/other/openNURBS/.libs/libopenNURBS.so: undefined
reference to `inflate'
/home/sony/work/brlcad/src/other/openNURBS/.libs/libopenNURBS.so: undefined
reference to `inflateInit_'
/home/sony/work/brlcad/src/other/openNURBS/.libs/libopenNURBS.so: undefined
reference to `inflateEnd'
collect2: ld returned 1 exit status
make[2]: *** [nurb_example] Error 1
make[2]: Leaving directory `/home/sony/work/brlcad/src/librt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sony/work/brlcad/src'
make: *** [all-recursive] Error 1
--
*Anoop Malav**
*
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel