[brlcad-devel] Building BRL-CAD from Source Code
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: Anoop M. <ano...@gm...> - 2012-05-17 07:51:23
|
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** * |