[cgma-dev] CGM make check failure help
Rajeev Jain
jain at mcs.anl.gov
Mon Oct 6 19:42:28 CDT 2014
Set LD_LIBRARY_PATH to CUBIT's bin directory. If that doesn't work try using Cubit14.0 see this build http://gnep.mcs.anl.gov:8010/builders/cgm-cubit/builds/1674
On OSX use 32bit configure options, since CUBIT doesn't have a 64bit version for OSX.
Rajeev
________________________________
From: Vishal Patel <vpatel314 at gmail.com>
To: "cgma-dev at mcs.anl.gov" <cgma-dev at mcs.anl.gov>
Sent: Monday, October 6, 2014 7:22 PM
Subject: [cgma-dev] CGM make check failure help
Howdy,
I'm a graduate researcher at the INL working for the Center for Space Nuclear Research. I'm trying to install the reactor geometry generation dependencies which needs meshkit which needs cgm and I'm running into some trouble I was hoping you could help me with. I'm trying to build CGM with cubit on Linux 14.04 LTS and get errors when I make check my installation:
.so ../.libs/libcgm.so -lm -Wl,-rpath -Wl,/home/patevk/lib/serial/cgm/lib -Wl,-rpath -Wl,/home/patevk/opt/Cubit-14.1-Lin64/bin
./.libs/libiGeom.so: undefined reference to `GeometryQueryTool::translate(Body*, CubitVector const&, bool, bool)'
./.libs/libiGeom.so: undefined reference to `GeometryQueryTool::rotate(BasicTopologyEntity*, CubitVector const&, double, bool, bool)'
./.libs/libiGeom.so: undefined reference to `CubitMessage::print_error(char const*, ...)'
./.libs/libiGeom.so: undefined reference to `GeometryQueryTool::translate(BasicTopologyEntity*, CubitVector const&, bool, bool)'
./.libs/libiGeom.so: undefined reference to `GeometryQueryTool::reflect(DLIList<Body*>, CubitVector const&, CubitVector const&, bool)'
./.libs/libiGeom.so: undefined reference to `CubitString::operator==(char const*) const'
./.libs/libiGeom.so: undefined reference to `GeometryQueryTool::reflect(BasicTopologyEntity*, CubitVector const&, CubitVector const&, bool, bool)'
./.libs/libiGeom.so: undefined reference to `GeometryQueryTool::rotate(Body*, CubitVector const&, double, bool, bool)'
It seems my cubit path is being referenced fine and it also exists in my LD_LIBRARY_PATH.
I'm using the CGMA-14.1 pre package, and I've tried the nightly build as well as 13.1 with the same errors occurring. I am configuring with:
./configure --enable-shared --prefix=/home/patevk/lib/serial/cgm --with-cubit=/home/patevk/opt/Cubit-14.1-Lin64 --enable-debug
I've also tried installing CGM on my OSX machine but can't get Cubit libraries to link.
Any help would be wonderful.
Thanks,
Vishal Patel
Graduate Researcher
Nuclear Engineering
Texas A&M University
More information about the cgma-dev
mailing list