[cgma-dev] OCC based CGM with openmpi

Rajeev Jain jain at mcs.anl.gov
Tue Mar 20 18:13:25 CDT 2012


It get the following message when compiling:   
                          ^
libtool: compile:  /usr/local/bin/mpicxx -DHAVE_CONFIG_H -I. -I.. -I../geom/parallel -I../geom -DLITTLE_ENDIAN=BYTE_ORDER -DTEMPLATE_DEFS_INCLUDED -DHAVE_OCC -DHAVE_OCC_IGES -DHAVE_OCC_STEP -DHAVE_OCC_STL -DSRCDIR=. -I../util -I../geom -I../init -I../geom/parallel -DUSE_MPI -Wall -pipe -pedantic -g -MT CATag.lo -MD -MP -MF .deps/CATag.Tpo -c CATag.cpp -o CATag.o >/dev/null 2>&1
iGeom_CGMA.cc:6882:19: error: cannot initialize a variable of type 'TopologyEntity *' with an rvalue of type
      'const TopologyEntity *'
  TopologyEntity *topo_ent = dynamic_cast<const TopologyEntity*>(face);
                  ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
make[4]: *** [iGeom_CGMA.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/CATag.Tpo .deps/CATag.Plo
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Rajeev

This is on Mac OSX Lion 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/cgma-dev/attachments/20120320/ce49a62e/attachment.htm>


More information about the cgma-dev mailing list