This is my clang version, I'm using xcode4.6.2, the most recent version.

Apple clang version 3.0 (tags/Apple/clang-211.12) (based on LLVM 3.0svn)
Target: x86_64-apple-darwin11.4.2
Thread model: posix

On May 29, 2013, at 3:49 PM, Roy Stogner wrote:

> #include "libmesh/tensor_value.h"

It worked, thanks!
The problem is that I get the same linking problem that I had with GCC

  CXX      src/apps/getpot_parse_opt-getpot_parse.o
  CXXLD    getpot_parse-opt
Undefined symbols for architecture x86_64:
  "Hilbert::coordsToIndex(CFixBitVec const*, int, int, CBigBitVec&)", 
referenced from:
      Hilbert::HilbertIndices (anonymous 
namespace)::get_hilbert_index<libMesh::Node>(libMesh::Node const*, 
libMesh::MeshTools::BoundingBox const&) in 
libmesh_opt.a(libmesh_opt_la-mesh_communication_global_indices.o)
      Hilbert::HilbertIndices (anonymous 
namespace)::get_hilbert_index<libMesh::Elem>(libMesh::Elem const*, 
libMesh::MeshTools::BoundingBox const&) in 
libmesh_opt.a(libmesh_opt_la-mesh_communication_global_indices.o)
      (anonymous namespace)::get_hilbert_index(libMesh::Point const&, 
libMesh::MeshTools::BoundingBox const&) in 
libmesh_opt.a(libmesh_opt_la-mesh_communication_global_indices.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [getpot_parse-opt] Error 1
make: *** [all-recursive] Error 1

Your (and Cody's) help is much appreciated.
Lorenzo
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to