[MOAB-dev] Building MOAB with a Cubit12 build of CGM

Stuart Slattery sslattery at wisc.edu
Wed Mar 9 10:15:30 CST 2011


Hi

I am trying to update my builds to depend on Cubit 12.2 instead of 10.2. 
The CGM build is successful, but the MOAB build fails here:

make[3]: Entering directory `/home/stuart/software/moab/opt/tools'
/bin/bash ../libtool  --tag=CXX   --mode=link g++  -Wall -pipe -pedantic 
-Wno-long-long -O2 -DNDEBUG -R/home/stuart/software/cgm/build/lib  
-R/home/stuart/software/cubit12/bin       
-L/home/stuart/software/hdf5-1.8.5/build/lib 
-L/home/stuart/software/cgm/build/lib  
-L/home/stuart/software/cubit12/bin 
-L/home/stuart/software/hdf5-1.8.5/build/lib   
-L/home/stuart/software/hdf5-1.8.5/build/lib -o mbconvert convert.o 
../src/libMOAB.la -lm
libtool: link: g++ -Wall -pipe -pedantic -Wno-long-long -O2 -DNDEBUG -o 
.libs/mbconvert convert.o  -L/home/stuart/software/hdf5-1.8.5/build/lib 
-L/home/stuart/software/cgm/build/lib 
-L/home/stuart/software/cubit12/bin ../src/.libs/libMOAB.so -lm 
-Wl,-rpath -Wl,/home/stuart/software/moab/opt/lib -Wl,-rpath 
-Wl,/home/stuart/software/cgm/build/lib -Wl,-rpath 
-Wl,/home/stuart/software/cubit12/bin
../src/.libs/libMOAB.so: undefined reference to 
`GeometryQueryTool::import_solid_model(char const*, char const*, char 
const*, bool, bool, bool, bool, bool, bool, DLIList<RefEntity*>*)'
collect2: ld returned 1 exit status
make[3]: *** [mbconvert] Error 1

My configuration is:

../configure --prefix=$SOFTWARE/moab/opt --enable-shared 
--disable-static --with-hdf5=$SOFTWARE/hdf5-1.8.5/build 
--with-cgm=$SOFTWARE/cgm/build --enable-optimize --disable-debug

Should I be doing something differently for the Cubit12.2 build to work 
properly?

Thanks

Stuart

-- 
Stuart Slattery
Graduate Research Assistant
Computational Nuclear Engineering Research Group
Department of Engineering Physics
University of Wisconsin - Madison

434 Engineering Research Building
1500 Engineering Drive
Madison, WI 53706

email : sslattery at wisc.edu
Phone : 608.263.1709
url   : http://cnerg.engr.wisc.edu



More information about the moab-dev mailing list