Hi! I was trying to run libmesh examples (specifically example 13) on Mac OS X (Snow Leopard) using Apple supplied compilers and I encountered the reported problems with dynamic_cast. In order to fix the dynamic _cast issued, one has to change libmesh_CXXSHAREDFLAGS in Make.common to: -ldylib1.o -dynamiclib -Wl,-undefined,dynamic_lookup,-flat_namespace,-no_compact_linkedit
(-ldylib1.o and -no_compact_linkedit are the new ones) That fixes the problem for optimized mode. However, if you compile and run in debug mode, you start to have weird memory corruption errors inside STL (like printing out some text to stdout). In order to "fix" that, I had to remove -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC from libmesh_CXXFLAGS on line 233 in Make.common. I'm not sure what would be the proper fix for this. My configuration: Mac OS X (Show Leopard) Xcode 3.2.3 MPI supplied by Apple Hope this helps, -- David Andrs ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
