hey all, I'm having issues when compiling BRLCAD from a svn checkout.
Here's the relevant error message:
CMake Error: The following variables are used in this project, but they
are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the
CMake files:
X11_Xi_LIB (ADVANCED)
linked by target "libdm" in directory /home/svn/brlcad-svn/src/libdm
linked by target "libtclcad" in directory
/home/svn/brlcad-svn/src/libtclcad
linked by target "bwish" in directory /home/svn/brlcad-svn/src/bwish
so i verified the location of libXi.so:
find / -name libXi.so
/usr/lib/libXi.so
/usr/lib32/libXi.so
then ran cmake -i to set the location of X11_Xi_LIB to /usr/lib/libXi.so
and cmake runs fine with no errors. here's the output:
Prefix: /opt/brlcad-dev
Binaries: /opt/brlcad-dev/bin
Manual pages: /opt/brlcad-dev/share/brlcad/7.21.0/man
Data resource files: /opt/brlcad-dev/share/brlcad/7.21.0
CC = /usr/lib/ccache/bin/gcc
CXX = /usr/lib/ccache/bin/c++
CFLAGS = -pipe -fno-strict-aliasing -fno-common -fexceptions -m64 -g
-ggdb3
-pedantic -Wall -Wextra -Wundef -Wfloat-equal -Wshadow -Winline
-Wno-long-long -Werror -msse3 -std=gnu89
CXXFLAGS = -pipe -fno-strict-aliasing -fno-common -fexceptions
-ftemplate-depth-128 -m64 -g -ggdb3 -pedantic -Wall -Wextra
-Wundef
-Wfloat-equal -Wshadow -Winline -Wno-long-long
LDFLAGS = -m64 -g -ggdb3
Compile Tcl ...........................: OFF
Compile Tk ............................: OFF
Compile Itcl/Itk ......................: ON
Compile Iwidgets ......................: ON
Compile Tkhtml ........................: ON
Compile tkpng .........................: ON
Compile Tktable .......................: ON
Compile libpng ........................: OFF
Compile libregex ......................: OFF
Compile zlib ..........................: OFF
Compile termlib .......................: OFF
Compile Utah Raster Toolkit ...........: ON
Compile openNURBS .....................: ON
Compile NIST STEP Class Libraries .....: ON
X11 support (optional) ................: ON
OpenGL support (optional) .............: ON
librtserver JDK support (optional) ....: OFF
Enable run-time debugging (optional) ..: ON
Build 32/64-bit release ...............: 64BIT (Auto)
Build optimized release ...............: OFF
Build debuggable release...............: ON
Build profile release .................: OFF
Build SMP-capable release .............: ON
Build static libraries ................: OFF
Build dynamic libraries ...............: ON
Print verbose compilation warnings ....: ON
Print verbose compilation progress ....: OFF
Install example geometry models .......: ON
Generate extra docs ...................: ON (html/man)
then i run make, and i get this error:
Scanning dependencies of target asc2g
[ 29%] Building C object src/conv/CMakeFiles/asc2g.dir/asc/asc2g.c.o
Linking C executable ../../bin/asc2g
../../lib/libtclcad.so.19.0.1: undefined reference to `_X24_open_existing'
../../lib/libtclcad.so.19.0.1: undefined reference to `X24_interface'
collect2: ld returned 1 exit status
make[2]: *** [bin/asc2g] Error 1
make[1]: *** [src/conv/CMakeFiles/asc2g.dir/all] Error 2
make: *** [all] Error 2
an error similar to this seems to have been mentioned here:
http://blog.gmane.org/gmane.comp.cad.brlcad.user/month=20091001
but the solution is somewhat vague, and mentions an unclean build. My
build is from a fresh svn checkout.
I'd really like to get BRLCAD compiling from svn source so that I can
start testing patches, so any help regarding this is very much
appreciated. I'll be on #brlcad if you wish to talk with me there.
thanks,
chris
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel