<div class="gmail_quote">On Sat, Apr 7, 2012 at 9:29 AM, Jason Sachs <span dir="ltr"><<a href="mailto:jmsachs@gmail.com">jmsachs@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Undefined symbols for architecture x86_64:<br>
  "__ZdlPv", referenced from:<br>
      __ZN3BarD0Ev in opt1-kNcANv.o<br>
  "__ZTVN10__cxxabiv117__class_type_infoE", referenced from:<br>
      __ZTI3Foo in opt1-kNcANv.o<br>
  NOTE: a missing vtable usually means the first non-inline virtual<br>
member function has no definition.<br>
  "__ZTVN10__cxxabiv120__si_class_type_infoE", referenced from:<br>
      __ZTI3Bar in opt1-kNcANv.o<br>
  NOTE: a missing vtable usually means the first non-inline virtual<br>
member function has no definition.<br>
ld: symbol(s) not found for architecture x86_64<br>
clang: error: linker command failed with exit code 1 (use -v to see invocation)<br></blockquote></div><br><div>You need to link in the appropriate C++ libraries for your platform. Use clang++ to link.</div>