I was experiencing some linker issues after re-building libMesh. I
have the following test program that gives me an error when linking,
if I remove the "kelly_error_estimator.h" include the program compiles
and links fine. I also get the exact error if I include the
"kelly_error_estimator.h" instead of the "fe.h".
I would appreciate any help that helps resolve this issue.
Thanks,
Andrew
--- PROGRAM ---------------------------------------------------------
#include "libmesh.h"
#include "fe.h"
//#include "kelly_error_estimator.h"
int main (int argc, char** argv){
LibMeshInit init (argc, argv);
}
--- LINKING ERROR ------------------------------------------------
CMakeFiles/test_libmesh.dir/source/test_libmesh.cpp.o:(.rodata._ZTVN7libMesh6FEBaseE[vtable
for libMesh::FEBase]+0x68): undefined reference to
`libMesh::FEBase::compute_map(std::vector<double,
std::allocator<double> > const&, libMesh::Elem const*)'
CMakeFiles/test_libmesh.dir/source/test_libmesh.cpp.o:(.rodata._ZTVN7libMesh6FEBaseE[vtable
for libMesh::FEBase]+0x70): undefined reference to
`libMesh::FEBase::compute_affine_map(std::vector<double,
std::allocator<double> > const&, libMesh::Elem const*)'
collect2: ld returned 1 exit status
make[3]: *** [../bin/test_libmesh] Error 1
make[2]: *** [CMakeFiles/test_libmesh.dir/all] Error 2
make[1]: *** [CMakeFiles/test_libmesh.dir/rule] Error 2
make: *** [test_libmesh] Error 2
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users